Skip to main content

A Python package that audits package licenses and provenance against user-defined allow/deny policies.

Project description

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

pip install licenses-deny

Usage

# 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

# Install in editable mode
pip install -e .

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

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

licenses_deny-0.1.4.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

licenses_deny-0.1.4-py3-none-any.whl (19.8 kB view details)

Uploaded Python 3

File details

Details for the file licenses_deny-0.1.4.tar.gz.

File metadata

  • Download URL: licenses_deny-0.1.4.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.3

File hashes

Hashes for licenses_deny-0.1.4.tar.gz
Algorithm Hash digest
SHA256 1cdd21f4478c5fdff9b9b759227b66fff5f3b85af9454bbf6e67c891bbbe6b53
MD5 8075b5f14fddc2eef26d69354df33bdb
BLAKE2b-256 d6d88fe413095bea0c60dfc0111156db0ebcd8f57d0f7dbaa13b115eacd0329c

See more details on using hashes here.

File details

Details for the file licenses_deny-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for licenses_deny-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a3865165d01ef5be5f66aaa772b39c125073cf0310b9b8615c9b1e3a7875540e
MD5 bd911ab0de51611b44ca4dc1d9d6726f
BLAKE2b-256 5a0b263a81f2d329a1eb647c0faf4135a29a4cb3dd8a3d38a4f1154357c4f37c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page