Work with version specifiers.
Project description
Dephell Specifier
Work with version specifiers.
Installation
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
File details
Details for the file dephell_specifier-0.1.1.tar.gz
.
File metadata
- Download URL: dephell_specifier-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02cc731a4c25fb7c481e1a1ff6f1cd652cd6f634ae85af171b08850b9a5fc40f |
|
MD5 | 56a20a7e11ad2f3a84dc1fc6223c003f |
|
BLAKE2b-256 | 061ad79f8841de3cfb90f39a516d32167211314bbf467a589579ae71d3151a9c |
File details
Details for the file dephell_specifier-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: dephell_specifier-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b325acd2a5510188007c06b833df03732db8541388cf3eb1f0b81c5972bcd4b4 |
|
MD5 | 29024108e34dc4cc5e40790c7f0d0ee4 |
|
BLAKE2b-256 | e6ff0f224febea21b6ebf9e152bcfc7c0e389b9bf0c119c7ca48aa86b7d4fe6e |