Skip to main content

Core utilities for Python packages

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

packaging-26.3.tar.gz (313.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

packaging-26.3-py3-none-any.whl (130.0 kB view details)

Uploaded Python 3

File details

Details for the file packaging-26.3.tar.gz.

File metadata

  • Download URL: packaging-26.3.tar.gz
  • Upload date:
  • Size: 313.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for packaging-26.3.tar.gz
Algorithm Hash digest
SHA256 94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79
MD5 c6809ec56986682ceffe573b8778a1ce
BLAKE2b-256 7dfa3944b40b07da9ce895c0e6303a5ab7d53da063554f534556b134a54d6093

See more details on using hashes here.

Provenance

The following attestation bundles were made for packaging-26.3.tar.gz:

Publisher: publish.yml on pypa/packaging

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file packaging-26.3-py3-none-any.whl.

File metadata

  • Download URL: packaging-26.3-py3-none-any.whl
  • Upload date:
  • Size: 130.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for packaging-26.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
MD5 e5b3bd8ce52e8a8fe1ab400079171a1e
BLAKE2b-256 6334ba1c580383c9eada3711951fef0795c80b829a078d72188184bcab9dd527

See more details on using hashes here.

Provenance

The following attestation bundles were made for packaging-26.3-py3-none-any.whl:

Publisher: publish.yml on pypa/packaging

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page