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

# Dependencies

> This page outlines the required dependencies for projects using Atoti Python SDK. Understanding these dependencies helps you set up your environment correctly based on how you intend to use Atoti.

> [!NOTE]
>
> Atoti Python SDK follows [NEP 29](https://numpy.org/neps/nep-0029-deprecation_policy.html).
> All `atoti-*` packages thus require [Python](https://www.python.org) >=3.12.

## Connect to existing Atoti sessions

Projects using Atoti Python SDK exclusively to `connect` to already running Atoti sessions (i.e. never `starting` new ones) do not need the `atoti` package and can instead install `atoti-client`.

`atoti-client` and its [extras](https://packaging.python.org/en/latest/specifications/dependency-specifiers/#extras) do not require a Java runtime and do not embed any JARs so they take up significantly less disk space.

`atoti-client` requires:

| Name | Version | License |
| - | - | - |
| [httpx2](https://github.com/pydantic/httpx2) | >=2.12.0 | BSD-3-Clause |
| [opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python/tree/main/opentelemetry-api) | >=1.39.1 | Apache-2.0 |
| [pandas](https://pandas.pydata.org/docs/) | >=3.0.3 | BSD License |
| [py4j](https://www.py4j.org/) | >=0.10.9.7 | BSD License |
| [pyarrow](https://arrow.apache.org/docs/python) | >=20.0.0 | Apache Software License |
| [pydantic](https://docs.pydantic.dev) | >=2.12.3 | MIT |
| [typing-extensions](https://typing-extensions.readthedocs.io/) | >=4.16.0 | PSF-2.0 |

## Start new Atoti sessions

In addition to the dependencies for [Connect to existing Atoti sessions](#connect-to-existing-atoti-sessions), users who want to [`start`](./api/atoti.Session.start) a session from Python need `atoti`.

`atoti` embeds:

| Name | Version |
| - | - |
| [Atoti Server](https://docs.activeviam.com/engine/java-sdk) | 6.2.3-SNAPSHOT |
| [Atoti UI](https://docs.activeviam.com/data-visualization/atoti-ui) | 5.2.30 |

and requires:

| Name | Version | License |
| - | - | - |
| [jdk4py](https://github.com/activeviam/jdk4py) | >=25.0.2.1 | GNU General Public License v2 (GPLv2) |

> [!NOTE]
>
> See the [Custom JDK](https://docs.activeviam.com/engine/python-sdk/6.2/getting_started/installation.md#custom-jdk) section to
> skip the installation of `jdk4py`.

## Embed Atoti widgets in notebooks

In addition to the dependencies of either or both of:

* [Connect to existing Atoti sessions](#connect-to-existing-atoti-sessions)
* [Start new Atoti sessions](#start-new-atoti-sessions)

using [`atoti.Session.widget`](./api/atoti.Session.widget) requires [`atoti-jupyterlab`](./api/atoti_jupyterlab), which itself requires:

| Name | Version | License |
| - | - | - |
| [jupyterlab](https://jupyterlab.readthedocs.io) | >=4.6.4 | BSD License |
