Skip to main content

A script to guess licenses based on text

Project description

Infer License

Heavily inspired by https://github.com/sol/infer-license/ this will provide an API to guess what license a given file represents.

>>> from infer_license import guess_file
>>> print(guess_file("LICENSE"))
License(name='MIT License', shortname='MIT')
>>> guess_file("setup.py")
None

Project details


Download files

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

Files for infer-license, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size infer_license-0.0.2-py3-none-any.whl (73.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size infer-license-0.0.2.tar.gz (54.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page