Skip to main content

The debian Python modules work with Debian-related data formats, providing a means to read data from files involved in Debian packaging, and the distribution of Debian packages. The ability to create or edit the files is also available for some formats.

Currently supported are:

  • Debtags information (debian.debtags module)

  • debian/changelog (debian.changelog module)

  • Packages files, pdiffs (debian.debian_support module)

  • Control files of single or multiple RFC822-style paragraphs, e.g. debian/control, .changes, .dsc, Packages, Sources, Release, etc. (debian.deb822 module)

  • Raw .deb and .ar files, with (read-only) access to contained files and meta-information (debian.debfile module)

API documentation, can be found online and throughout the code. There are examples both within the code and in the examples directory.

Note that some modules can use python-apt to speed up processing.

Contributions to python-debian are most welcome, including expansion of the module’s capabilities. If you have a module that is for manipulation or interrogation of Debian specific data then consider adding it to this package. Please discuss your ideas on the mailing list, make merge requests via the salsa repository, and see the Contributing section of the documentation.

Metadata

Release files for python-debian 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-debian 1.1.1
File Size Uploaded Provenance Actions
python_debian-1.1.1.tar.gz 128.0 kB Without provenance Details for python_debian-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for python-debian 1.1.1
File Interpreter ABI Platform Actions
python_debian-1.1.1-py3-none-any.whl Python 3 none any Details for python_debian-1.1.1-py3-none-any.whl

Total release size: 266.1 kB

Release files / python_debian-1.1.1.tar.gz

Download URL python_debian-1.1.1.tar.gz
Size 128.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fe4fc3dc798dbf1f0ef5865e2b1b4f7cc0352b6a511b25ab7594906c64a73629
BLAKE2b-256 checksum
How to use checksums
7536f90e7d006dd9311a6185f1c34b403dd6d76ff583e7962c56e9374c462a48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / python_debian-1.1.1-py3-none-any.whl

Download URL python_debian-1.1.1-py3-none-any.whl
Size 138.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f98ae013e8e5310e49041cc3860a7105df73af73d4ff1d8afb474770d328a6ad
BLAKE2b-256 checksum
How to use checksums
6e47e184f0004e63dbc49c4bad5e811218f66bece1b519f80b06a619b42e6ec3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for python-debian 1.1.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page