pep440deb – Map PEP440 version to Debian policy
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
You can use it from Python:
>>> from pep440deb import debianize
>>> debianize('1.0a1')
'1.0~a1'
Installation
Install it from PyPI:
pip install pep440deb
Metadata
Release files for pep440deb 1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pep440deb-1.3.tar.gz | 2.8 kB | Without provenance | Details for pep440deb-1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pep440deb-1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pep440deb-1.3-py2.py3-none-any.whl |
Total release size: 6.0 kB
Release files / pep440deb-1.3.tar.gz
| Download URL | pep440deb-1.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfeafaf076d6cf90e3347f9f8274a7ce6c9b7f5b27a9fbf8b46584f237bc8c72
|
|
BLAKE2b-256 checksum How to use checksums |
57e5a7df58c21b647730ae19088511b89d57768f4dbfdc01ff832f93914a3dc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pep440deb-1.3-py2.py3-none-any.whl
| Download URL | pep440deb-1.3-py2.py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b22792e873197bffc8e7f7ff7096918be8eb0389cf7a22ea82970312d4a58a71
|
|
BLAKE2b-256 checksum How to use checksums |
328fa136c602224e07cdd67021b1bb3c5c690fa9824f555cb902eb5b820a08fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pep440deb 1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.