Skip to main content

Flexible version handling

Project description

verspec

verspec is a Python library for handling software versions and specifiers, adapted from the packaging package.

An Example

from verspec import loose, python

v1 = loose.Version('1.0')
s1 = loose.SpecifierSet('~=1.0')
assert v1 in s1

v2 = python.Version('1.0')
s2 = python.SpecifierSet('~=1.0')
assert v2 in s2

Documentation

Forthcoming! (Sorry about that...)

Credits

The real credit for this package goes to the Python Packaging Authority.

License

This project is dual-licensed under the BSD and Apache licenses.

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

verspec-0.1.0.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

verspec-0.1.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file verspec-0.1.0.tar.gz.

File metadata

  • Download URL: verspec-0.1.0.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for verspec-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c4504ca697b2056cdb4bfa7121461f5a0e81809255b41c03dda4ba823637c01e
MD5 34d408f044894ec89a9780dbb75b6c9e
BLAKE2b-256 e7448126f9f0c44319b2efc65feaad589cadef4d77ece200ae3c9133d58464d0

See more details on using hashes here.

File details

Details for the file verspec-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: verspec-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

File hashes

Hashes for verspec-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 741877d5633cc9464c45a469ae2a31e801e6dbbaa85b9675d481cda100f11c31
MD5 04113d50bdb9f2894c2749695e3a3a62
BLAKE2b-256 a4ce3b6fee91c85626eaf769d617f1be9d2e15c1cca027bbdeb2e0d751469355

See more details on using hashes here.

Supported by

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