Metadata-Version: 2.1
Name: pylic
Version: 0.0.12
Summary: Python license checker
Home-page: https://github.com/sandrochuber/pylic
Author: Sandro Huber
Author-email: sandrochuber@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: toml

# 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

```pyproject.toml
[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`.


