Skip to main content

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

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.2
File Size Uploaded
packaging-26.2.tar.gz 228.1 kB Details

Built distribution (wheel)

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

Total release size: 328.3 kB

Release files / packaging-26.2.tar.gz

Download URL packaging-26.2.tar.gz
Size 228.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
BLAKE2b-256 checksum
How to use checksums
d7f1e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Apr 24, 2026.

Transparency log

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

Download URL packaging-26.2-py3-none-any.whl
Size 100.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e
BLAKE2b-256 checksum
How to use checksums
dfb287e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Apr 24, 2026.

Transparency log

Release history Release notifications | RSS feed

26.3

2 release files

This release

26.2 This release

2 release files

26.1

2 release files

26.0

2 release files

25.0

2 release files

24.2

2 release files

24.1

2 release files

24.0

2 release files

23.2

2 release files

23.1

2 release files

23.0

2 release files

22.0

2 release files

21.3

2 release files

21.2

2 release files

21.1

2 release files

21.0

2 release files

20.9

2 release files

20.8

2 release files

20.7

2 release files

20.6

2 release files

20.5

2 release files

20.4

2 release files

20.3

2 release files

20.2

2 release files

20.1

2 release files

20.0

2 release files

19.2

2 release files

19.1

2 release files

19.0

2 release files

18.0

2 release files

17.1

2 release files

17.0

2 release files

16.8

2 release files

16.7

2 release files

16.6

2 release files

16.5

2 release files

16.4

2 release files

16.3

2 release files

16.2

2 release files

16.1

2 release files

16.0

2 release files

15.3

2 release files

15.2

2 release files

15.1

2 release files

15.0

2 release files

14.5

2 release files

14.4

2 release files

14.3

2 release files

14.2

2 release files

14.1

2 release files

14.0

2 release files

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