Skip to main content

A 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:

Creating a new release is as simple as:

  • Update version in the pyproject.toml file.
  • poetry run task release vx.x.x.

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

pylic-0.0.16.tar.gz (3.5 kB view hashes)

Uploaded Source

Built Distribution

pylic-0.0.16-py3-none-any.whl (4.2 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