Registry / devops / licensecheck

licensecheck

JSON →
library2026.0.5pypiunverified

LicenseCheck is a Python utility that audits the licenses of your project's dependencies and verifies their compatibility with your project's license. It provides a command-line interface to quickly scan and report on package licenses. The library is actively maintained with frequent releases, typically several times a year.

pip install licensecheck
INSTALL
IMPORT
SIG · LICENSECHECK
L
licensecheck
devopsenv2026.0.5
Install
5.5s avg
Import
Disk
44MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2025.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 40.8MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 5.5s · import 0.000s · 41MB
44MB installed
● package 44MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

licensecheck (CLI)
licensecheck
The primary mode of interaction is through the command-line interface. While a Python API exists, its common import paths for direct library usage are not as widely documented as its CLI.

Install the library and run the command in your project directory to get a basic overview of your dependencies and their licenses. The output will show a table indicating compatibility and license types.

pip install licensecheck licensecheck
licensecheck --version
Debug
Known issues
breakingThe codebase underwent significant refactoring in early 2025 (version 2025.x.x), which may lead to less stability or reliability compared to typical releases and could introduce API changes for direct library users.
fix
Review release notes for specific changes if using the library programmatically. For CLI users, behavior should be mostly consistent, but new features or altered outputs might occur.
affects: >=2025.0.0
deprecatedThe 'native resolver' for parsing dependencies was deprecated in version 2024.3, with a recommendation to use 'uv' for improved performance and reliability.
fix
Ensure 'uv' is installed and used (e.g., `uv run licensecheck`) if you relied on the native resolver for dependency resolution, especially in complex environments.
affects: >=2024.3.0
gotchaCritical `TypeError` and issues with `importlib.metadata.PackageMetadata.json` not existing in Python < 3.10 were fixed in versions 2024.1.4 and 2024.1.5. This indicates potential instability or incorrect behavior when running on Python 3.9, despite `requires_python: >=3.9`.
fix
Ensure you are running LicenseCheck with Python 3.10 or newer, or at least version 2024.1.5 or later, to avoid runtime errors related to package metadata access.
affects: <2024.1.5
gotchaThe command-line interface (CLI) was updated in version 2025.0.1 to remove 'confusing functionality'. This implies that CLI arguments or behaviors might have changed or been streamlined, potentially affecting scripts or muscle memory built on older versions.
fix
Consult the `licensecheck --help` output or official documentation after upgrading to understand any changes to CLI flags or expected inputs/outputs.
affects: >=2025.0.1
gotchaConfiguration files are parsed in a specific order: `pyproject.toml`, `setup.cfg`, `licensecheck.toml`, `licensecheck.json`, `licensecheck.ini`, followed by user-level config files. Configuration defined in earlier files takes precedence, which can lead to unexpected behavior if multiple config files exist with conflicting settings.
fix
Be mindful of the configuration file loading order. For predictable behavior, consolidate your configuration into a single file or explicitly define settings only where intended, leveraging the precedence rules carefully.
affects: All
Upgrade
Version history
2026.0.5latest on PyPI · released Jun 16, 2026
Audit
Dependencies
uvoptionalUsed for faster dependency parsing; deprecates the native resolver.
markdownoptionalRequired for generating HTML output reports.
Agent activity
2 hits · last 30 days
node
2
Resources

No resource links recorded.

licensecheck — pip install licensecheck · libregistry