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
dephell_specifier-0.2.0.tar.gz
(15.6 kB
view details)
Built Distribution
File details
Details for the file dephell_specifier-0.2.0.tar.gz
.
File metadata
- Download URL: dephell_specifier-0.2.0.tar.gz
- Upload date:
- Size: 15.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 | 3d2b3d01cff1734dc8547ffafa3abe52de45b49883f8e9847af26799a0192372 |
|
MD5 | e998f7726ec7e331cd515315e24b4be7 |
|
BLAKE2b-256 | cfed6483808253aa2847b71a6033b15a0a0fb56dbf4dae623c2e414b35179c32 |
File details
Details for the file dephell_specifier-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: dephell_specifier-0.2.0-py3-none-any.whl
- Upload date:
- Size: 8.8 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 | ad02620cbe669febf0f47dffd050381d2960f4cf6208f645424bb99d3835f2fa |
|
MD5 | 4fe97013a46ffc1ff88e251c8614ac27 |
|
BLAKE2b-256 | 3595e414cd989aeab44b0383e1d04271640ed5b698c3056f2d6f205ce1a30667 |