> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anyway.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Python SDK Installation

> Install anyway-sdk via pip (Python 3.10+) and verify with Traceloop.init()

<CardGroup cols={2}>
  <Card title="anyway-sdk on PyPI" icon="python" href="https://pypi.org/project/anyway-sdk/">
    View package on PyPI
  </Card>

  <Card title="Source on GitHub" icon="github" href="https://github.com/anyway-platform/anyway-tracing/tree/main/packages/anyway-sdk">
    View source code
  </Card>
</CardGroup>

## Requirements

* Python 3.10 or higher (\< 4.0)
* pip package manager

## Installation

Install the Anyway SDK using pip:

```bash theme={null}
pip install anyway-sdk
```

Or add it to your `requirements.txt`:

```txt theme={null}
anyway-sdk>=0.0.4
```

## Virtual Environment (Recommended)

We recommend using a virtual environment to manage your Python dependencies:

```bash theme={null}
# Create a virtual environment
python -m venv venv

# Activate it (Linux/macOS)
source venv/bin/activate

# Activate it (Windows)
venv\Scripts\activate

# Install the SDK
pip install anyway-sdk
```

## Verify Installation

Verify the SDK is installed correctly:

```python theme={null}
from anyway.sdk import Traceloop

# Initialize with your app name
Traceloop.init(app_name="test-app")
print("SDK installed successfully!")
```

## Next Steps

<CardGroup cols={2}>
  <Card title="Configuration" icon="gear" href="/sdk/python/configuration">
    Configure the collector endpoint and authentication
  </Card>

  <Card title="Tracing LLM Calls" icon="route" href="/sdk/python/tracing">
    Start tracing your LLM calls
  </Card>
</CardGroup>
