Skip to content

jimporter/verspec

verspec

PyPi version Build status Coverage status

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.

About

Python version/specifier handling

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE.APACHE
BSD-2-Clause
LICENSE.BSD

Stars

Watchers

Forks

Packages

No packages published

Languages