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

Uploaded Source

Built Distribution

dephell_specifier-0.1.0-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dephell_specifier-0.1.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for dephell_specifier-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7eb28948d314af9c3b8bbcf842752e0e19a655177dd0dd81ba197206ca3ec5c4
MD5 513a3dc6288a93a2006fec34bdc60b17
BLAKE2b-256 c424158c3e7d8d81535f151a73c6362e1cd984aa85f8973b2037c1d03d8b2563

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dephell_specifier-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.8 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/39.0.1 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for dephell_specifier-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3d357e2d4bca3d162b6ae9ab0827799db7e06c7d2b5b6afc8b929c71097436b
MD5 fb5773bbc82b7f17e5c9d04642f3ad16
BLAKE2b-256 7cb29caaa0268b75921d65ceb9c425e37043d7212a643f6c51589f89e1665206

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