Skip to main content

Modules to read and manipulate many file formats related to Debian packages and repositories

Project description

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.

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

python-debian-1.0.0.tar.gz (127.2 kB view details)

Uploaded Source

Built Distribution

python_debian-1.0.0-py3-none-any.whl (137.4 kB view details)

Uploaded Python 3

File details

Details for the file python-debian-1.0.0.tar.gz.

File metadata

  • Download URL: python-debian-1.0.0.tar.gz
  • Upload date:
  • Size: 127.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for python-debian-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e19d8d31a7bb2d5939dffd1c21d27d4e49bbb683bb061c24420295ecedf4b2ad
MD5 a0cb720478ee265a039d32a2d9c310a6
BLAKE2b-256 1b1db4b7ab8c48dbcd91cd2bcef310a814764b50b32c4f0aeb3bcd2316ba488c

See more details on using hashes here.

File details

Details for the file python_debian-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for python_debian-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 80cbcf04ed23e36033d37f651ea0f19eb08c1af6d3b75d09ceeae35fca04ae1a
MD5 01f556871b687214a130641a71ca81dc
BLAKE2b-256 6ceb5b54844c115dc012166a822284decab274a7fa68c9c01387f95eb23d8dde

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page