Skip to main content

ErrorFeed client and WSGI middleware

Project description

ErrorFeed Python Client

Welcome to the ErrorFeed Python client, which makes it super-duper easy to integrate ErrorFeed exception tracking into your Python project.

To get started tracking errors,

  1. Create an account on ErrorFeed.com
  2. Create a new project
  3. Get your API token
  4. Add ErrorFeed to your WSGI Middleware, or use it directly.

Installation

ErrorFeed is in pypi:

# easy_install errorfeed

or

# pip install errorfeed

Directly use the client

Here's how to get started:

>>> import ErrorFeed
>>> errorfeed_client = ErrorFeed.ErrorFeedClient(
...     api_token='-- YOUR ACCOUNT TOKEN --',
...     environment='development-experiment', tags=['documentation-test'])
>>> print errorfeed_client
<ErrorFeed.ErrorFeedClient object at 0x10bcfbb90>
>>> try:
...     oops = 1 / 0
... except:
...     errorfeed_client.handle_exception()
...

Then you can use the WSGI Middleware:

>>> app = ErrorFeedMiddleware(app, errorfeed_client)

Compatibility

This ErrorFeed Python Client is compatible with Python 2.7 and 3.x and ErrorFeed API v1.

License

Copyright 2015-2018 ErrorFeed. All Rights Reserved.

This software is licensed under the Apache License, version 2.0.

See LICENSE for full details.

Getting Help

Email support@errorfeed.com with your questions.

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 errorfeed, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size errorfeed-2.0.1.tar.gz (5.1 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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page