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.2.tar.gz (228.1 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.2-py3-none-any.whl (100.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for packaging-26.2.tar.gz
Algorithm Hash digest
SHA256 ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661
MD5 edae3d061c39a2ff713a97e133dbc50c
BLAKE2b-256 d7f1e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270

See more details on using hashes here.

Provenance

The following attestation bundles were made for packaging-26.2.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.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for packaging-26.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e
MD5 a61187c02a908a0bc866b4903b84d691
BLAKE2b-256 dfb287e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for packaging-26.2-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