---
title: "packaging | pypx"
description: "Core utilities for Python packages"
canonical_url: "https://pypx.app/packages/packaging"
meta:
  "og:description": "Core utilities for Python packages"
  "og:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_packaging%2Cversion_26.4%2Csummary_Core%2Butilities%2Bfor%2BPython%2Bpackages%2Clicense_Apache-2.0%2BOR%2BBSD-2-Clause%2Cp_Ii9wYWNrYWdlcy9wYWNrYWdpbmci%2Cs_J2ueu8BQB75TECIT.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "packaging 26.4"
  "twitter:image": "https://pypx.app/_og/d/h_630%2Cc_PackageCard%2Cname_packaging%2Cversion_26.4%2Csummary_Core%2Butilities%2Bfor%2BPython%2Bpackages%2Clicense_Apache-2.0%2BOR%2BBSD-2-Clause%2Cp_Ii9wYWNrYWdlcy9wYWNrYWdpbmci%2Cs_J2ueu8BQB75TECIT.png"
---

> Index of every page on this site: [llms.txt](https://pypx.app/llms.txt)

# **packaging**

v26.4

Core utilities for Python packages

137 KB Python 3.10+ py3-none-anyApache-2.0 OR BSD-2-Clause

[**Diff **](https://pypx.app/packages/packaging/diff)

`$ uv add packaging`

# packaging

Reusable core utilities for various Python Packaging [interoperability specifications](https://packaging.python.org/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, 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 ask questions or get involved in the `Packaging category`\_ on discuss.python.org.

## 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.

## **Details **

<dl>

<dt>Version</dt>
<dd>26.4</dd>

<dt>License</dt>
<dd>Apache-2.0 OR BSD-2-Clause</dd>

<dt>Python</dt>
<dd>&gt;=3.10</dd>

<dt>Maintainer</dt>
<dd>Donald Stufft &lt;donald@stufft.io&gt;</dd></dl>

## **Links**

- [Documentation](https://packaging.pypa.io/)
- [Source](https://github.com/pypa/packaging)
- [View on PyPI](https://pypi.org/project/packaging/)

## **Release Cadence **

**8**

releases in the past year

avg 83 days between releases

## **Maintainers **

- Donald Stufft · [donald@stufft.io](mailto:donald@stufft.io)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://pypx.app/#website","@type":"WebSite","description":"The Python Package Index, reimagined. Fast search, dependency insights, download trends, and changelogs — all in one place.","name":"pypx","url":"https://pypx.app/"},{"@id":"https://pypx.app/packages/packaging#webpage","@type":"WebPage","description":"Core utilities for Python packages","name":"packaging","url":"https://pypx.app/packages/packaging","isPartOf":{"@id":"https://pypx.app/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://pypx.app/packages/packaging"]}]},{"@id":"https://pypx.app/packages/packaging#/schema/software-application/1","@type":"SoftwareApplication","applicationCategory":"DeveloperApplication","description":"Core utilities for Python packages","license":"Apache-2.0 OR BSD-2-Clause","name":"packaging","softwareVersion":"26.4"}]}
```

## Sitemap

See the full [sitemap](https://pypx.app/sitemap.md) for all pages.
