Flexible version handling
verspec is a Python library for handling software versions and specifiers,
adapted from the
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
Forthcoming! (Sorry about that...)
The real credit for this package goes to the Python Packaging Authority.
This project is dual-licensed under the BSD and Apache licenses.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.