Work with version specifiers.
Project description
Dephell Specifier
Work with version 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.2.1.tar.gz
(15.6 kB
view hashes)
Built Distribution
Close
Hashes for dephell_specifier-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de46325cfd6adedf5f685a3c00242d8a16fe270a7a76948fd1957c99561eb89e |
|
MD5 | 07020964f2969f3a5860b439b016ad0d |
|
BLAKE2b-256 | ee43e54297417ed6e830bd248f400a0e36f73eb22dd37b0c3b92e87c6f2b2ffd |