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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

Hashes for dephell_specifier-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ec74e2d11fdcdc034b2c6a14189e66c468c82bf27ca95c1c820e109aa4906a8d
MD5 a3022dc8bc12d2744acb391fe1189858
BLAKE2b-256 5eda5c1c0f96bc9914d6627065931f5633862511c8572cf2ea312fe93409a916

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dephell_specifier-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 cfc1323e6864da2e0142b9b17dc5ca27b77e07f2a1aa02f1e021bb3620f1fb01
MD5 064cad558b5dbd3f16fdacada0b311bd
BLAKE2b-256 e879dfdc6d5df3b6dc29b610e150465b5193b5c1a66dab16787d6202135f8af4

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