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
File details
Details for the file dephell_specifier-0.1.5.tar.gz
.
File metadata
- Download URL: dephell_specifier-0.1.5.tar.gz
- Upload date:
- Size: 5.9 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 | 4a69e133242a0c4248932ec1b58aa0d77d90a2bdbcb4a6243ad2a8178a242bcc |
|
MD5 | 319b57e577f0be593090a41d9f7c3f12 |
|
BLAKE2b-256 | 267217f52834d0a89dcab3ce8e447a5e3b6b470294c9a07c60816122152ed2ea |
File details
Details for the file dephell_specifier-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: dephell_specifier-0.1.5-py3-none-any.whl
- Upload date:
- Size: 7.9 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 | 5951ea2ea5d92d9d41be9948549d1f2b9fe46bb62e1bcf7f2076f2fe2c579a94 |
|
MD5 | 5e5eb1b62675f654803f3a757a1b05f8 |
|
BLAKE2b-256 | ea77beffbd025d476d2c4a815ec80f5128d566478d2abe9b7c7dbc70932c0a52 |