Skip to main content

Forward exceptions raised by a setuptools entrypoint to sentry

Project description

DESCRIPTION
===========

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


Usage::

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.


INSTALLATION
============

To install in a virtualenv::

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


DEVELOP
=======

To start hacking on sentry-wrapper::

$> virtualenv myenv
$> source myenv/bin/activate
$> git clone git@github.com:brmzkw/sentry-wrapper.git
$> cd sentry-wrapper
$> pip install -e .


CONTRIBUTORS
============

* `Bastien Chatelard <https://github.com/bchatelard/>`_
* `Julien Castets <https://github.com/brmzkw/>`_

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.

Project details


Download files

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

Source Distribution

sentry-wrapper-2.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distributions

sentry_wrapper-2.0.0-py2.7.egg (4.3 kB view details)

Uploaded Source

sentry_wrapper-2.0.0-py2-none-any.whl (4.8 kB view details)

Uploaded Python 2

File details

Details for the file sentry-wrapper-2.0.0.tar.gz.

File metadata

File hashes

Hashes for sentry-wrapper-2.0.0.tar.gz
Algorithm Hash digest
SHA256 de0025eb919bd34766e6e1cb499a7939b319f7c850a3580c789df10501fbad21
MD5 930e4d65ee9d019b0c19e4d0cdfca401
BLAKE2b-256 356d55d68c1439bdbcc01513c0af6dcb5f07b06d92aada95660f57fb559779e4

See more details on using hashes here.

File details

Details for the file sentry_wrapper-2.0.0-py2.7.egg.

File metadata

File hashes

Hashes for sentry_wrapper-2.0.0-py2.7.egg
Algorithm Hash digest
SHA256 bda666810ab35febbf5e1c35fe908871661a864ac68e66b1a82f10ba68626b78
MD5 fcf27139a5b8104c1234d3e95e1e7e05
BLAKE2b-256 c0a07a2ea63cc545ac6f7eb289142ba0bd5214bd99a85f96a151cd770ae8eac8

See more details on using hashes here.

File details

Details for the file sentry_wrapper-2.0.0-py2-none-any.whl.

File metadata

File hashes

Hashes for sentry_wrapper-2.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 a7fc7dc6df5d46ebb0aab78a19cc91530b915de5fa0894f0b15a8353438b053a
MD5 edcae73d5560fa028cab5380c3db0205
BLAKE2b-256 867f91883242e1548deebf3fc76dd313455d46747041ca73407c7acd82982500

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page