Skip to main content

Google Licenseclassifier pipeline for ScanCode.io

Project description

PyPI Version Code Style License

This package contributes a new pipeline based on Google License Classifier to ScanCode.io. The pipeline is capable of identifying license expressions as well as copyright statements within the code, without compromising with speed and accuracy.

Based on GoLicense Classifier.

Installation

To use Google License Classifier pipeline in your local ScanCode.io instance, install the python package from PyPI using

pip install scancodeio_glc_plugin

The newly installed pipeline will now be available for use in ScanCode.io.

Development

To get started, create a fork of this project and clone it to your local machine.

Set up your development environment using

./configure --dev

Once the setup is complete, fetch the latest scancode.io instance from GitHub. This step is required to ensure that all the dependencies of the pipeline are met.

venv/bin/pip install scancodeio@git+https://github.com/nexb/scancode.io.git

Once the environment is set up, run the test suite to ensure that everything is in working order.

venv/bin/python runtests.py

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

scancodeio_glc_plugin-0.0.2.tar.gz (5.8 MB view hashes)

Uploaded Source

Built Distribution

scancodeio_glc_plugin-0.0.2-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

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