python-debian - Python modules to work with Debian-related data formats

Property Value
Distribution Ubuntu 19.04 (Disco Dingo)
Repository Ubuntu Universe amd64
Package filename python-debian_0.1.34_all.deb
Package name python-debian
Package version 0.1.34
Package release -
Package architecture all
Package type deb
Category universe/devel
License -
Maintainer Ubuntu Developers <>
Download size 68.27 KB
Installed size 301.00 KB
This package provides Python modules that abstract many formats of Debian
related files. Currently handled 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


Package Version Architecture Repository
python-debian_0.1.34_all.deb 0.1.34 all Ubuntu Universe
python-debian - - -


Name Value
python-chardet -
python-six >> 1.4~
python:any >= 2.7~
python:any << 2.8


Name Value
python-deb822 -


Name Value
python-deb822 -


Name Value
python-deb822 -


Type URL
Binary Package python-debian_0.1.34_all.deb
Source Package python-debian

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-debian deb package:
    # sudo apt-get install python-debian




2019-01-18 - Stuart Prescott <>
python-debian (0.1.34) unstable; urgency=medium
[ Jelmer Vernooij ]
* Fix typo in documentation.
[ Stuart Prescott ]
* Fix "DeprecationWarning" regarding the move of ABCs from collections to, with thanks to Jakub Wilk for the report
(Closes: #914737).
* Add accessors for Version objects from Deb822 (Closes: #901651).
* Issue warnings if calling code requested use of python-apt for processing
a Deb822 file but that request could not be honoured (see: #913274).
* Make internal parser match python-apt in strictness when dealing with
Packages and Sources files (Closes: #913274).
* Update Standards-Version to 4.3.0 (no changes required).
2018-08-19 - Stuart Prescott <>
python-debian (0.1.33) unstable; urgency=medium
* Switch to URLs for homepage, source location etc.
* Bump to debhelper compat 11 (no changes required).
* Update standards-version to 4.2.0 (no changes required).
* Enable the test suite as a CI pipeline on
* Enable building of API documentation using sphinx.
* Publish the API documentation via salsa.
* Fix up various rst issues in documentation and move around docs so that
they can be included in the sphinx output (Closes: #894214).
* Fix handling of http vs https in copyright-format/1.0 parser.
* Add Python 2 compatible type annotation comments throughout.
* Considerable code polish based on pylint and mypy.
2018-02-17 - Stuart Prescott <>
python-debian (0.1.32) unstable; urgency=medium
* Fix regexps that are invalid escape sequences with Python 3.6, with thanks
to Ville Skyttä <> for the patch (Closes: #878434).
* Fix spelling errors, with thanks to Ville Skyttä <>
for the patch (Closes: #878435).
* Add additional documentation about how python-apt is used, with thanks to
Matthieu Caneill <> for the patch (Closes: #862058).
* Extend Deb822 parser to allow underscores in the field name, with thanks
to Gerhard Poul <> for the patch.
* Update Vcs fields to point to, with thanks to John Wright
for doing the migration.
* Update Standards-Version to 4.1.3 (no changes required).
2017-09-24 - Stuart Prescott <>
python-debian (0.1.31) unstable; urgency=medium
* Fix codename for 'rex' release, With thanks to Philipp Hahn
<> for the report and patch (Closes: #863724).
* Include archqual in the deb822.PkgRelation.str output, with thanks to
Maximiliano Curia <> for the report and patch
(Closes: #868249).
* Use unittest rather than nose for test suite discovery (Closes: #851324).
* Update Standards-Version to 4.1.0 (no changes required).
* Use dpkg's to get package version in d/rules.
* Add debian/HACKING with some notes about the package.
2017-01-25 - Stuart Prescott <>
python-debian (0.1.30) unstable; urgency=medium
* Add missing chardet dependency in (Closes: #838695, #841071).
* Add stretch, buster and bullseye to known releases (Closes: #849058).
* Allow iter_paragraphs to accept bytes under Python 3 (Closes: #833375).
* Don't suppress ChangelogParseError in strict mode when reading in a
changelog via the constructor (Closes: #844026).
* Add experimental API for ftp-master archive removals data (Closes: #473793).
2016-08-18 - Stuart Prescott <>
python-debian (0.1.29) unstable; urgency=medium
* Fix handling of gpgv output from gnupg 2 (Closes: #782904).
* Explain what type was passed when raising the TypeError, with thanks to
Chris Lamb <> for the patch (Closes: #833363).
* Include examples and extra docs in python3-debian package (Closes: #833368).

See Also

Package Description
python-debianbts_2.8.2_all.deb Python interface to Debian's Bug Tracking System
python-debiancontributors_0.7.7-1_all.deb Manage submissions to
python-decorator_4.3.0-1.1_all.deb simplify usage of Python decorators by programmers
python-defer_1.0.6-2build1_all.deb Small framework for asynchronous programming (Python 2)
python-defusedxml_0.5.0-1ubuntu1_all.deb XML bomb protection for Python stdlib modules (for Python 2)
python-deltarpm_3.6+dfsg-1build8_amd64.deb Python bindings for deltarpm
python-demgengeo_1.2-1build6_amd64.deb DEMGenGeo is a library for creating geometry files
python-demjson_2.2.4-2_all.deb encoder, decoder, and lint/validator for JSON in Python (python2)
python-dendropy_4.4.0-1_all.deb DendroPy Phylogenetic Computing Library (Python 2)
python-deprecation_2.0.6-1_all.deb Library to handle automated deprecations - Python 2.x
python-derpconf_0.8.2-2_all.deb Python module to abstract loading configuration files for your app
python-descartes_1.1.0-2_all.deb Matplotlib extension to work with geometric objects (Python2)
python-designateclient_2.11.0-0ubuntu1_all.deb client library for the OpenStack Designate API - Python 2.7
python-dexml_0.5.1-1_all.deb Dead-simple Object-XML mapper for Python
python-dfdatetime_20190116-1_all.deb Digital Forensics date and time library for Python 2