Skip to content

alex/Pytoad

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pytoad: A Hoptoad Notifier for Python

Pytoad is a lightweight Hoptoad notifier for Python.

Configuration

Copy config/environment.default.json to config/environment.json and modify the values to match your project.

Using the Decorator

from pytoad import pytoad_decorator
@pytoad_decorator()
def foobar():
	raise Exception('banana')

Or catch specific types of exceptions

@pytoad_decorator(monitored_exceptions=[StandardError, LookupError])
def foo():
	raise StandardError('banana')

Usage Without Decorator

from pytoad import Connection
connection = Connection()
connection.send_to_hoptoad(Exception('banana'))

About

A Hoptoad notifier for Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published