# Python SDK

> Part of the OVHcloud developer hub. Index of every page and section: https://developers.eu.ovhcloud.com/llms.txt
> Everything in one file: https://developers.eu.ovhcloud.com/llms-full.txt

A typed method for every API operation, sync or asyncio.

Latest release 0.1.1 Nov 17, 2026 [PyPI](https://pypi.org/project/ovhcloud/)

[github.com/ovh/sdk-python](https://github.com/ovh/sdk-python)

## Install

Python 3.11 or later. You also need OAuth2 credentials: the client ID and secret of a service account.

```bash
pip install ovhcloud
```

## First program

This prints the details of your account: `GET /v1/me`. Copy it, set your credentials, run it.

```python
import ovhcloud

with ovhcloud.Client() as client:  # reads OVH_CLIENT_ID, OVH_CLIENT_SECRET, OVH_REGION
    account = client.me.get_account_details()  # GET /v1/me
    print("account:", account.nichandle)
    print("email:  ", account.email)
    print("country:", account.country)
```

## Run it

```bash
export OVH_CLIENT_ID=...  OVH_CLIENT_SECRET=...
export OVH_REGION=eu    # eu (default), ca or us
python first.py
```

[Next Go SDK →](https://developers.eu.ovhcloud.com/sdks/go.md)
