coherent.licensed
License management tooling for Coherent System and skeleton projects
What it is and what it does
coherent-licensed is a Setuptools plugin designed to automate license file management during the Python package build process. It reads the License Expression declared in a package's metadata and automatically generates and injects the corresponding license file into the build artifacts, eliminating manual license file management.
The plugin is specifically built for coherent.build and skeleton projects. It operates only during builds and should not be installed to shared environments except temporarily; if it is, it emits a warning that can be suppressed via the COHERENT_LICENSED_UNUSED_ACTION environment variable. It has no runtime dependencies and requires Python 3.9 or later.
Use it for:
- Automatically inject license files into Python packages during CI/CD builds to ensure license compliance
- Maintain consistency between declared License Expression and actual license files in build artifacts
- Reduce manual license file management in skeleton-based or coherent.build projects
- Ensure license declarations are reflected in distributed wheels and source distributions
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A Setuptools plugin that automatically injects a license file into Python packages at build time, reflecting the license declared in the package's License Expression.
Yes, if you are building packages with coherent.build or skeleton and need automated license file injection. Install only as a build requirement in your build-system configuration, not as a runtime or development dependency. The low friction and active maintenance make it safe for this specific use case.
Install
coherent-licensed on PyPI
pip
pip install coherent-licenseduv
uv add coherent-licensedpoetry
poetry add coherent-licensedInstalling coherent.licensed
Before you install
Low install friction with no runtime dependencies. Active maintenance as of July 2026. Intended only as a temporary build requirement; installing to a shared environment triggers a warning unless explicitly suppressed via environment variable.
License in practice
MIT license permits commercial and private use with minimal restrictions. Suitable for projects with permissive licensing requirements.
Quickstart
# Install as build requirement in pyproject.toml
[build-system]
requires = ["setuptools", "coherent-licensed"]
# The plugin activates automatically during build
# License file is injected based on License Expression in metadata
Requires Python 3.9 or later. Intended for use during build only; not a runtime dependency.
Verify before relying
- How the plugin determines which license file format or location to use when injecting
- Whether the plugin works with all License Expression formats or has limitations
- Integration compatibility with build backends other than Setuptools
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 438 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 120,872/month — #12,005 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: coherent_licensed-0.5.2-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
setuptools-dsosetuptools_dso is a setuptools plugin that…
permissive · top 15,000 on PyPI
pbrPBR injects sensible defaults into setuptools…
permissive · top 1,000 on PyPI
conda-injectInjects a conda environment's packages into the…
unclear · top 15,000 on PyPI
versioneer-518Automates version management in…
permissive · top 15,000 on PyPI
snakemake-interface-report-pluginsDefines the interface contract that Snakemake…
unclear · top 15,000 on PyPI
poetry-plugin-shellA Poetry plugin that launches a subshell with…
permissive · top 15,000 on PyPI
setuptools-odooSetuptools-odoo automates packaging of Odoo…
copyleft · top 15,000 on PyPI
mkdocs-markdownextradata-pluginInjects mkdocs.yml extra variables into…
permissive · top 15,000 on PyPI
runtime-builderDeclares and executes build rules for compiled…
unclear · top 15,000 on PyPI
pip-licensesA command-line tool that scans installed Python…
permissive · top 5,000 on PyPI