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 licensecheckVerified import paths — ran on the pinned version, not inferred.
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.
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.
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.
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.
Consult the `licensecheck --help` output or official documentation after upgrading to understand any changes to CLI flags or expected inputs/outputs.
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.
No resource links recorded.