A package to 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.3.0.tar.gz
(11.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dephell-specifier-0.3.0.tar.gz.
File metadata
- Download URL: dephell-specifier-0.3.0.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73c0f7a480e3ec9a1922008d33cec5f24a7c71a09d0020b8b80870285afe18e7
|
|
| MD5 |
927a13831f5fb8fbd370fe997aa012dd
|
|
| BLAKE2b-256 |
78e752ecc5a90cf6075dd1cf49bfd45d93731764d641e144e2dcd490d9cc3767
|
File details
Details for the file dephell_specifier-0.3.0-py3-none-any.whl.
File metadata
- Download URL: dephell_specifier-0.3.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b831fcb91cf44d25790ac9cac594c633df6bdccbcaf0a330d99ec8d06e55880
|
|
| MD5 |
b8ca9a034d58b49986cafd6d9ae60f70
|
|
| BLAKE2b-256 |
12bdba3675531b9c00bf0bbc009529353c0ce6545197f56d9a81a26731cb0bcd
|