Metadata-Version: 2.4
Name: ossentinel-licenses
Version: 1.0.0
Summary: License conflict detection and compliance reporting for Python projects
Project-URL: Homepage, https://github.com/schmidtpeterdaniel/vigil
Project-URL: Repository, https://github.com/schmidtpeterdaniel/vigil
Author-email: Schmidt Peter Daniel <peterschmidt5575@gmail.com>
License: Apache-2.0
Keywords: compliance,license,open-source,spdx,supply-chain
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9
Requires-Dist: jinja2>=3.1.0
Requires-Dist: ossentinel-core>=1.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: rich>=13.0.0
Provides-Extra: dev
Requires-Dist: mypy>=1.10.0; extra == 'dev'
Requires-Dist: pytest-cov>=5.0.0; extra == 'dev'
Requires-Dist: pytest>=8.0.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Description-Content-Type: text/markdown

# vigil-licenses

License conflict detection and compliance reporting for Python projects.

Part of the [Vigil](https://github.com/schmidtpeterdaniel/vigil) compliance toolkit.

## Install

```bash
pip install vigil-licenses
```

## Quick Start

```python
from vigil_licenses.scanner import LicenseScanner, LicensePolicy

policy = LicensePolicy(
    allow=["MIT", "Apache-2.0", "BSD-3-Clause"],
    block=["GPL-3.0", "AGPL-3.0"],
)
scanner = LicenseScanner(policy=policy)
report = scanner.scan()
print(f"Conflicts: {len(report.conflicts)}")
```

## License

Apache-2.0
