Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

packaging

Package Overview
Dependencies
Maintainers
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

packaging

Core utilities for Python packages

  • 24.2
  • Source
  • PyPI
  • Socket score

Maintainers
4

packaging

.. start-intro

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

.. end-intro

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

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 #pypa on Freenode to ask questions or get involved.

.. _documentation: https://packaging.pypa.io/ .. _issue tracker: https://github.com/pypa/packaging/issues

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

.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md

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 development: https://packaging.pypa.io/en/latest/development/ .. _security: https://packaging.pypa.io/en/latest/security/

Project History

Please review the CHANGELOG.rst file or the Changelog documentation_ for recent changes and project history.

.. _Changelog documentation: https://packaging.pypa.io/en/latest/changelog/

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc