Skip to main content

Work with version specifiers.

Project description

Dephell Specifier

Work with version specifiers.

Installation

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

Uploaded Source

Built Distribution

dephell_specifier-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dephell_specifier-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 02cc731a4c25fb7c481e1a1ff6f1cd652cd6f634ae85af171b08850b9a5fc40f
MD5 56a20a7e11ad2f3a84dc1fc6223c003f
BLAKE2b-256 061ad79f8841de3cfb90f39a516d32167211314bbf467a589579ae71d3151a9c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dephell_specifier-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b325acd2a5510188007c06b833df03732db8541388cf3eb1f0b81c5972bcd4b4
MD5 29024108e34dc4cc5e40790c7f0d0ee4
BLAKE2b-256 e6ff0f224febea21b6ebf9e152bcfc7c0e389b9bf0c119c7ca48aa86b7d4fe6e

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