python-debianbts


Namepython-debianbts JSON
Version 4.0.2 PyPI version JSON
download
home_page
SummaryPython interface to Debian's Bug Tracking System
upload_time2023-10-22 13:53:17
maintainer
docs_urlNone
author
requires_python<4,>=3.8
licenseMIT License Copyright (c) 2018 Bastian Venthur Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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).

Online [documentation][] is available on readthedocs.

[documentation]: https://python-debianbts.readthedocs.io/en/latest/


## Installing

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


## Quickstart

```python
>>> 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
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "python-debianbts",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "<4,>=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "",
    "author_email": "Bastian Venthur <venthur@debian.org>",
    "download_url": "https://files.pythonhosted.org/packages/ee/8e/85e7b7160f76713b3ad56e1f77bd44bca5beaddec45529cdbc6a2ffa5fa9/python-debianbts-4.0.2.tar.gz",
    "platform": null,
    "description": "# python-debianbts\n\nPython-debianbts is a Python library that allows for querying Debian's [Bug\nTracking System](https://bugs.debian.org). Since 2011, python-debianbts is used\nby Debian's `reportbug` to query the Bug Tracking System and has currently\n(2017-11) roughly [190.000 installations](https://qa.debian.org/popcon.php?package=python-debianbts).\n\nOnline [documentation][] is available on readthedocs.\n\n[documentation]: https://python-debianbts.readthedocs.io/en/latest/\n\n\n## Installing\n\n```bash\npip install python-debianbts\n```\n\n\n## Quickstart\n\n```python\n>>> import debianbts as bts\n\n>>> bts.get_bugs(package='python-debianbts')\n[803900, 787723, 824111, 639458, 726878, 722226, 789047]\n\n>>> bts.get_status([803900, 787723])\n[<debianbts.debianbts.Bugreport at 0x7f47080d8c10>,\n <debianbts.debianbts.Bugreport at 0x7f47080d80d0>]\n\n>>> for b in bts.get_status([803900, 787723]):\n...     print(b)\n...\noriginator: Antonio Terceiro <terceiro@debian.org>\ndate: 2015-06-04 13:09:02\nsubject: reportbug: crashes when querying Debian BTS for reports on wnpp\nmsgid: <20150604130538.GA16742@debian.org>\npackage: python-debianbts\ntags: ['fixed-upstream', 'patch', 'jessie']\ndone: True\nforwarded: https://github.com/venthur/python-debianbts/pull/5\nmergedwith: [722226, 726878, 789047]\nseverity: important\nowner: \nfound_versions: []\nfixed_versions: ['python-debianbts/1.13']\nblocks: []\nblockedby: []\nunarchived: True\nsummary: \naffects: []\nlog_modified: 2019-07-08 07:27:36\nlocation: archive\narchived: True\nbug_num: 787723\nsource: python-debianbts\npending: done\ndone_by: Bastian Venthur <venthur@debian.org>\n\noriginator: Wookey <wookey@debian.org>\ndate: 2015-11-03 01:39:01\nsubject: reportbug errors out with SOAP error\nmsgid: <20151103013542.11170.31413.reportbug@cheddar.halon.org.uk>\npackage: python-debianbts\ntags: []\ndone: False\nforwarded: \nmergedwith: []\nseverity: normal\nowner: \nfound_versions: []\nfixed_versions: ['python-debianbts/2.0']\nblocks: []\nblockedby: []\nunarchived: False\nsummary: \naffects: []\nlog_modified: 2015-11-03 08:36:04\nlocation: db-h\narchived: False\nbug_num: 803900\nsource: python-debianbts\npending: pending\ndone_by: None\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2018 Bastian Venthur  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Python interface to Debian's Bug Tracking System",
    "version": "4.0.2",
    "project_urls": {
        "Changelog": "https://github.com/venthur/python-debianbts/blob/master/CHANGELOG.md",
        "Documentation": "https://python-debianbts.readthedocs.io/",
        "Source": "https://github.com/venthur/python-debianbts"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "37932db7533007860ec3ed9c100027e50b31a10de372333e82731ed746a5d5f4",
                "md5": "23f1b7ad85eb885292b5bc1047aa3494",
                "sha256": "cf99eb4b309d8c458c89e10832ac7844f0ac06e632f16e83a9c331845eb966fc"
            },
            "downloads": -1,
            "filename": "python_debianbts-4.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "23f1b7ad85eb885292b5bc1047aa3494",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4,>=3.8",
            "size": 10698,
            "upload_time": "2023-10-22T13:53:16",
            "upload_time_iso_8601": "2023-10-22T13:53:16.177314Z",
            "url": "https://files.pythonhosted.org/packages/37/93/2db7533007860ec3ed9c100027e50b31a10de372333e82731ed746a5d5f4/python_debianbts-4.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ee8e85e7b7160f76713b3ad56e1f77bd44bca5beaddec45529cdbc6a2ffa5fa9",
                "md5": "719b4072cc3661cd64a3971f8ccbdc83",
                "sha256": "25b3dbd2564d0fde972d9354f7bc0cb93f6218d5d5376293b190b64ade857ee5"
            },
            "downloads": -1,
            "filename": "python-debianbts-4.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "719b4072cc3661cd64a3971f8ccbdc83",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.8",
            "size": 14981,
            "upload_time": "2023-10-22T13:53:17",
            "upload_time_iso_8601": "2023-10-22T13:53:17.920445Z",
            "url": "https://files.pythonhosted.org/packages/ee/8e/85e7b7160f76713b3ad56e1f77bd44bca5beaddec45529cdbc6a2ffa5fa9/python-debianbts-4.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-22 13:53:17",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "venthur",
    "github_project": "python-debianbts",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "python-debianbts"
}
        
Elapsed time: 0.13187s