nebius
Nebius Python SDK
What it is and what it does
Nebius is a Python client library for interacting with Nebius AI Cloud services via gRPC. It handles authentication, manages cloud resources, and provides a unified interface to Nebius APIs. The library supports both synchronous and asynchronous workflows, with version 0.5.x introducing a significant architectural change: each SDK instance now manages its own internal event loop and daemon thread, simplifying deployment in many scenarios but requiring careful handling of loop ownership, exception handlers, and executor threads.
The SDK depends on cryptography, pyyaml, grpcio, PyJWT, certifi, protobuf, portalocker, aiohttp, and typing-extensions. If you are migrating from 0.4.x, several workflows have changed: `Channel.bg_task()` now returns a reusable awaitable rather than an `asyncio.Task`, synchronous helpers cannot be called from async contexts, and supplied event loops must already be running. The documentation emphasizes thread safety, loop ownership, and proper cleanup to avoid deadlocks and resource leaks.
Use it for:
- Authenticate with Nebius AI Cloud and manage cloud resources programmatically from Python applications.
- Build async microservices that communicate with Nebius APIs using gRPC for low-latency, typed service calls.
- Integrate Nebius AI services (e.g., model inference, data processing) into existing Python workflows with both sync and async patterns.
- Deploy cloud-native applications that require fine-grained control over event loops and executor thread pools.
- Migrate from Nebius SDK 0.4.x to 0.5.x by adapting async task handling and loop ownership patterns.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Client library for Nebius AI Cloud services that provides gRPC-based authentication, resource management, and API communication with async/sync support.
Yes, if you are building on Nebius AI Cloud. The SDK is actively maintained, has low install friction, and carries no known vulnerabilities. However, version 0.5.x introduces breaking changes from 0.4.x and requires careful attention to event loop ownership, thread safety, and async/sync boundary crossing. Read the migration guide and threading documentation before upgrading or integrating into existing async applications.
Install
nebius on PyPI
pip
pip install nebiusuv
uv add nebiuspoetry
poetry add nebiusInstalling nebius
Before you install
Low install friction with a pure-Python wheel and well-established dependencies. Active maintenance with a release one day ago suggests ongoing support.
License in practice
MIT license permits commercial and private use with minimal restrictions; include the license text and copyright notice in distributions.
Quickstart
pip install nebius
from nebius import SDK
sdk = SDK()
await sdk.some_service.some_method(request)
Requires Python 3.10 or later; async operations require an event loop context or SDK-managed loop.
Verify before relying
- Whether the SDK's internal event loop and executor threading model is compatible with existing async frameworks in your application.
- Specific Nebius API endpoints and services available in version 0.5.4 beyond what the description excerpt covers.
- Performance characteristics and rate limits for gRPC communication with Nebius services.
Package facts
| License | The MIT License (MIT) Copyright (c) 2025 Nebius B.V. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),… (full text in the JSON record) (unclear) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — cryptography, pyyaml, grpcio, PyJWT, certifi, protobuf, portalocker, aiohttp, typing-extensions |
| Maintenance | actively maintained — 1 days since the last release |
| First released | |
| Downloads | 2,383,487/month — #3,094 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nebius-0.5.4-py3-none-any.whl
Tags
More Internet packages
Botocore provides low-level, data-driven access…
permissive · top 100 on PyPI
aiobotocoreProvides an async client for AWS services using…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
filelockProvides a platform-independent file locking…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
googleapis-common-protosProvides common Protocol Buffer message…
permissive · top 100 on PyPI
clarifai-grpcA gRPC client library for the Clarifai AI…
permissive · top 15,000 on PyPI
nexus-rpcNexus Python SDK provides a framework for…
permissive · top 1,000 on PyPI
grpc-requestsA Python client library that uses gRPC…
permissive · top 15,000 on PyPI
grpc-interceptorProvides simplified server and client…
permissive · top 1,000 on PyPI
yandexcloudOfficial Python SDK for Yandex.Cloud that…
permissive · top 5,000 on PyPI
py-grpc-prometheusAdds Prometheus metrics collection to gRPC…
unclear · top 5,000 on PyPI
grpc-google-iam-v1Provides gRPC-based Python client bindings for…
permissive · top 1,000 on PyPI
enirisEniris is a Python driver for the Eniris API…
permissive · top 15,000 on PyPI
nacos-sdk-pythonPython client library for Nacos service…
permissive · top 15,000 on PyPI
schematichqProvides a Python client library for the…
permissive · top 15,000 on PyPI