Skip to main content

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


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.1.7.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

dephell_specifier-0.1.7-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file dephell_specifier-0.1.7.tar.gz.

File metadata

  • Download URL: dephell_specifier-0.1.7.tar.gz
  • Upload date:
  • Size: 11.8 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

Hashes for dephell_specifier-0.1.7.tar.gz
Algorithm Hash digest
SHA256 5e7235ec357fcd4c6e038b4c1996a9564374d36edb2223bf81f9ac41df3c22e0
MD5 af677e60dae5492b82b1473b5dbd0562
BLAKE2b-256 ee7b07740d188b469022ca92e1ef3823e4d87debabf0289cc25680db89eb3942

See more details on using hashes here.

File details

Details for the file dephell_specifier-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: dephell_specifier-0.1.7-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

Hashes for dephell_specifier-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 25ae2ca18dbbe0e585352bcda91c29afa68e8b139488457b8cb2dcd353452d56
MD5 92fef287b2183eb100ddb351127074dc
BLAKE2b-256 1cb02fe30a84fb6f3805b56f589bf7a28e2827a67a84e786ec99b3d0c1ade33e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page