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.2.2.tar.gz
(10.5 kB
view hashes)
Built Distribution
Close
Hashes for dephell_specifier-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 021ad2ab3f3f130b5ac5cefa554c12f0e2dbb35d5d52ad9474a1f2c8b420f7c2 |
|
MD5 | e480910904b02faff33baf871ff65120 |
|
BLAKE2b-256 | c2453620bec4e5274697101212ee85c0625c74f2f05496e54a190f19023f245c |