# yandexcloud

> The Yandex Cloud official SDK

- **URL**: https://www.freshcrate.ai/projects/yandexcloud
- **Author**: pypi
- **Category**: Frameworks
- **Latest version**: `v0.393.0` (2026-06-01)
- **License**: MIT
- **Source**: https://github.com/yandex-cloud/python-sdk
- **Homepage**: https://pypi.org/project/yandexcloud/
- **Language**: Python
- **GitHub**: 101 stars, 37 forks
- **Registry**: pypi (`yandexcloud`)
- **Tags**: `pypi`

## Description

[![PyPI Version][pypi-image]][pypi-url]
[![Build Status][build-image]][build-url]
[![License][license-image]][license-url]

<!-- Badges -->

[pypi-image]: https://img.shields.io/pypi/v/yandexcloud
[pypi-url]: https://pypi.org/project/yandexcloud/
[build-image]: https://github.com/yandex-cloud/python-sdk/actions/workflows/run-tests.yml/badge.svg
[build-url]: https://github.com/yandex-cloud/python-sdk/actions/workflows/run-tests.yml
[license-image]: https://img.shields.io/github/license/yandex-cloud/python-sdk.svg
[license-url]: https://github.com/yandex-cloud/python-sdk/blob/master/LICENSE

# Yandex.Cloud SDK (Python)

Need to automate your infrastructure or use services provided by Yandex.Cloud? We've got you covered.

Installation:

    pip install yandexcloud

## Getting started

