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 GitLab:

pip install https://gitlab.com/bersace/pep440deb/repository/archive.tar.bz2?ref=master#egg=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.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

pep440deb-1.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pep440deb-1.0.tar.gz
Algorithm Hash digest
SHA256 951a1f492292f0421199d59610e6819fcaf5202cd68e090107a78ced63dbdcc4
MD5 a0e4ff3fd3c2d3a2a8efb1a2412e421c
BLAKE2b-256 2441c499523f136e33a645c36a455338e8badb0aa75ac8a8d7b6f83ce343e0c0

See more details on using hashes here.

Provenance

File details

Details for the file pep440deb-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pep440deb-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91fb019d83843cf8e3232af3b83323168ae80526119b916de5653d38c87f700f
MD5 6c9dc7883b843029b0abe213133ce101
BLAKE2b-256 a0eb22d338d2fe0f8e17f17d470d8911b5312af3b0996c4c2d163a07afdbd83f

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