Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pior/pyramid_bugsnag
Pyramid extension to configure and integrate the Bugsnag client
https://github.com/pior/pyramid_bugsnag
bugsnag exceptions pyramid
Last synced: 2 days ago
JSON representation
Pyramid extension to configure and integrate the Bugsnag client
- Host: GitHub
- URL: https://github.com/pior/pyramid_bugsnag
- Owner: pior
- License: mit
- Created: 2017-10-17T05:07:40.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-07-12T15:30:54.000Z (over 4 years ago)
- Last Synced: 2024-12-27T21:17:57.331Z (about 1 month ago)
- Topics: bugsnag, exceptions, pyramid
- Language: Python
- Homepage:
- Size: 43.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pyramid extension for Bugsnag
[![Version](https://img.shields.io/pypi/v/pyramid-bugsnag.svg)](https://pypi.python.org/pypi/pyramid-bugsnag)
[![License](https://img.shields.io/pypi/l/pyramid-bugsnag.svg)](https://pypi.python.org/pypi/pyramid-bugsnag)
[![PythonVersions](https://img.shields.io/pypi/pyversions/pyramid_bugsnag.svg)](https://pypi.python.org/pypi/pyramid-bugsnag)
[![Build](https://travis-ci.org/pior/pyramid_bugsnag.svg?branch=multi-python-ci-travis)](https://travis-ci.org/pior/pyramid_bugsnag)Send error from a Pyramid application to [Bugsnag](https://www.bugsnag.com/)
## Installing
```shell
$ pip install pyramid_bugsnag
```## Usage
Include *pyramid_bugsnag* either in your paster config:
```ini
[app:main]
pyramid.includes = pyramid_bugsnag
```or on your Pyramid configurator:
```python
config = Configurator()
config.include('pyramid_bugsnag')
```The *Bugsnag* client can be configured through the Paster settings:
```ini
bugsnag.api_key = 0123456789abcdef0123456789abcdefbugsnag.release_stage = production
bugsnag.notify_release_stages = stage productionbugsnag.ignore_classes =
KeyboardInterrupt
pyramid.httpexceptions.HTTPNotFoundbugsnag.send_code = true
```But nothing stops you from configuring the client directly:
```python
bugsnag.configure(api_key='0123456789abcdef0123456789abcdef')
```Full list of options on [docs.bugsnag.com](https://docs.bugsnag.com/platforms/python/other/configuration-options/)
## Development
Development dependencies are managed by [Pipenv](https://docs.pipenv.org/)
Install Pipenv:
```shell
$ pip install pipenv
```Create/update your development environment:
```shell
$ pipenv install --dev
...$ pipenv shell
(new shell)$
```Run the tests:
```shell
$ pytest -v
```Run the linters:
```shell
$ pylama
```