Skip to main content

A crash report framework for PyQt/PySide applications

Project description


Latest PyPI version Number of PyPI downloads API Coverage Travis-CI Build Status

A PyQt/PySide framework for reporting application crash (unhandled exception) and/or let the user report an issue/feature request.


  • multiple builtin backends for reporting bugs:
    • github_backend: let you create issues on github
    • email_backend: let you send an email with the crash report.
  • highly configurable, you can create your own backend, set your own formatter,…
  • a thread safe exception hook mechanism with a way to setup your own function


Screenshots taken on KDE Plasma 5

  • Report dialog
  • Review report before submitting
  • Github integration


QCrash is licensed under the MIT license.


pip install qcrash


Basic usage:

import qcrash.api as qcrash

# setup our own function to collect system info and application log
qcrash.get_application_log = my_app.get_application_log
qcrash.get_system_information = my_app.get_system_info

# configure backends
github = qcrash.backends.GithubBackend('ColinDuquesnoy', 'QCrash')
email = qcrash.backends.EmailBackend('')
qcrash.install_backend([github, email])

# install exception hook

# or show the report dialog manually

Some more detailed examples are available. Also have a look at the API documentation.



To run the tests, just run the following command:

python test

Project details

Download files

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

Files for qcrash, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size qcrash-0.2.0-py2.py3-none-any.whl (34.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size qcrash-0.2.0.tar.gz (23.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page