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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
infer-license-0.0.2.tar.gz
(54.1 kB
view hashes)
Built Distribution
Close
Hashes for infer_license-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3567f460e61c68cfd3c2bfddd278056a9214f770dedda269277015a01629c409 |
|
MD5 | 2c84c463c22ab222ba4fc3ec31918f55 |
|
BLAKE2b-256 | 2b2c10ac533dc3458d8b803beb4b04025855b5c8c03ccf52633e61ede2ef742e |