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

Uploaded Source

Built Distribution

python_debian-1.0.1-py3-none-any.whl (137.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-debian-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 3ada9b83a3d671b58081782c0969cffa0102f6ce433fbbc7cf21275b8b5cc771
MD5 d1a4530365cc306b63aae9f34f40e88b
BLAKE2b-256 bf4b3c4cf635311b6203f17c2d693dc15e898969983dd3f729bee3c428aa60d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for python_debian-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8f137c230c1d9279c2ac892b35915068b2aca090c9fd3da5671ff87af32af12c
MD5 8b76ccd0c53e91c2b5ba10ddbf64d7bd
BLAKE2b-256 ba15e8096189b18dda72e4923622abc10b021ecff723b397e22eff29fb86637b

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