This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
[![Build Status](https://travis-ci.org/hassaku/exception-slacker.png)](https://travis-ci.org/hassaku/exception-slacker)

# Install

```
$ pip install exception-slacker
```

# Usage

## When ENV set

```
import os
import exception_slacker

os.environ['EXCEPTION_SLACKER_TOKEN'] = "XXXXXXXXXX"
os.environ['EXCEPTION_SLACKER_CHANNEL'] = "#notification-test"
os.environ['EXCEPTION_SLACKER_NAME'] = "Exception Notifier"

raise StandardError("ERROR")
```

![screenshot](https://raw.githubusercontent.com/hassaku/exception-slacker/master/screenshot.png)

## When ENV not set

```
import exception_slacker

raise StandardError("ERROR")
```

```
Error in sys.excepthook:
Traceback (most recent call last):
File "/path/to/exception_slacker.py", line 17, in notification
raise StandardError("exception_slacker is imported, but %s aren't found in ENV." % ','.join(__KEYS))
StandardError: exception_slacker is imported, but EXCEPTION_SLACKER_TOKEN,EXCEPTION_SLACKER_CHANNEL,EXCEPTION_SLACKER_NAME aren't found in ENV.

Original exception was:
Traceback (most recent call last):
File "test.py", line 20, in <module>
raise StandardError("ERROR")
StandardError: ERROR
```

# Update PyPI

```
$ nosetests -vs
$ python setup.py register # if necessary
$ python setup.py sdist upload
```

# Contributing

- Fork the repository on Github
- Create a named feature branch (like add_component_x)
- Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github

# License

MIT
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
exception-slacker-0.1.1.tar.gz (2.3 kB) Copy SHA256 Checksum SHA256 Source Feb 27, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting