Python

packaging

Core utilities for Python packages

P

pypa

Dernière activité 25 sept. 2026
pypa/packaging

751

étoiles

335

forks

110

issues ouvertes

Ce README est souvent en anglais.

packaging

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.

Projets similaires

The Python package installer

Pythonpackagingpippython
Ppypa
10,3 k étoiles3,4 k

Python Packaging User Guide

Python
Ppypa
1,7 k étoiles1,7 k

Python packaging and dependency management made easy

Pythondependency-managerpackage-managerpackaging
Ppython-poetry
34,3 k étoiles2,5 k