Skip to content

docs(python): add uv option to python install instructions #13510

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/platforms/python/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ categories:

Install the Sentry SDK using [`pip`](https://pip.pypa.io/en/stable/):

```bash
pip install --upgrade sentry-sdk
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/aiohttp/aiohttp-client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ This integration also supports AIOHTTP servers. See <PlatformLink to="/integrati

Install `sentry-sdk` from PyPI with the `aiohttp` extra.

```bash
pip install --upgrade 'sentry-sdk[aiohttp]'
```bash {tabTitle:pip}
pip install "sentry-sdk[aiohttp]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[aiohttp]"
```

## Configure
Expand Down
15 changes: 11 additions & 4 deletions docs/platforms/python/integrations/aiohttp/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,21 @@ If you use AIOHTTP as your HTTP client and want to instrument outgoing HTTP requ

Install `sentry-sdk` from PyPI with the `aiohttp` extra:

```bash
pip install --upgrade sentry-sdk[aiohttp]
```bash {tabTitle:pip}
pip install "sentry-sdk[aiohttp]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[aiohttp]"
```


If you're on Python 3.6, you also need the `aiocontextvars` package:

```bash
pip install --upgrade aiocontextvars
```bash {tabTitle:pip}
pip install "aiocontextvars"
```
```bash {tabTitle:uv}
uv add "aiocontextvars"
```

## Configure
Expand Down
8 changes: 6 additions & 2 deletions docs/platforms/python/integrations/airflow/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ description: "Learn about using Sentry with Apache Airflow."

Install the `apache-airflow` package with the `sentry` requirement.

```py
pip install 'apache-airflow[sentry]'

```bash {tabTitle:pip}
pip install "apache-airflow[sentry]"
```
```bash {tabTitle:uv}
uv add "apache-airflow[sentry]"
```

Then, add your Sentry DSN to your configuration file (ex. `airflow.cfg`) under the `[sentry]` field.
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/anthropic/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ Sentry LLM Monitoring will automatically collect information about prompts, toke

Install `sentry-sdk` from PyPI with the `anthropic` extra:

```bash
pip install --upgrade 'sentry-sdk[anthropic]'
```bash {tabTitle:pip}
pip install "sentry-sdk[anthropic]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[anthropic]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/ariadne/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ in [Sentry](https://sentry.io).

To get started, install `sentry-sdk` from PyPI.

```bash
pip install --upgrade sentry-sdk
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/arq/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ The arq integration adds support for the [arq job queue system](https://arq-docs

Install `sentry-sdk` from PyPI with the `arq` extra.

```bash
pip install --upgrade "sentry-sdk[arq]"
```bash {tabTitle:pip}
pip install "sentry-sdk[arq]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[arq]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/asgi/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ Please check our list of [supported integrations](/platforms/python/integrations

## Install

```bash
pip install --upgrade 'sentry-sdk'
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/asyncio/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ The `AsyncioIntegration` integrates with applications doing concurrent code exec

## Install

```bash
pip install --upgrade 'sentry-sdk'
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/asyncpg/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ The `AsyncPGIntegration` captures queries from

To get started, install `sentry-sdk` from PyPI.

```bash
pip install --upgrade sentry-sdk[asyncpg]
```bash {tabTitle:pip}
pip install "sentry-sdk[asyncpg]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[asyncpg]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/boto3/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ The Boto3 integration instruments requests made to Amazon Web Services done with

Install `sentry-sdk` from PyPI:

```bash
pip install --upgrade 'sentry-sdk'
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/bottle/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ However the integration with the development version (0.13) doesn't work properl

Install `sentry-sdk` from PyPI with the `bottle` extra:

```bash
pip install --upgrade 'sentry-sdk[bottle]'
```bash {tabTitle:pip}
pip install "sentry-sdk[bottle]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[bottle]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/celery/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ The Celery integration adds support for the [Celery Task Queue System](https://d

Install `sentry-sdk` from PyPI with the `celery` extra:

```bash
pip install --upgrade 'sentry-sdk[celery]'
```bash {tabTitle:pip}
pip install "sentry-sdk[celery]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[celery]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/chalice/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ description: "Learn about using Sentry with Chalice."

Install `sentry-sdk` from PyPI with the `chalice` extra:

```bash
pip install --upgrade sentry-sdk[chalice]
```bash {tabTitle:pip}
pip install "sentry-sdk[chalice]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[chalice]"
```

## Configure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ The integration is available for clickhouse-driver 0.2.0 or later.

Install `sentry-sdk` with the `clickhouse-driver` extra.

```bash
pip install --upgrade 'sentry-sdk[clickhouse-driver]'
```bash {tabTitle:pip}
pip install "sentry-sdk[clickhouse-driver]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[clickhouse-driver]"
```

## Configure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ The Cloud Resource Context integration adds information about the cloud platform

To install it, run:

```bash
pip install --upgrade 'sentry-sdk'
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/cohere/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ Sentry LLM Monitoring will automatically collect information about prompts, toke

Install `sentry-sdk` and `cohere` from PyPI:

```bash
pip install --upgrade 'sentry-sdk' 'cohere'
```bash {tabTitle:pip}
pip install "sentry-sdk" "cohere"
```
```bash {tabTitle:uv}
uv add "sentry-sdk" "cohere"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/django/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ If you're using Python 3.7, Django applications with `channels` 2.0 will be corr

Install `sentry-sdk` from PyPI with the `django` extra:

```bash
pip install --upgrade 'sentry-sdk[django]'
```bash {tabTitle:pip}
pip install "sentry-sdk[django]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[django]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/dramatiq/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ The Dramatiq integration only reports errors. Tracing is not yet supported. If y

To get started, install `sentry-sdk` from PyPI.

```bash
pip install --upgrade sentry-sdk
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/falcon/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ The integration has been confirmed to work with Falcon 1.4 and 2.0.

Install `sentry-sdk` from PyPI with the `falcon` extra:

```bash
pip install --upgrade 'sentry-sdk[falcon]'
```bash {tabTitle:pip}
pip install "sentry-sdk[falcon]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[falcon]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/fastapi/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ The FastAPI integration adds support for the [FastAPI Framework](https://fastapi

Install `sentry-sdk` from PyPI with the `fastapi` extra:

```bash
pip install --upgrade 'sentry-sdk[fastapi]'
```bash {tabTitle:pip}
pip install "sentry-sdk[fastapi]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[fastapi]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/flask/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ The Flask integration adds support for the [Flask Web Framework](https://flask.p

Install `sentry-sdk` from PyPI with the `flask` extra:

```bash
pip install --upgrade "sentry-sdk[flask]"
```bash {tabTitle:pip}
pip install "sentry-sdk[flask]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[flask]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/gnu_backtrace/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ It is currently tested to work with server exceptions raised by [`clickhouse-dri

Install `sentry-sdk` from PyPI.

```bash
pip install --upgrade 'sentry-sdk'
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/gql/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ The [GQL](https://gql.readthedocs.io/en/stable/) integration allows you to monit

Make sure you have the latest version of the Sentry SDK installed:

```bash
pip install --upgrade sentry-sdk
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/graphene/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ in [Sentry](https://sentry.io).

To get started, install `sentry-sdk` from PyPI.

```bash
pip install --upgrade sentry-sdk
```bash {tabTitle:pip}
pip install "sentry-sdk"
```
```bash {tabTitle:uv}
uv add "sentry-sdk"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/grpc/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ and ensure traces are properly propagated to downstream services.

Install `sentry-sdk` from PyPI with the `grpcio` extra.

```bash
pip install --upgrade 'sentry-sdk[grpcio]'
```bash {tabTitle:pip}
pip install "sentry-sdk[grpcio]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[grpcio]"
```

## Configure
Expand Down
7 changes: 5 additions & 2 deletions docs/platforms/python/integrations/httpx/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ Use this integration to create spans for outgoing requests and ensure traces are

Install `sentry-sdk` from PyPI with the `httpx` extra.

```bash
pip install --upgrade 'sentry-sdk[httpx]'
```bash {tabTitle:pip}
pip install "sentry-sdk[httpx]"
```
```bash {tabTitle:uv}
uv add "sentry-sdk[httpx]"
```

## Configure
Expand Down
Loading