Skip to main content

"A Python tool for collecting information when reporting bugs."

Project description

reportabug

A Python tool for collecting information when reporting bugs.

PyPI version Code style: black Build Status

Installation

python -m pip install git+https://github.com/zooba/reportabug
python -m pip install reportabug

Installing directly from GitHub is recommended for now, as not every improvement is being released to PyPI.

Usage

reportabug [--format FORMAT] [MODULE NAMES]
python -m reportabug [--format FORMAT] [MODULE NAMES]

The report will be output to the console. You should copy-paste this into your bug report.

FORMAT may be one of ghmarkdown (default, also ghmd and ghm), markdown (also md and m), or text (also t). In general, ghmarkdown will be valid and optimised for GitHub issues, while markdown will be more pure.

On Windows, you can pipe to clip.exe to store the output on the clipboard.

python -m reportabug [MODULE NAMES] | clip

Some personal information will be hidden, though a non-reversible summary of its contents is included as this information may be important. Remember to review your report for personal information before sharing.

See issue #1 for an example report.

API

Currently, reportabug has no public API. However, modules specified on the command line may expose a _reportabug_info generator to provide additional info.

def _reportabug_info(arg):
    yield 'summary', 'summary line of text'
    yield 'key', VALUE

Each key/value pair will be added to the result section for the module. If the summary key exists, it will be added to a summary section if one exists for the selected output format.

The arg parameter is currently undefined, but may be used in future.

Contributing

Contributions are welcome. Feel free to file an issue or PR.

Requests to add further information to the report should include supporting evidence, such as a bug that would have been diagnosed more quickly with the additional information.

Privacy

No information is transmitted by this tool. Please review and remove personal information from the generated reports before sharing with other people.

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

reportabug-0.19.85.2.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reportabug-0.19.85.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file reportabug-0.19.85.2.tar.gz.

File metadata

  • Download URL: reportabug-0.19.85.2.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for reportabug-0.19.85.2.tar.gz
Algorithm Hash digest
SHA256 c723f2215fafe98066a7f176a70e024fc9461e502e8e76fa51c62b565a911998
MD5 7530ecb1460effb16d787b183638d59a
BLAKE2b-256 7b56de93bc567b29731a7bb00dc12c7f1d0f955e4b7b2d7f328a7a53891e53c3

See more details on using hashes here.

File details

Details for the file reportabug-0.19.85.2-py3-none-any.whl.

File metadata

  • Download URL: reportabug-0.19.85.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2

File hashes

Hashes for reportabug-0.19.85.2-py3-none-any.whl
Algorithm Hash digest
SHA256 28bb31d0cc016aeac3b13b35ccc4e79572398d17cbf63e960806532159773337
MD5 9a5a2c1c81f3cff6ac9d494183897311
BLAKE2b-256 fbc49aaeacf486198f8746d9862b106e0d58862206ea03f44f094784c2cd6807

See more details on using hashes here.

Supported by

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