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.1.1.tar.gz (128.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_debian-1.1.1-py3-none-any.whl (138.1 kB view details)

Uploaded Python 3

File details

Details for the file python_debian-1.1.1.tar.gz.

File metadata

  • Download URL: python_debian-1.1.1.tar.gz
  • Upload date:
  • Size: 128.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for python_debian-1.1.1.tar.gz
Algorithm Hash digest
SHA256 fe4fc3dc798dbf1f0ef5865e2b1b4f7cc0352b6a511b25ab7594906c64a73629
MD5 3de53753e6333b9772bba314d09de2a8
BLAKE2b-256 7536f90e7d006dd9311a6185f1c34b403dd6d76ff583e7962c56e9374c462a48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_debian-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 138.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for python_debian-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f98ae013e8e5310e49041cc3860a7105df73af73d4ff1d8afb474770d328a6ad
MD5 d5fabd9372b5c8247b27d83e6b67057b
BLAKE2b-256 6e47e184f0004e63dbc49c4bad5e811218f66bece1b519f80b06a619b42e6ec3

See more details on using hashes here.

Supported by

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