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.5 - 2014-12-17
~~~~~~~~~~~~~~~~~

* Normalize release candidates as ``rc`` instead of ``c``.

* Expose the ``VERSION_PATTERN`` constant, a regular expression matching
a valid version.


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

Uploaded Source

Built Distribution

packaging-14.5-py2.py3-none-any.whl (16.8 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for packaging-14.5.tar.gz
Algorithm Hash digest
SHA256 363f9193daa14085b8dfeeb2bf64227bcf1dc85c02ae2a5c6018b01f77e46491
MD5 33b644ab03d046427dfd81befdc4fe06
BLAKE2b-256 d880cfb342741cd425e9dbff97a6d229c8796657bdfca1020b55316cbab6575e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for packaging-14.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dce190c8d365fb6a5fd25a76808d9ad9e7c172afc7979320addecbb8c3af18a8
MD5 c615a3f978940c8aeb7ca1d5e1f9e8b9
BLAKE2b-256 31c453a8c47f729663380a515c2582e517e2ebe921c277008498a34a247964f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page