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.5.tar.gz (16.4 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.5-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for licenses_deny-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b4f1c54803baf2dd33c6ed92fc289cd99daf34e96c14257fe21a632b72dc047a
MD5 c8f00bd3761116a044f2f5a4c673f32d
BLAKE2b-256 cb4c0852b41698425616015254c89cf0bcca6234f3b899f7817d68a4aa32e36f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for licenses_deny-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1f33268f6d2c41f9fa3884601ccedbe6105b2b12c32eb3b7613082f22190b6c5
MD5 ee3d4f3d6eb47397d78dd1c4db297228
BLAKE2b-256 72844e509d07f25a22bf3d33b02851a8a3fe5af5d802bd37ae71446d5ac16047

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