可用于读取、创建和编辑 Debian 打包相关文件,支持 Debtags 信息、changelog、Packages 文件、控制文件等多种格式,提供 API 文档和示例,部分模块可借助 python-apt 加速处理。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago | ||
| 4 years ago |
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 (:mod:
debian.debtagsmodule) - debian/changelog (:mod:
debian.changelogmodule) - Packages files, pdiffs (:mod:
debian.debian_supportmodule) - Control files of single or multiple RFC822-style paragraphs, e.g.
debian/control, .changes, .dsc, Packages, Sources, Release, etc.
(:mod:
debian.deb822module) - Raw .deb and .ar files, with (read-only) access to contained
files and meta-information (:mod:
debian.debfilemodule)
API documentation, can be found online and throughout the code. There
are examples both within the code and in the examples directory.
.. _API documentation: https://python-debian-team.pages.debian.net/python-debian/
.. _examples: https://salsa.debian.org/python-debian-team/python-debian/tree/master/examples
Note that some modules can use python-apt_ to speed up processing.
.. _python-apt: https://packages.debian.org/unstable/python3-apt
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 :ref:Contributing section of this documentation.
.. _mailing list: mailto:pkg-python-debian-maint@lists.alioth.debian.org
.. _salsa repository: https://salsa.debian.org/python-debian-team/python-debian
Introduction
可用于读取、创建和编辑 Debian 打包相关文件,支持 Debtags 信息、changelog、Packages 文件、控制文件等多种格式,提供 API 文档和示例,部分模块可借助 python-apt 加速处理。【此简介由AI生成】
Customize your domain