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.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5951ea2ea5d92d9d41be9948549d1f2b9fe46bb62e1bcf7f2076f2fe2c579a94 |
|
MD5 | 5e5eb1b62675f654803f3a757a1b05f8 |
|
BLAKE2b-256 | ea77beffbd025d476d2c4a815ec80f5128d566478d2abe9b7c7dbc70932c0a52 |