Skip to main content

Python errors Catcher module for Hawk.

Project description

Python errors Catcher module for


First of all, you should register an account on

Then register your project.

You’ll get token for the project on email or you can just copy it on settings page.

Install module

Install hawkcatcher from PyPI.

$ pip3 install hawkcatcher

Import Catcher module to your project.

from hawkcatcher import Hawk

Then enable Hawk Catcher with your token.

hawk = Hawk('1234567-abcd-8901-efgh-123456789012')

Now all global errors would be sent to Hawk.


If you want to catch errors in try-except blocks then use hawk.catch() in except:


Init params

There are two way to init Hawk module.


Just enter a project token.

hawk = Hawk('1234567-abcd-8901-efgh-123456789012')

Params dictionary

If you need to use custom Hawk server.

hawk = Hawk({
    'token': '1234567-abcd-8901-efgh-123456789012',
    'domain': 'myproject.codex',
    'host': '',
    'path': 'catcher/python',
    'secure': True,

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 hawkcatcher, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size hawkcatcher-0.2.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page