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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file approck_events_sdk-0.1.6.tar.gz.

File metadata

  • Download URL: approck_events_sdk-0.1.6.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.12.2 Linux/5.4.109+

File hashes

Hashes for approck_events_sdk-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cfe087935b4609bcdba6f11f1ff550f1f29b9479d4c2cadae6fd6103eff63ad5
MD5 da3273d5b50a8079ebf512105ffe4b5d
BLAKE2b-256 57a3fe6585b90ce3c7897fd7761628cf2b1ec6fe68686ba588f84f9890c8a2b3

See more details on using hashes here.

File details

Details for the file approck_events_sdk-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for approck_events_sdk-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bb00f22cab3f3899e491b9e6efce13dd59106d852135253626694082a799c89d
MD5 0d64c5e882a10a32dcfd8a4429dc1fa5
BLAKE2b-256 60016aafd15311eeebf05a21134d4f95b393d5fa5e064ed0b7468dda7fa03583

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