Python license checker
Project description
pylic - A Python license checker
Reads the pyproject.toml file and checks all installed licenses recursively.
Principles:
- Every license has to be allowed explicitly (case-insensitive comparison).
- Packages with
UNKNOWN
licenses have to be explicitly whitelisted. Packages with a known license cannot be whitelisted.
Example Configuration
[tool.pylic]
allowed_licenses = [
'MIT',
'BSD'
]
whitelisted_packages = [
"packageWithUnknownLicense"
]
Development
Required tools:
- Poetry (https://python-poetry.org/)
- GitHub cli (https://github.com/cli/cli)
Creating a new release is as simple as:
- Update
version
in the pyproject.toml file. poetry run task release vx.x.x
.
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
pylic-0.0.10.tar.gz
(3.2 kB
view hashes)
Built Distribution
pylic-0.0.10-py3-none-any.whl
(3.8 kB
view hashes)