Core utilities for Python packages https://packaging.pypa.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Brett Cannon 4f42225e91
Document `utils.NormalizedName` (#565)
3 days ago
.github/workflows CI: Update `actions/*` to their latest major versions (#557) 3 weeks ago
docs Document `utils.NormalizedName` (#565) 3 days ago
packaging Add a `metadata` module with a data class for core metadata (#518) 2 weeks ago
tasks Drop support for python 2.7, 3.4, and 3.5 (#376) 1 year ago
tests Add a `metadata` module with a data class for core metadata (#518) 2 weeks ago
.coveragerc Introduce packaging.tags (#156) 3 years ago
.flake8 Ignore obsolete flake8 warnings/errors 4 years ago
.gitignore Add docstrings to packaging.tags.Tag and packaging.tags.parse_tag() (#281) 2 years ago
.pre-commit-config.yaml Add a `metadata` module with a data class for core metadata (#518) 2 weeks ago
.readthedocs.yml Change documentation theme to Furo (#347) 2 years ago
CHANGELOG.rst Evaluate markers under environment with empty "extra" (#550) 4 weeks ago
CONTRIBUTING.rst Point locations towards the proper PyPA locations 8 years ago
LICENSE Relicense under both Apache License, v2.0 and a 2 clause BSD license 7 years ago
LICENSE.APACHE Introduce pre-commit to the dev process (#212) 3 years ago
LICENSE.BSD Relicense under both Apache License, v2.0 and a 2 clause BSD license 7 years ago
MANIFEST.in chore: update mypy and move to toml (#547) 2 months ago
README.rst Change documentation theme to Furo (#347) 2 years ago
noxfile.py Run tests with all PyPy versions locally (#535) 3 months ago
pyproject.toml chore: update mypy and move to toml (#547) 2 months ago
setup.cfg Drop support for python 2.7, 3.4, and 3.5 (#376) 1 year ago
setup.py Remove support for Python 3.6 (#500) 5 months ago

README.rst

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: 440) or benefit greatly from having a single shared implementation (eg: 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

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.