packaging
Core utilities for Python packages
Install
packaging on PyPI
pip
pip install packaginguv
uv add packagingpoetry
poetry add packagingPackage facts
| License | Apache-2.0 OR BSD-2-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 9 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: packaging-26.3-py3-none-any.whl
About packaging
from the package's own PyPI description — quoted content, verbatim
packaging
.. start-intro
Reusable core utilities for various Python Packaging
interoperability specifications <https://packaging.python.org/specifications/>_.
This library provides utilities that implement the interoperability
specifications which have clearly one correct behaviour (eg: :pep:440)
or benefit greatly from having a single shared implementation (eg: :pep:425).
.. end-intro
The packaging project includes the following: version handling, specifiers,
markers, requirements, tags, metadata, lockfiles, utilities.
Documentation
The documentation_ provides information and the API for the following:
- Version Handling
- Specifiers
- Markers
- Licenses
- Requirements
- Metadata
- Tags
- Lockfiles (pylock)
- Direct URL helpers
- Dependency groups
- Errors
- Utilities
Installation
Use pip to install these utilities::
pip install packaging
The packaging library uses calendar-based versioning (YY.N).
Discussion
If you run into bugs, you can file them in our issue tracker_.
You can also join discussions on GitHub Discussions_ to ask questions or get involved.
.. _documentation:...
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Provides reusable core utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, metadata, and lockfile support as specified in PEPs like 440 and 425.
Actively maintained with a release 9 days ago and last commit on 2026-08-13. Zero runtime dependencies and a pure-wheel distribution keep install friction minimal. Supports Python 3.9 through 3.15 and PyPy.
Dual-licensed under Apache-2.0 OR BSD-2-Clause, both permissive licenses allowing commercial and private use with minimal restrictions. Users may choose either license term.
Usage
pip install packaging
from packaging.version import Version
from packaging.specifiers import SpecifierSet
v = Version('26.3')
spec = SpecifierSet('>=26.0')
print(v in spec)
Requires Python 3.9 or later.
Verdict: A foundational, actively maintained library in the top 100 PyPI packages with zero vulnerabilities and no dependencies. Its permissive dual license and broad Python version support make it a low-risk choice for any project needing standards-compliant packaging utilities.
Similar packages
permissive · top 100 on PyPI
pywin32permissive · top 1,000 on PyPI
distlibpermissive · top 1,000 on PyPI
pip-apipermissive · top 1,000 on PyPI
oracledbunclear · top 1,000 on PyPI
cyclerpermissive · top 1,000 on PyPI
setuptoolspermissive · top 100 on PyPI
pippermissive · top 100 on PyPI
types-s3transferpermissive · top 1,000 on PyPI
botocore-stubspermissive · top 1,000 on PyPI