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, utilities.

Documentation

The documentation provides information and the API for the following:

  • Version Handling

  • Specifiers

  • Markers

  • Requirements

  • Tags

  • 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 #pypa on Freenode 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 24.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 24.2
File Size Uploaded Provenance Actions
packaging-24.2.tar.gz 163.9 kB Without provenance Details for packaging-24.2.tar.gz

Built distribution (wheel)

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

Total release size: 229.4 kB

Release files / packaging-24.2.tar.gz

Download URL packaging-24.2.tar.gz
Size 163.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c228a6dc5e932d346bc5739379109d49e8853dd8223571c7c5b55260edc0b97f
BLAKE2b-256 checksum
How to use checksums
d06368dbb6eb2de9cb10ee4c9c14a0148804425e13c4fb20d61cce69f53106da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

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

Download URL packaging-24.2-py3-none-any.whl
Size 65.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759
BLAKE2b-256 checksum
How to use checksums
88efeb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for packaging 24.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

24.2 This release

2 release files No 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