A package to work with version specifiers.
Project description
Dephell Specifier
Work with version specifiers.
Supported specifiers:
Installation
Install from PyPI:
python3 -m pip install --user dephell_specifier
Usage
from dephell_specifier import RangeSpecifier
'3.4' in RangeSpecifier('*')
# True
'3.4' in RangeSpecifier('<=2.7')
# False
'3.4' in RangeSpecifier('>2.7')
# True
'3.4' in RangeSpecifier('>2.7,<=3.4')
# True
'3.4' in RangeSpecifier('<2.7 || >=3.4')
# True
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dephell-specifier-0.3.0.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for dephell_specifier-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b831fcb91cf44d25790ac9cac594c633df6bdccbcaf0a330d99ec8d06e55880 |
|
MD5 | b8ca9a034d58b49986cafd6d9ae60f70 |
|
BLAKE2b-256 | 12bdba3675531b9c00bf0bbc009529353c0ce6545197f56d9a81a26731cb0bcd |