experimental/cpu/: sentry-sdk-2.1.1 metadata and description

Homepage Simple index

Python client for Sentry (https://sentry.io)

author Sentry Team and Contributors
author_email hello@sentry.io
classifiers
  • Development Status :: 5 - Production/Stable
  • Environment :: Web Environment
  • Intended Audience :: Developers
  • License :: OSI Approved :: BSD License
  • Operating System :: OS Independent
  • Programming Language :: Python
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3.6
  • Programming Language :: Python :: 3.7
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Programming Language :: Python :: 3.11
  • Programming Language :: Python :: 3.12
  • Topic :: Software Development :: Libraries :: Python Modules
description_content_type text/markdown
license MIT
project_urls
  • Documentation, https://docs.sentry.io/platforms/python/
  • Changelog, https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md
provides_extras tornado
requires_dist
  • urllib3 >=1.26.11
  • certifi
  • aiohttp >=3.5 ; extra == 'aiohttp'
  • anthropic >=0.16 ; extra == 'anthropic'
  • arq >=0.23 ; extra == 'arq'
  • asyncpg >=0.23 ; extra == 'asyncpg'
  • apache-beam >=2.12 ; extra == 'beam'
  • bottle >=0.12.13 ; extra == 'bottle'
  • celery >=3 ; extra == 'celery'
  • celery-redbeat >=2 ; extra == 'celery-redbeat'
  • chalice >=1.16.0 ; extra == 'chalice'
  • clickhouse-driver >=0.2.0 ; extra == 'clickhouse-driver'
  • django >=1.8 ; extra == 'django'
  • falcon >=1.4 ; extra == 'falcon'
  • fastapi >=0.79.0 ; extra == 'fastapi'
  • flask >=0.11 ; extra == 'flask'
  • blinker >=1.1 ; extra == 'flask'
  • markupsafe ; extra == 'flask'
  • grpcio >=1.21.1 ; extra == 'grpcio'
  • httpx >=0.16.0 ; extra == 'httpx'
  • huey >=2 ; extra == 'huey'
  • huggingface-hub >=0.22 ; extra == 'huggingface_hub'
  • langchain >=0.0.210 ; extra == 'langchain'
  • loguru >=0.5 ; extra == 'loguru'
  • openai >=1.0.0 ; extra == 'openai'
  • tiktoken >=0.3.0 ; extra == 'openai'
  • opentelemetry-distro >=0.35b0 ; extra == 'opentelemetry'
  • opentelemetry-distro ~=0.40b0 ; extra == 'opentelemetry-experimental'
  • opentelemetry-instrumentation-aiohttp-client ~=0.40b0 ; extra == 'opentelemetry-experimental'
  • opentelemetry-instrumentation-django ~=0.40b0 ; extra == 'opentelemetry-experimental'
  • opentelemetry-instrumentation-fastapi ~=0.40b0 ; extra == 'opentelemetry-experimental'
  • opentelemetry-instrumentation-flask ~=0.40b0 ; extra == 'opentelemetry-experimental'
  • opentelemetry-instrumentation-requests ~=0.40b0 ; extra == 'opentelemetry-experimental'
  • opentelemetry-instrumentation-sqlite3 ~=0.40b0 ; extra == 'opentelemetry-experimental'
  • opentelemetry-instrumentation-urllib ~=0.40b0 ; extra == 'opentelemetry-experimental'
  • pure-eval ; extra == 'pure_eval'
  • executing ; extra == 'pure_eval'
  • asttokens ; extra == 'pure_eval'
  • pymongo >=3.1 ; extra == 'pymongo'
  • pyspark >=2.4.4 ; extra == 'pyspark'
  • quart >=0.16.1 ; extra == 'quart'
  • blinker >=1.1 ; extra == 'quart'
  • rq >=0.6 ; extra == 'rq'
  • sanic >=0.8 ; extra == 'sanic'
  • sqlalchemy >=1.2 ; extra == 'sqlalchemy'
  • starlette >=0.19.1 ; extra == 'starlette'
  • starlite >=1.48 ; extra == 'starlite'
  • tornado >=5 ; extra == 'tornado'
requires_python >=3.6
File Tox results History
sentry_sdk-2.1.1-py2.py3-none-any.whl
Size
271 KB
Type
Python Wheel
Python
2.7

Sentry

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Official Sentry SDK for Python

Build Status PyPi page link -- version Discord

This is the official Python SDK for Sentry

Getting Started

Install

pip install --upgrade sentry-sdk

Configuration

import sentry_sdk

sentry_sdk.init(
    "https://12927b5f211046b575ee51fd8b1ac34f@o1.ingest.sentry.io/1",

    # Set traces_sample_rate to 1.0 to capture 100%
    # of transactions for performance monitoring.
    traces_sample_rate=1.0,
)

Usage

from sentry_sdk import capture_message
capture_message("Hello World")  # Will create an event in Sentry.

raise ValueError()  # Will also create an event in Sentry.

Integrations

(If you want to create a new integration, have a look at the Adding a new integration checklist.)

See the documentation for an up-to-date list of libraries and frameworks we support. Here are some examples:

Migrating

Migrating From 1.x to 2.x

If you're on SDK version 1.x, we highly recommend updating to the 2.x major. To make the process easier we've prepared a migration guide with the most common changes as well as a detailed changelog.

Migrating From raven-python

The old raven-python client has entered maintenance mode and was moved here.

If you're using raven-python, we recommend you to migrate to this new SDK. You can find the benefits of migrating and how to do it in our migration guide.

Contributing to the SDK

Please refer to CONTRIBUTING.md.

Getting Help/Support

If you need help setting up or configuring the Python SDK (or anything else in the Sentry universe) please head over to the Sentry Community on Discord. There is a ton of great people in our Discord community ready to help you!

Resources

License

Licensed under the MIT license, see LICENSE