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.0.tar.gz (127.8 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.0-py3-none-any.whl (138.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python_debian-1.1.0.tar.gz
  • Upload date:
  • Size: 127.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for python_debian-1.1.0.tar.gz
Algorithm Hash digest
SHA256 afe3c7267d81c29c79ab44d803a0756d0796b0e41bb0a05c5cafcdd2b980d4e6
MD5 98a11a5d01f89048430105c82009502b
BLAKE2b-256 ebf4ec7ba072029399a89a2670bcef4df79c52f2efaa672f86e0a86252313333

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_debian-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 138.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for python_debian-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3e553b6d0b886272a26649e13106e33c382bcd21c80b09f5c0c81fc7c8c8c743
MD5 9de254766cee4245f1aae7b81cc4b0b0
BLAKE2b-256 0a66af49103279c07900b89b7ebac53111910aa8eb6d898be0b47220036b0b03

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