Metadata-Version: 2.4
Name: scanoss-winnowing
Version: 0.8.0
Summary: Python Library implementing a C version of the SCANOSS Winnowing algorithm
Home-page: https://scanoss.com
Author: SCANOSS
Author-email: SCANOSS <info@scanoss.com>
License: MIT
Project-URL: Source, https://github.com/scanoss/scanoss-winnowing.py
Project-URL: Tracker, https://github.com/scanoss/scanoss-winnowing.py/issues
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: C
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: crc32c>=2.2
Requires-Dist: binaryornot
Dynamic: license-file

# SCANOSS Winnowing Python Package
The SCANOSS Winnowing python package provides fast implementation of the winnowing algorithm.

## Installation
To install (from [pypi.org](https://pypi.org/project/scanoss_winnowing)), please run:
```bash
pip3 install scanoss_winnowing
```
To upgrade an existing installation please run:
```bash
pip3 install --upgrade scanoss_winnowing
```

### Package Usage
The **scanoss_winnowing** package can be used in Python projects/scripts. A good example of how to consume it can be found [here](https://github.com/scanoss/scanoss.py/blob/main/src/scanoss/scanner.py).

In general the easiest way to consume it is to import the required module as follows:
```python
from scanoss_winnowing.winnowing import Winnowing

def main():
    winnowing = Winnowing()
    filename = 'test-file.c'
    winnowing.wfp_for_file(filename,filename)
    
if __name__ == "__main__":
    main()
```

## Requirements
Python 3.9 or higher.

## Source code
The source for this package can be found [here](https://github.com/scanoss/scanoss-winnowing.py).

## Changelog
Details of each release can be found [here](https://github.com/scanoss/scanoss-winnowing.py/blob/main/CHANGELOG.md).
