A Python license checker
Project description
pylic - 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).
- All packages without license are considered unsafe and have to be listed as such.
Example Configuration
[tool.pylic]
safe_licenses = [
"Apache Software License",
"Apache License 2.0",
"MIT License",
"Python Software Foundation License",
"Mozilla Public License 2.0 (MPL 2.0)",
]
unsafe_packages = [
"unlicensedPackage"
]
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-1.1.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
pylic-1.1.0-py3-none-any.whl
(4.7 kB
view hashes)