Skip to main content

Core utilities for Python packages

Project description

packaging
=========

Core utilities for Python packages


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

Changelog
=========


14.4 - 2014-12-15
~~~~~~~~~~~~~~~~~

* Ensure that versions are normalized before comparison when used in a
specifier with a less than (``<``) or greater than (``>``) operator.


14.3 - 2014-11-19
~~~~~~~~~~~~~~~~~

* **BACKWARDS INCOMPATIBLE** Refactor specifier support so that it can sanely
handle legacy specifiers as well as PEP 440 specifiers.

* **BACKWARDS INCOMPATIBLE** Move the specifier support out of
``packaging.version`` into ``packaging.specifiers``.


14.2 - 2014-09-10
~~~~~~~~~~~~~~~~~

* Add prerelease support to ``Specifier``.
* Remove the ability to do ``item in Specifier()`` and replace it with
``Specifier().contains(item)`` in order to allow flags that signal if a
prerelease should be accepted or not.
* Add a method ``Specifier().filter()`` which will take an iterable and returns
an iterable with items that do not match the specifier filtered out.


14.1 - 2014-09-08
~~~~~~~~~~~~~~~~~

* Allow ``LegacyVersion`` and ``Version`` to be sorted together.
* Add ``packaging.version.parse()`` to enable easily parsing a version string
as either a ``Version`` or a ``LegacyVersion`` depending on it's PEP 440
validity.


14.0 - 2014-09-05
~~~~~~~~~~~~~~~~~

* Initial release.


.. _`master`: https://github.com/pypa/packaging/

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-14.4.tar.gz (31.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

packaging-14.4-py2.py3-none-any.whl (16.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: packaging-14.4.tar.gz
  • Upload date:
  • Size: 31.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for packaging-14.4.tar.gz
Algorithm Hash digest
SHA256 fee2bcfc2dccf09c9fff14a4a9e8bc8114b581f5daedf2517c9505e0e693e2ab
MD5 66076aafbca7fb0126e77dcf43b3a1c0
BLAKE2b-256 198d30710be752fc9ad21d7774b75c2d0927ce14eac5bfbd89fa05a0694f710d

See more details on using hashes here.

File details

Details for the file packaging-14.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for packaging-14.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b03794ad47f2cc841a12c7bc4650b4cff01eebcb48d78e895fa89847bf6a479
MD5 e556dc0cd4197488b9a57459632c261c
BLAKE2b-256 46103febc5a1e47548af4b68eb4176aecd1303a369db8c40f28bf079bdb6f558

See more details on using hashes here.

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