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

Uploaded Source

Built Distribution

dephell_specifier-0.1.3-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

Hashes for dephell_specifier-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ae04da4aee207d738934ce063184cd17760dd1a8c90cf4e066a801442faf53a0
MD5 a0fda2a8dc7a89bb3ab8beeca53c70b9
BLAKE2b-256 e494f2a308d3851bc521540aa0bd44d907bbf1f3392a9943ba63cde1b49fe8da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dephell_specifier-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 7.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 78713060839ea4aa5d9f0199b65109b39742499862084bf4fec782cff22418de
MD5 ae01cd6849fa4e7b3b4130f0a9454459
BLAKE2b-256 ebb37fb3735755d341ed63c385fd0b38ac35aef91db45e24e8c1cda6453dbede

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