There are several options for authorization your requests - Metadata Service
(if you're executing your code inside VMs or Cloud Functions running in Yandex.Cloud),
Service Account Keys and externally created IAM tokens.

### Metadata Service

Don't forget to assign Service Account for your Instance or Function and grant required roles.

```python
sdk = yandexcloud.SDK()
```

### Service Account Keys

```python
# you can store and read it from JSON file
sa_key = {
    "id": "...",
    "service_account_id": "...",
    "private_key": "..."
}

sdk = yandexcloud.SDK(service_account_key=sa_key)
```

### IAM tokens

```python
sdk = yandexcloud.SDK(iam_token="t1.9eu...")
```

Check `examples` directory for more examples.

### Override service endpoint

#### Supported services

| Service Name                                                           | Alias                    |
|------------------------------------------------------------------------|--------------------------|
| yandex.cloud.ai.foundation_models                                      | ai-foundation-models     |
| yandex.cloud.ai.llm                                                    | ai-llm                   |
| yandex.cloud.ai.ocr                                                    | ai-vision-ocr            |
| yandex.cloud.ai.stt                                                    | ai-stt                   |
| yandex.cloud.ai.translate                                              | ai-translate             |
| yandex.cloud.ai.tts                                                    | ai-speechkit             |
| yandex.cloud.ai.vision                                                 | ai-vision                |
| yandex.cloud.apploadbalancer                                           | alb                      |
| yandex.cloud.billing                                                   | billing                  |
| yandex.cloud.cdn                                                       | cdn                      |
| yandex.cloud.certificatemanager.v1.certificate_content_service         | certificate-manager-data |
| yandex.cloud.certificatemanager                                        | certificate-manager      |
| yandex.cloud.compute                                                   | compute                  |
| yandex.cloud.containerregistry                                         | container-registry       |
| yandex.cloud.dataproc.manager                                          | dataproc-manager         |
| yandex.cloud.dataproc                                                  | dataproc                 |
| yandex.cloud.datasphere                                                | datasphere               |
| yandex.cloud.datatransfer                                              | datatransfer             |
| yandex.cloud.dns                                                       | dns                      |
| yandex.cloud.endpoint                                                  | endpoint                 |
| yandex.cloud.iam                                                       | iam                      |
| yandex.cloud.iot.devices                                               | iot-devices              |
| yandex.cloud.k8s                                                       | managed-kubernetes       |
| yandex.cloud.kms.v1.symmetric_crypto_service                           | kms-crypto               |
| yandex.cloud.kms                                                       | kms                      |
| yandex.cloud.loadbalancer                                              | load-balancer            |
| yandex.cloud.loadtesting                                               | loadtesting              |
| yandex.cloud.lockbox.v1.payload_service                                | lockbox-payload          |
| yandex.cloud.lockbox                                                   | lockbox                  |
| yandex.cloud.logging.v1.log_ingestion_service                          | log-ingestion            |
| yandex.cloud.logging.v1.log_reading_service                            | log-reading              |
| yandex.cloud.logging

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v0.393.0` | 2026-06-01 | High | # v0.393.0 (2026-06-01)  ## Feature  * feat: regenerate proto ([`a045c61`](https://github.com/yandex-cloud/python-sdk/commit/a045c612e375cdfee7291279a09a74ab9ec3a321))  * feat: regenerate proto ([`f6f8582`](https://github.com/yandex-cloud/python-sdk/commit/f6f85829b1bb4909c06a501884dfcc6577857084)) |
| `v0.392.0` | 2026-05-25 | High | # v0.392.0 (2026-05-25)  ## Feature  * feat: regenerate proto ([`339bcb8`](https://github.com/yandex-cloud/python-sdk/commit/339bcb8113b879b8bd7617783ab043be14e39d4d))  * feat: regenerate proto ([`6fb4bc0`](https://github.com/yandex-cloud/python-sdk/commit/6fb4bc0e7d5d85c2cce3b3ddf3919919dde90678)) |
| `v0.391.0` | 2026-05-18 | High | # v0.391.0 (2026-05-18)  ## Feature  * feat: regenerate proto ([`baa8711`](https://github.com/yandex-cloud/python-sdk/commit/baa8711cf4f8e802656378ff9b81e3e3e8211c22))  * feat: regenerate proto ([`d0cdc72`](https://github.com/yandex-cloud/python-sdk/commit/d0cdc72d78a039481c7bf01c710355481f8507e6)) |
| `v0.390.0` | 2026-05-11 | High | # v0.390.0 (2026-05-11)  ## Feature  * feat: regenerate proto ([`ad22958`](https://github.com/yandex-cloud/python-sdk/commit/ad22958293f490ecdc2fd4c1c428aff6746b4745))  * feat: regenerate proto ([`d6e062b`](https://github.com/yandex-cloud/python-sdk/commit/d6e062be39bfaac239849888f3f592e99ea9c86b)) |
| `v0.389.0` | 2026-05-04 | High | # v0.389.0 (2026-05-04)  ## Feature  * feat: regenerate proto ([`2db52ab`](https://github.com/yandex-cloud/python-sdk/commit/2db52ab924810cba4637280988c5856308bfbade))  * feat: regenerate proto ([`914c18f`](https://github.com/yandex-cloud/python-sdk/commit/914c18fd47fd5772cfbcc039d639e4a2e1df1888)) |
| `v0.388.0` | 2026-04-27 | High | # v0.388.0 (2026-04-27)  ## Feature  * feat: regenerate proto ([`18d604c`](https://github.com/yandex-cloud/python-sdk/commit/18d604c9c80c5ed8030bcc52e328eb62f48e12e8))  * feat: regenerate proto ([`5abf608`](https://github.com/yandex-cloud/python-sdk/commit/5abf6084342d4f54351d9698b74b000a30a3fb34)) |
| `0.387.0` | 2026-04-21 | Low | Imported from PyPI (0.387.0) |
| `v0.387.0` | 2026-04-20 | High | # v0.387.0 (2026-04-20)  ## Feature  * feat: regenerate proto ([`d6d80ab`](https://github.com/yandex-cloud/python-sdk/commit/d6d80ab6f1a117dd936c428454a7ef862fd6cd92))  * feat: regenerate proto ([`087cd99`](https://github.com/yandex-cloud/python-sdk/commit/087cd9950ac9a6271eea80f825c912ebf6477472)) |
| `v0.387.0` | 2026-04-20 | High | # v0.387.0 (2026-04-20)  ## Feature  * feat: regenerate proto ([`d6d80ab`](https://github.com/yandex-cloud/python-sdk/commit/d6d80ab6f1a117dd936c428454a7ef862fd6cd92))  * feat: regenerate proto ([`087cd99`](https://github.com/yandex-cloud/python-sdk/commit/087cd9950ac9a6271eea80f825c912ebf6477472)) |
| `v0.387.0` | 2026-04-20 | High | # v0.387.0 (2026-04-20)  ## Feature  * feat: regenerate proto ([`d6d80ab`](https://github.com/yandex-cloud/python-sdk/commit/d6d80ab6f1a117dd936c428454a7ef862fd6cd92))  * feat: regenerate proto ([`087cd99`](https://github.com/yandex-cloud/python-sdk/commit/087cd9950ac9a6271eea80f825c912ebf6477472)) |

## Citation

- HTML: https://www.freshcrate.ai/projects/yandexcloud
- Markdown: https://www.freshcrate.ai/projects/yandexcloud.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/yandexcloud/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
