reuse
reuse is a tool for compliance with the REUSE recommendations.
Decision gist · record as of 2026-08-14
Yes. reuse is actively maintained, has no known vulnerabilities, and is the standard tool for REUSE compliance. Install friction is moderate but manageable. The copyleft license is appropriate for a compliance tool. Use it if you need to demonstrate or enforce standardized copyright and licensing practices in your project, especially for open-source software or when required by legal or organizational policy.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10+.
- libmagic is optional but recommended; without it, file encoding detection is slower.
- Version control systems (Git, Mercurial, Pijul, Jujutsu) are optional but needed for correct .gitignore handling.
License · maintenance · safety
copyleft license (copyleft) — Licensed under Apache-2.0, CC0-1.0, CC-BY-SA-4.0, and GPL-3.0-or-later (copyleft treatment). This multi-license model reflects the tool's own compliance with REUSE recommendations. Users should be aware of the copyleft obligations if they modify and redistribute the package.
last release 2025-10-27 (291 days) · last repo commit 2026-07-24 · 583 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 662,492 downloads/mo, #5,437 on PyPI
Alternatives
Verify before relying
pip install reuse
reuse lint- Exact performance impact of missing libmagic on large projects
- Whether all 7 runtime dependencies are strictly required or if some are optional extras
What it is and what it does
reuse is a compliance tool built by the Free Software Foundation Europe to help developers follow the REUSE recommendations—a standardized framework for declaring copyright and licensing in software projects. It validates that your project includes proper SPDX license identifiers and copyright notices in each file, stores licenses in a LICENSES/ directory, and confirms compliance against the REUSE specification.
The tool provides a CLI with commands to lint projects for compliance, annotate files with copyright and license headers, download licenses, generate SPDX documents, and convert legacy .reuse/dep5 configurations. It works across multiple version control systems and can be integrated into CI/CD pipelines via Docker or as a pre-commit hook. The package depends on Jinja2, license-expression, python-debian, tomlkit, attrs, click, and python-magic to parse licenses, render templates, and detect file types.
Use it for
- Verify a project meets REUSE specification requirements before release or in CI/CD pipelines
- Automatically add SPDX copyright and license headers to source files across a project
- Generate an SPDX document describing all files and their licenses for compliance audits
- Validate individual files for correct REUSE compliance headers during code review
- Convert legacy .reuse/dep5 configuration files to the newer REUSE.toml format
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
reuse is actively maintained, has no known vulnerabilities, and is the standard tool for REUSE compliance. Install friction is moderate but manageable. The copyleft license is appropriate for a compliance tool. Use it if you need to demonstrate or enforce standardized copyright and licensing practices in your project, especially for open-source software or when required by legal or organizational policy.
Install
reuse on PyPI
Before you install
Medium install friction due to 7 runtime dependencies including Jinja2, license-expression, and python-magic. Maintenance is active with recent releases; the project is actively maintained by FSFE. Requires Python 3.10+. Optional system dependencies (libmagic, Git, Mercurial, Pijul, Jujutsu) improve functionality but are not required.
Requires Python 3.10+. libmagic is optional but recommended; without it, file encoding detection is slower. Version control systems (Git, Mercurial, Pijul, Jujutsu) are optional but needed for correct .gitignore handling.
License in practice
Licensed under Apache-2.0, CC0-1.0, CC-BY-SA-4.0, and GPL-3.0-or-later (copyleft treatment). This multi-license model reflects the tool's own compliance with REUSE recommendations. Users should be aware of the copyleft obligations if they modify and redistribute the package.
Quickstart
pip install reuse
reuse lint
Verify before relying
- Exact performance impact of missing libmagic on large projects
- Whether all 7 runtime dependencies are strictly required or if some are optional extras
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 7 packagesJinja2license-expressionpython-debiantomlkitattrsclickpython-magic |
| Maintenance | Actively maintained 291 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 662,492 / month, #5,437 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: CC0 1.0 Universal (CC0 1.0) Public Domain DedicationLicense :: DFSG approvedLicense :: OSI ApprovedLicense :: OSI Approved :: Apache Software LicenseLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)License :: Other/Proprietary LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: reuse-6.2.0-cp310-cp310-manylinux_2_41_x86_64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “REUSE compliance checker”
- reusereuse is a command-line tool that validates and enforces REUSE…
- django-password-validatorsProvides additional password validators for Django that enforce…
- pycodestylepycodestyle checks Python code against PEP 8 style conventions,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also license-expression · scancode-toolkit · spdx3-validate · spdx-tools · invenio-records-permissions · antsibull-docutils · pyspdx · pre-commit-hooks · pip-licenses-cli · pip-licenses-lib