Metadata-Version: 2.4
Name: licenses-deny
Version: 0.1.6
Summary: A Python package that audits package licenses and provenance against user-defined allow/deny policies.
License-Expression: Apache-2.0
Project-URL: Issue Tracker, https://github.com/John2416/licenses-deny/issues
Project-URL: Source, https://github.com/John2416/licenses-deny
Keywords: license,compliance,dependencies
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: OS Independent
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: license-expression>=30.4.4
Requires-Dist: packaging>=23.2
Dynamic: license-file

# licenses-deny

Simple CLI to inspect Python environment dependencies for license compliance, banned packages, and allowed sources.

## Requirements

- Python 3.11+
- Virtual environment activated before running checks (required by the tool)

## Installation

```bash
pip install licenses-deny
```

## Usage

```bash
# Initialize template configuration near project root
licenses-deny init

# List installed packages with detected license/source
licenses-deny list

# List and include raw license strings when they differ from the normalized value
licenses-deny list --show-raw-license

# Run checks (licenses + bans + sources)
licenses-deny check

# Run only license checks in strict mode
licenses-deny check licenses --strict
```

## Development

```bash
# Install in editable mode
pip install -e .

# Run CLI directly from source
python -m licenses_deny --help
```
