Reusable core utilities for various Python Packaging interoperability 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).
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.
Code of Conduct
Everyone interacting in the packaging project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow the PSF Code of Conduct.
Contributing
The CONTRIBUTING.rst file outlines how to contribute to this project as well as how to report a potential security issue. The documentation for this project also covers information about project development and security.
Project History
Please review the CHANGELOG.rst file or the Changelog documentation for recent changes and project history.
Metadata
Release files for packaging 26.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| packaging-26.3.tar.gz | 313.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| packaging-26.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 443.4 kB
Release files / packaging-26.3.tar.gz
| Download URL | packaging-26.3.tar.gz |
|---|---|
| Size | 313.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79
|
|
BLAKE2b-256 checksum How to use checksums |
7dfa3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency logRelease files / packaging-26.3-py3-none-any.whl
| Download URL | packaging-26.3-py3-none-any.whl |
|---|---|
| Size | 130.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
|
|
BLAKE2b-256 checksum How to use checksums |
6334ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 4, 2026.
Transparency log