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. 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.

Online documentation is available on readthedocs.

Installing

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

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-3.2.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

python_debianbts-3.2.1-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: python-debianbts-3.2.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for python-debianbts-3.2.1.tar.gz
Algorithm Hash digest
SHA256 3b80786816167f10f2f0b3ec81969552651efdb574be405d4297a06166e30c45
MD5 05099e1c09defc8d87e0c85239b6af36
BLAKE2b-256 e9da83cf6781ea96855e24913b672fe6d32555789a5fcddece2c033d9fcadc62

See more details on using hashes here.

File details

Details for the file python_debianbts-3.2.1-py3-none-any.whl.

File metadata

  • Download URL: python_debianbts-3.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.4

File hashes

Hashes for python_debianbts-3.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6f8d61499f9570a3578fcaa14ace41eb3cc74e245ac756c385275b4408471ab
MD5 acef56504f6421c84339cd4f98d1a2ac
BLAKE2b-256 8d6a797367c0532302ef97453d6efe3e20bceb7f0f75cfcdc6106560d9b6ca0a

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