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 details)
Built Distribution
File details
Details for the file dephell_specifier-0.2.2.tar.gz
.
File metadata
- Download URL: dephell_specifier-0.2.2.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: DepHell/0.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5ec6409a1916980c4861da2cb7538246555bff4b95bef2c952c56bd19eb2de6 |
|
MD5 | 23c2a7be344540e6737e9f7be50e7300 |
|
BLAKE2b-256 | 8b308b1f96eeb85ac2ada8137e3026b837b6bdc2020d34d95afd907758c4a602 |
File details
Details for the file dephell_specifier-0.2.2-py3-none-any.whl
.
File metadata
- Download URL: dephell_specifier-0.2.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: DepHell/0.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 021ad2ab3f3f130b5ac5cefa554c12f0e2dbb35d5d52ad9474a1f2c8b420f7c2 |
|
MD5 | e480910904b02faff33baf871ff65120 |
|
BLAKE2b-256 | c2453620bec4e5274697101212ee85c0625c74f2f05496e54a190f19023f245c |