Skip to main content

Translate PEP440 version to Debian policy

Project description

Debian and Python has two distincts conventions for version scheme. Each have a different way to tell a pre-release tag, etc. pep440deb is a little helper for managing translation of Python package version to Debian version policy.

$ pep440deb 1.0a1
1.0~a1
$ pep440deb --echo --pypi pip
9.0.1 9.0.1
$ echo 1.0.dev0 | pep440deb --file -
1.0~dev0

Installation

Install it from PyPI:

pip install pep440deb

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

pep440deb-1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

pep440deb-1.1-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pep440deb-1.1.tar.gz.

File metadata

  • Download URL: pep440deb-1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pep440deb-1.1.tar.gz
Algorithm Hash digest
SHA256 dbabda4980320dd610e9fc5683acd960f1b4f690e79a4b235cc77eff48fe4955
MD5 c17dcb82e0252a3010005cc0f531f1c8
BLAKE2b-256 02304344248db6994b1367d86deb495a6da8ebeef3b89e8f75c177d950b4fb16

See more details on using hashes here.

Provenance

File details

Details for the file pep440deb-1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pep440deb-1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fc3d53b8e33e8aaf61bdcd41b18548f626ff284b682b766289176b19cac836c8
MD5 10eda477654fbcef6d33402d5639d3dc
BLAKE2b-256 a0d9e74706ce519bbbc8eb26738b622f83033b649e3de0519ba8ad1f3823e4b5

See more details on using hashes here.

Provenance

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