Skip to main content

No project description provided

Project description

approck-events-sdk - Approck Events SDK for Python

Getting started

Install

pip install --upgrade approck-events-sdk

Configuration

import approck_events_sdk
approck_events_sdk.init(api_uri="https://api.events.uprock.pro")

In your testing and development environment you still might want to run that code without sending any events. In that case, simply call init without a DSN:

approck_events_sdk.init()

Usage:

from approck_events_sdk.event import capture_event, Event
capture_event(Event(event_name="test"))

Concurrency

  • approck-events-sdk currently does not support gevent-based setups.
  • On init, Sentry-Python spawns a thread on its own. That means if you use uwsgi, you currently need to enable threads.

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

approck_events_sdk-0.1.6.tar.gz (7.9 kB view hashes)

Uploaded Source

Built Distribution

approck_events_sdk-0.1.6-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

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