Skip to main content

Python interface to Debian's Bug Tracking System

Project description

# python-debianbts

Python-debianbts is a Python library that allows for querying Debian's [Bug
Tracking System](https://bugs.debian.org). Since 2011, python-debianbts is used
by Debian's `reportbug` to query the Bug Tracking System and has currently
(2017-11) roughly [190.000 installations](https://qa.debian.org/popcon.php?package=python-debianbts).

Python-debianbts is Python2 and Python3 compatible.


## Installing

```bash
pip install python-debianbts
```


## Quickstart

```pycon
>>> 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)
...
fixed_versions: [u'python-debianbts/1.13']
blockedby: []
done: True
unarchived: True
owner:
subject: reportbug: crashes when querying Debian BTS for reports on wnpp
archived: False
forwarded: https://github.com/venthur/python-debianbts/pull/5
bug_num: 787723
msgid: <20150604130538.GA16742@debian.org>
source: python-debianbts
location: db-h
pending: done
originator: Antonio Terceiro <terceiro@debian.org>
blocks: []
tags: [u'fixed-upstream', u'patch', u'jessie']
date: 2015-06-04 13:09:02
mergedwith: [722226, 726878, 789047]
severity: important
package: python-debianbts
summary:
log_modified: 2016-12-07 01:36:36
found_versions: []
affects: []

fixed_versions: [u'python-debianbts/2.0']
blockedby: []
done: False
unarchived: False
owner:
subject: reportbug errors out with SOAP error
archived: False
forwarded:
bug_num: 803900
msgid: <20151103013542.11170.31413.reportbug@cheddar.halon.org.uk>
source: python-debianbts
location: db-h
pending: pending
originator: Wookey <wookey@debian.org>
blocks: []
tags: []
date: 2015-11-03 01:39:01
mergedwith: []
severity: normal
package: python-debianbts
summary:
log_modified: 2015-11-03 08:36:04
found_versions: []
affects: []
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-debianbts-2.8.2.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

python_debianbts-2.8.2-py2.py3-none-any.whl (9.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file python-debianbts-2.8.2.tar.gz.

File metadata

  • Download URL: python-debianbts-2.8.2.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for python-debianbts-2.8.2.tar.gz
Algorithm Hash digest
SHA256 0cb11992c07629bc31cdb54c3a7c3f4c5d2a5096fbb01e06b12f68d35aaf5453
MD5 fdb5dcff41a46e9ddf48f11ceaab6fdb
BLAKE2b-256 5fc5ac12dd1dd89ba9e0d839c88c219e46bf63ae2f62603f54674bb7cbee0742

See more details on using hashes here.

File details

Details for the file python_debianbts-2.8.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for python_debianbts-2.8.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 174f64f1eef474b0f5ea77078703f5e79e4c77dbd69ef571607af29e0caeea3f
MD5 ef3340efc4719e6f0f8c4b5e3dfe2749
BLAKE2b-256 7d4dd3a8416accc602d9f46dc1eaa3542ebeb5339747f861f1f360a3c7e206e9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page