Skip to main content

packaging

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 ask questions or get involved in the Packaging category on discuss.python.org.

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.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for packaging 26.4
File Size Uploaded Provenance Actions
packaging-26.4.tar.gz 355.9 kB With provenance Details for packaging-26.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for packaging 26.4
File Interpreter ABI Platform Actions
packaging-26.4-py3-none-any.whl Python 3 none any Details for packaging-26.4-py3-none-any.whl

Total release size: 495.9 kB

Release files / packaging-26.4.tar.gz

Download URL packaging-26.4.tar.gz
Size 355.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c4b671c41ddb9bf26e543c37723610d28fb6bf7affc4da17cf048d419d2c062a
BLAKE2b-256 checksum
How to use checksums
c375ffb1dc0ed12352139fb4ca0e3fde4325a23e3d0f3f40efe89717bc4f557b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Release files / packaging-26.4-py3-none-any.whl

Download URL packaging-26.4-py3-none-any.whl
Size 140.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81383611a09c1bc0b08b76e0fd5829d7c6824c65b27a6aee339da133f4233ea2
BLAKE2b-256 checksum
How to use checksums
ba7b5504f91c9c2733f693d7759e50ede5d27119d4da7e5836c46d3b5ff81d56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 23, 2026.

Transparency log

Security for packaging 26.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for packaging-26.4.tar.gz

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 Nov 23, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

26.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page