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.6.tar.gz (17.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.6-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: licenses_deny-0.1.6.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for licenses_deny-0.1.6.tar.gz
Algorithm Hash digest
SHA256 74956c9e9c2e7df5fd855de744ee4ed3aa95b472bd6d15f4c4fa1ccf27bb9635
MD5 6612821ed448840f44ad682544d372ad
BLAKE2b-256 f6c7e444bc0e5ea32637295b91b8fd5d666ace5143427dd531aeb2e5ae6b8495

See more details on using hashes here.

File details

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

File metadata

  • Download URL: licenses_deny-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.5 {"installer":{"name":"uv","version":"0.10.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for licenses_deny-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 39e33588c0230d326c15354d9f115b988f268759a5d281d9bdd6cf66d1785f8f
MD5 28712db978ae3e782ebd5b62f18f879c
BLAKE2b-256 8e5b0af2d9bc612b1cbcf3c74637056d63951d4e06dfd676bc8c179adfe7c692

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