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

  • Requirements

  • Tags

  • Metadata

  • Lockfiles

  • 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.1.tar.gz (215.5 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.1-py3-none-any.whl (95.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for packaging-26.1.tar.gz
Algorithm Hash digest
SHA256 f042152b681c4bfac5cae2742a55e103d27ab2ec0f3d88037136b6bfe7c9c5de
MD5 5ffd78380493f7a7948c140fae4f1995
BLAKE2b-256 dfde0d2b39fb4af88a0258f3bac87dfcbb48e73fbdea4a2ed0e2213f9a4c2f9a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: packaging-26.1-py3-none-any.whl
  • Upload date:
  • Size: 95.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d9c0669c6285e491e0ced2eee587eaf67b670d94a19e94e3984a481aba6802f
MD5 ac6370ef6ac060bbdd748c6c6c2d3a1d
BLAKE2b-256 7ac2920ef838e2f0028c8262f16101ec09ebd5969864e5a64c4c05fad0617c56

See more details on using hashes here.

Provenance

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