python-debian
Python modules to work with Debian-related data formats
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
Homepage: | - |
Package version: | 0.1.18+squeeze1 |
Architecture: | all |
Distribution: | Debian |
Filename: | python-debian_0.1.18+squeeze1_all.deb |
/usr/share/doc/python-debian/README.changelog.gz
README for debian.changelog
---------------------------
The aim of this module is to provide programmatic access to Debian changelogs
to query and manipulate them.
N.B. The API is not stable yet, and so you can expect it to change.
Create a changelog object using the constuctor. Pass it the contents of the
file if there are some entries, or None to create an empty changelog.
See /usr/share/doc
more»
/usr/share/doc/python-debian/README
This is a collection of modules that are for dealing with Debian related
data. Each module is documented with it's own README file, or some examples.
Currently supported are
* Debtags data with debtags.py
* Debian changelogs with changelog.py
* Packages files and the like with deb822.py
* .deb files (and .ar files FWIW) via debfile.py
Some of the modules will use python-apt for some of
more»
/usr/share/doc/python-debian/README.deb822
deb822.py README
================
The Python deb822 aims to provide a dict-like interface to various rfc822-like
Debian data formats, like Packages/Sources, .changes/.dsc, pdiff Index files,
etc. The benefit is that deb822 knows about special fields that contain
whitespace separated sub-fields, and provides named access to them. For
example, the "Files" field in Source packages, which has three s
more»
/usr/share/doc/python-debian/README.debtags.gz
debtags.py README
=================
The Debtags python module provides support for accessing and ma
more»
/usr/share/doc/python-debian/NEWS.Debian.gz
python-debian (0.1.1) unstable; urgency=low
This release includes an API incompatible change to c
more»
/usr/share/doc/python-debian/changelog.gz
python-debian (0.1.18+squeeze1) stable; urgency=low
* Allow ':' as the first character of a value
more»
/usr/share/doc/python-debian/examples/changelog/changelog_to_file
#!/usr/bin/python
# changelog_to_file -- An example of outputting to changelog to a file.
# Copyrigh
more»
/usr/share/doc/python-debian/examples/debfile/changelog_head
#!/usr/bin/python
# changelog_head - head like tool for .deb changelog entries
# Copyright (C) 2007
more»
Browse inside python-debian_0.1.18+squeeze1_all.deb
Download python-debian_0.1.18+squeeze1_all.deb