Skip to main content

Python Library implementing a C version of the SCANOSS Winnowing algorithm

Project description

SCANOSS Winnowing Python Package

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

Installation

To install (from pypi.org), please run:

pip3 install scanoss_winnowing

To upgrade an existing installation please run:

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.

In general the easiest way to consume it is to import the required module as follows:

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.7 or higher.

Source code

The source for this package can be found here.

Changelog

Details of each release can be found here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scanoss_winnowing-0.5.0.tar.gz (13.9 kB view hashes)

Uploaded Source

Built Distributions

scanoss_winnowing-0.5.0-cp312-cp312-win_arm64.whl (25.2 kB view hashes)

Uploaded CPython 3.12 Windows ARM64

scanoss_winnowing-0.5.0-cp312-cp312-win_amd64.whl (27.4 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

scanoss_winnowing-0.5.0-cp312-cp312-musllinux_1_1_x86_64.whl (49.4 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

scanoss_winnowing-0.5.0-cp312-cp312-musllinux_1_1_aarch64.whl (49.9 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ ARM64

scanoss_winnowing-0.5.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (41.0 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

scanoss_winnowing-0.5.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.8 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

scanoss_winnowing-0.5.0-cp312-cp312-macosx_11_0_arm64.whl (22.6 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

scanoss_winnowing-0.5.0-cp312-cp312-macosx_10_9_x86_64.whl (22.5 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

scanoss_winnowing-0.5.0-cp311-cp311-win_arm64.whl (25.2 kB view hashes)

Uploaded CPython 3.11 Windows ARM64

scanoss_winnowing-0.5.0-cp311-cp311-win_amd64.whl (27.4 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

scanoss_winnowing-0.5.0-cp311-cp311-musllinux_1_1_x86_64.whl (49.9 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

scanoss_winnowing-0.5.0-cp311-cp311-musllinux_1_1_aarch64.whl (50.2 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ ARM64

scanoss_winnowing-0.5.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (40.4 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

scanoss_winnowing-0.5.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

scanoss_winnowing-0.5.0-cp311-cp311-macosx_11_0_arm64.whl (22.6 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

scanoss_winnowing-0.5.0-cp311-cp311-macosx_10_9_x86_64.whl (22.5 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

scanoss_winnowing-0.5.0-cp310-cp310-win_arm64.whl (25.2 kB view hashes)

Uploaded CPython 3.10 Windows ARM64

scanoss_winnowing-0.5.0-cp310-cp310-win_amd64.whl (27.4 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

scanoss_winnowing-0.5.0-cp310-cp310-musllinux_1_1_x86_64.whl (48.2 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

scanoss_winnowing-0.5.0-cp310-cp310-musllinux_1_1_aarch64.whl (48.6 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ ARM64

scanoss_winnowing-0.5.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (40.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

scanoss_winnowing-0.5.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.2 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

scanoss_winnowing-0.5.0-cp310-cp310-macosx_11_0_arm64.whl (22.6 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

scanoss_winnowing-0.5.0-cp310-cp310-macosx_10_9_x86_64.whl (22.5 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

scanoss_winnowing-0.5.0-cp39-cp39-win_arm64.whl (25.2 kB view hashes)

Uploaded CPython 3.9 Windows ARM64

scanoss_winnowing-0.5.0-cp39-cp39-win_amd64.whl (27.4 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

scanoss_winnowing-0.5.0-cp39-cp39-musllinux_1_1_x86_64.whl (47.8 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

scanoss_winnowing-0.5.0-cp39-cp39-musllinux_1_1_aarch64.whl (48.2 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ ARM64

scanoss_winnowing-0.5.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (40.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

scanoss_winnowing-0.5.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.8 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

scanoss_winnowing-0.5.0-cp39-cp39-macosx_11_0_arm64.whl (22.6 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

scanoss_winnowing-0.5.0-cp39-cp39-macosx_10_9_x86_64.whl (22.5 kB view hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

scanoss_winnowing-0.5.0-cp38-cp38-win_amd64.whl (27.4 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

scanoss_winnowing-0.5.0-cp38-cp38-musllinux_1_1_x86_64.whl (48.6 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

scanoss_winnowing-0.5.0-cp38-cp38-musllinux_1_1_aarch64.whl (49.0 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ ARM64

scanoss_winnowing-0.5.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (41.5 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

scanoss_winnowing-0.5.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (40.3 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

scanoss_winnowing-0.5.0-cp38-cp38-macosx_11_0_arm64.whl (22.6 kB view hashes)

Uploaded CPython 3.8 macOS 11.0+ ARM64

scanoss_winnowing-0.5.0-cp38-cp38-macosx_10_9_x86_64.whl (22.5 kB view hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

scanoss_winnowing-0.5.0-cp37-cp37m-win_amd64.whl (27.4 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

scanoss_winnowing-0.5.0-cp37-cp37m-musllinux_1_1_x86_64.whl (50.0 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

scanoss_winnowing-0.5.0-cp37-cp37m-musllinux_1_1_aarch64.whl (50.5 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ ARM64

scanoss_winnowing-0.5.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (41.0 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ ARM64

scanoss_winnowing-0.5.0-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (39.6 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.5+ x86-64

scanoss_winnowing-0.5.0-cp37-cp37m-macosx_10_9_x86_64.whl (22.3 kB view hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page