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

# 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.2.tar.gz (16.7 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.2-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for licenses_deny-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5f9212abc09dcfde4b055a986a1623c0fccc5f4512a8753377afeb4162b1faf4
MD5 5d31d2da5f800db8dcba9fafd166efec
BLAKE2b-256 1774278c9d7da12c5a4599f49b9f8e4af3ad2e37131edcc89a4791111c616474

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for licenses_deny-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8f6b5febead298692a0212144287006b68cfb32156e1a9b34c9c0666c69aa0bb
MD5 bc51827cd6e3d90aee14d577611d3c5e
BLAKE2b-256 6306e279a94339364169732afd72cb56b49d8d8fc5f0598e4c784e90198145a2

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