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

Property Value
Distribution Ubuntu 18.04 LTS (Bionic Beaver)
Repository Ubuntu Universe i386
Package filename python-debian_0.1.32_all.deb
Package name python-debian
Package version 0.1.32
Package release -
Package architecture all
Package type deb
Category universe/devel
Homepage -
License -
Maintainer Ubuntu Developers <>
Download size 63.78 KB
Installed size 259.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.32_all.deb 0.1.32 all Ubuntu Universe
python-debian - - -


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


Name Value
python-deb822 -


Name Value
python-deb822 -


Name Value
python-deb822 -


Type URL
Binary Package python-debian_0.1.32_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




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).
2016-06-15 - Stuart Prescott <>
python-debian (0.1.28) unstable; urgency=medium
* Change comment handling code in test suite to fix building with updated
apt packages, with thanks to Neil Williams and Barry Warsaw for the patches
(Closes: #807351).
* Add support for uncompressed control.tar deb member (Closes: #761298).
* Bump standards-version to 3.9.8 (no changes required).
* Update Vcs URLs to https ones.
* Remove support for broken timezone names from changelog parsing, with
thanks to Guillem Jover for the patch (Closes: #792415).
* Allow changelog entries to be accessed by sequence number or by version
string (Closes: #634849).
2015-04-15 - Stuart Prescott <>
python-debian (0.1.27) unstable; urgency=medium
* Tighten whitespace handling in GPG Armor Header lines, with thanks to
Guillem Jover for the patch (Closes: #782276).
2015-04-04 - Stuart Prescott <>
python-debian (0.1.26) unstable; urgency=medium
* Fix FTBFS with binutils >= 2.25-6 by turning off determinism in ar
archives when building archives in the test suite, thanks to Dmitry
Shachnev for the patch (Closes: #781543).
* Require binutils >= 2.23 for building and in the autopkgtest tests to
ensure that ar understands the option to suppress determinism.
2014-10-21 - John Wright <>
python-debian (0.1.25) unstable; urgency=medium
* deb822: More encoding gymnastics to support parsing signed files
opened in text mode (Closes: #764380).

See Also

Package Description
python-debianbts_2.7.2_all.deb Python interface to Debian's Bug Tracking System
python-debiancontributors_0.7.7-1_all.deb Manage submissions to
python-defer_1.0.6-2build1_all.deb Small framework for asynchronous programming (Python 2)
python-deltarpm_3.6+dfsg-1build6_i386.deb Python bindings for deltarpm
python-demgengeo_1.2-1build5_i386.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.3.0+dfsg-1_all.deb DendroPy Phylogenetic Computing Library (Python 2)
python-derpconf_0.8.2-1_all.deb Python module to abstract loading configuration files for your app
python-descartes_1.1.0-1_all.deb Matplotlib extension to work with geometric objects (Python2)
python-designate-dashboard_6.0.0-0ubuntu1.1_all.deb OpenStack DNS as a Service - dashboard plugin
python-dexml_0.5.1-1_all.deb Dead-simple Object-XML mapper for Python
python-dfdatetime_20180110-1_all.deb Digital Forensics date and time library for Python 2
python-dfvfs_20171230-1ubuntu1_all.deb Digital Forensics Virtual File System
python-dfwinreg_20170706-2_all.deb Digital Forensics Windows Registry library for Python 2
python-dhm_0.6-4_all.deb collection of Python utilities / helper