python-debianbts
python-debianbts is a Python library that allows for querying Debian's Bug Tracking System using its SOAP interface. With this package you can query for bugs of a particular package, get the status of a bug read the messages of bug reports and more.
Since 2011, python-debianbts is used by Debian's reportbug to query the Bug
Tracking System and has currently (2024) roughly 200.000
installations.
Online documentation is available on readthedocs.
Installing
python-debianbts is available on Debian, on every other platform it can be installed via pip:
pip install python-debianbts
Quickstart
>>> import debianbts as bts
>>> bts.get_bugs(package='python-debianbts')
[803900, 787723, 824111, 639458, 726878, 722226, 789047]
>>> bts.get_status([803900, 787723])
[<debianbts.debianbts.Bugreport at 0x7f47080d8c10>,
<debianbts.debianbts.Bugreport at 0x7f47080d80d0>]
>>> for b in bts.get_status([803900, 787723]):
... print(b)
...
originator: Antonio Terceiro <terceiro@debian.org>
date: 2015-06-04 13:09:02
subject: reportbug: crashes when querying Debian BTS for reports on wnpp
msgid: <20150604130538.GA16742@debian.org>
package: python-debianbts
tags: ['fixed-upstream', 'patch', 'jessie']
done: True
forwarded: https://github.com/venthur/python-debianbts/pull/5
mergedwith: [722226, 726878, 789047]
severity: important
owner:
found_versions: []
fixed_versions: ['python-debianbts/1.13']
blocks: []
blockedby: []
unarchived: True
summary:
affects: []
log_modified: 2019-07-08 07:27:36
location: archive
archived: True
bug_num: 787723
source: python-debianbts
pending: done
done_by: Bastian Venthur <venthur@debian.org>
originator: Wookey <wookey@debian.org>
date: 2015-11-03 01:39:01
subject: reportbug errors out with SOAP error
msgid: <20151103013542.11170.31413.reportbug@cheddar.halon.org.uk>
package: python-debianbts
tags: []
done: False
forwarded:
mergedwith: []
severity: normal
owner:
found_versions: []
fixed_versions: ['python-debianbts/2.0']
blocks: []
blockedby: []
unarchived: False
summary:
affects: []
log_modified: 2015-11-03 08:36:04
location: db-h
archived: False
bug_num: 803900
source: python-debianbts
pending: pending
done_by: None
Metadata
Release files for python-debianbts 4.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_debianbts-4.1.1.tar.gz | 16.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_debianbts-4.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.6 kB
Release files / python_debianbts-4.1.1.tar.gz
| Download URL | python_debianbts-4.1.1.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f443b18ce2411b373103784715e6707df034f48dad7be387a6917b16e154d793
|
|
BLAKE2b-256 checksum How to use checksums |
b52c10993f887ddf762d46540946e4dca6ccf03b9d1799101622b22379670ca4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|
Release files / python_debianbts-4.1.1-py3-none-any.whl
| Download URL | python_debianbts-4.1.1-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9900941d94a41039520fc25847bb74cad92eacf14698c9fbd3f4d2360a1c2161
|
|
BLAKE2b-256 checksum How to use checksums |
fd7cb1dfbaa44e8a4a992443dbe21d0c37e77b820ff069a9d0eb9df917934dbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.9
|