Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Forward exceptions raised by a setuptools entrypoint to sentry

Project Description

sentry-wrapper calls a setuptools entrypoint and sends exceptions to sentry.


usage: sentry-wrapper [-h] [--dsn SENTRY_DSN] name [dist] [group] [-- ...]

positional arguments:
name Entry point name (eg. my-entrypoint)
dist Distribution name (eg. my-project==1.2.4, default: same
value than name)
group Entry point group (default: console-scripts)

optional arguments:
-h, --help show this help message and exit
--dsn SENTRY_DSN Sentry DSN

Extra arguments are given as is to the wrapped entrypoint.


To install in a virtualenv::

$> virtualenv myenv
$> source myenv/bin/activate
$> pip install sentry-wrapper


To start hacking on sentry-wrapper::

$> virtualenv myenv
$> source myenv/bin/activate
$> git clone
$> cd sentry-wrapper
$> pip install -e .


* `Bastien Chatelard <>`_
* `Julien Castets <>`_

sentry-wrapper Changelog

2.0.0 (2015-08-20)

* Accept extra arguments that are given to the wrapped command, like::

sentry-wrapper entrypoint -- arg1 arg2 arg3

1.0.0 (2015-04-20)

* Initial version.
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sentry_wrapper-2.0.0-py2.7.egg (4.3 kB) Copy SHA256 Checksum SHA256 2.7 Egg Aug 20, 2015
sentry_wrapper-2.0.0-py2-none-any.whl (4.8 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Aug 20, 2015
sentry-wrapper-2.0.0.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Aug 20, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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