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

Uploaded Source

Built Distribution

dephell_specifier-0.1.4-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dephell_specifier-0.1.4.tar.gz
  • Upload date:
  • Size: 5.2 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.4.tar.gz
Algorithm Hash digest
SHA256 23ed0ea2c3161b3854fc3dd741f4bbccf97ce4bb24c7e5e862b3873e3cb2b2ba
MD5 66e3a30e799fe340ca272c1145d3e637
BLAKE2b-256 e77f80d6fa639df9f89bfddecd897f0782e12e745a31d617922da29d78bf7c32

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dephell_specifier-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.7 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2dd69cf4c8a1452981b8360b4f0e0a5b0d1b5ce74bb4e5be77dee30f1f1d830e
MD5 f313ce58a1b6129affd11e0c1f0e4681
BLAKE2b-256 5ad970f79ae5fbb66086eb0116cb60df206b94db0445016ef81d4706fb3898e8

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