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
packaging-24.2.tar.gz 163.9 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

26.3

2 release files

26.2

2 release files

26.1

2 release files

26.0

2 release files

25.0

2 release files

This release

24.2 This release

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