{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/16"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/10"}],"enrichment":{"capability":"Programmatically retrieve and inspect the software licenses of Python packages installed in your environment, returning structured package metadata including license information.","skillfed_tags":["license-compliance","dependency-audit","metadata-extraction"],"use_cases":["Generate a license inventory of all dependencies in a Python project for compliance auditing","Automate license compliance checks in CI/CD pipelines to detect incompatible licenses before deployment","Build internal tools that need programmatic access to installed package license metadata","Audit which packages in an environment use specific licenses for legal review","Create reports on copyright and notice files for all installed packages for distribution"],"what_it_does":"pip-licenses-lib is a programmatic library for querying the licenses of installed Python packages. It's a fork of the pip-licenses tool, refactored to expose license metadata as a library rather than just command-line output. The main entry point yields structured dataclass objects containing package name, version, license information, and copyright/notice file matches.\n\nUnlike the original tool, this library removes all rendering and output formatting, exposes all methods at the top level for easier reuse, and adds support for newer standards like PEP 639. It returns both copyright and notice file matches, includes system packages, and offers options to skip file retrieval for faster version-only checks or to normalize package names. The package has no runtime dependencies and is actively maintained.","worth_installing":"Yes. Low install friction, no dependencies, active maintenance, and MIT licensing make it safe to add. Useful if you need programmatic license inspection. The setuptools >= 71 interaction is a known gotcha but documented and avoidable."},"id":"pip-licenses-lib","links":{"html":"https://skillfed.io/packages/pip-licenses-lib","md":"https://skillfed.io/packages/pip-licenses-lib.md","pypi":"https://pypi.org/project/pip-licenses-lib/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-07","license_spdx":"MIT","license_treatment":"permissive","name":"pip-licenses-lib","python_support":"supports_current","summary":"Retrieve the software license list of Python packages installed with pip."},"popularity":{"monthly_downloads":114760,"position":12281,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.2"}
