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
Built Distribution
Close
Hashes for dephell_specifier-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78713060839ea4aa5d9f0199b65109b39742499862084bf4fec782cff22418de |
|
MD5 | ae01cd6849fa4e7b3b4130f0a9454459 |
|
BLAKE2b-256 | ebb37fb3735755d341ed63c385fd0b38ac35aef91db45e24e8c1cda6453dbede |