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

# Installation

> Install the jhansi SDK and connect to a sandbox.

## Requirements

* Python 3.12+
* Petri running locally or in the cloud

## Install

```bash theme={null}
pip install jhansi
```

## Configure

By default the SDK connects to `http://localhost:8000`. Override with an environment variable:

```bash theme={null}
export JHANSI_BASE_URL=http://localhost:8000
```

Or pass it directly:

```python theme={null}
from jhansi import Sandbox

sb = Sandbox(language="python", base_url="http://localhost:8000")
```
