pydo
The official client for interacting with the DigitalOcean API
Decision gist · record as of 2026-08-14
Yes. PyDo is the official, actively maintained client for DigitalOcean's API with low install friction, permissive licensing, and no known vulnerabilities. Install it if you need to manage DigitalOcean infrastructure or access Gradient AI services from Python—it's the canonical way to do so. The recent release and active repository indicate ongoing support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a DigitalOcean API token (PAT) with appropriate scope; inference APIs require full-access scope or a Gradient Model Access Key.
- Low install friction with a pure-wheel distribution.
- Active maintenance with a release 11 days ago and recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-08-03 (11 days) · last repo commit 2026-08-14 · 137 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 267,132 downloads/mo, #8,296 on PyPI
Alternatives
Verify before relying
pip install pydo
import os
from pydo import Client
client = Client(token=os.getenv("DIGITALOCEAN_TOKEN"))
ssh_keys_resp = client.ssh_keys.list()
for k in ssh_keys_resp["ssh_keys"]:
print(f"ID: {k['id']}, NAME: {k['name']}")- Whether all DigitalOcean API endpoints are fully supported or if some remain unimplemented.
- Performance characteristics and rate-limiting behavior under high-volume usage.
- Stability of the async interface (aio) relative to the synchronous client.
What it is and what it does
PyDo is the official Python client for DigitalOcean's API, generated from the DigitalOcean OpenAPI Specification to ensure compliance with the API contract. It provides a single Client interface for both infrastructure management (droplets, SSH keys, volumes, Kubernetes, etc.) and AI inference (chat completions, image generation, audio, batch inference) on DigitalOcean's Gradient platform. The library supports Python 3.8 and later, with both synchronous and asynchronous usage patterns.
Developers initialize the client with a DigitalOcean API token and then call methods organized by resource type—for example, `client.ssh_keys.list()` or `client.chat.completions.create()`. The client handles authentication, request serialization, and response parsing. It supports pagination for large result sets and streaming for inference endpoints like chat completions.
Use it for
- Automate DigitalOcean infrastructure provisioning and management (droplets, volumes, SSH keys) from Python scripts or applications.
- Build chat applications using DigitalOcean's Gradient AI models with streaming support for real-time responses.
- Generate images programmatically via DigitalOcean's inference API without managing separate AI service credentials.
- Enumerate and list available AI models on the Gradient platform to discover capabilities at runtime.
- Implement batch inference workflows for processing multiple requests to AI models in parallel.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
PyDo is the official, actively maintained client for DigitalOcean's API with low install friction, permissive licensing, and no known vulnerabilities. Install it if you need to manage DigitalOcean infrastructure or access Gradient AI services from Python—it's the canonical way to do so. The recent release and active repository indicate ongoing support.
Install
pydo on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a release 11 days ago and recent commits. Depends on azure-core, azure-identity, isodate, msrest, and typing-extensions—all standard, well-maintained packages.
Requires a DigitalOcean API token (PAT) with appropriate scope; inference APIs require full-access scope or a Gradient Model Access Key.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install pydo
import os
from pydo import Client
client = Client(token=os.getenv("DIGITALOCEAN_TOKEN"))
ssh_keys_resp = client.ssh_keys.list()
for k in ssh_keys_resp["ssh_keys"]:
print(f"ID: {k['id']}, NAME: {k['name']}")
Verify before relying
- Whether all DigitalOcean API endpoints are fully supported or if some remain unimplemented.
- Performance characteristics and rate-limiting behavior under high-volume usage.
- Stability of the async interface (aio) relative to the synchronous client.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0.0,>=3.8.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesazure-coreazure-identityisodatemsresttyping-extensions |
| Maintenance | Actively maintained 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 267,132 / month, #8,296 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: pydo-0.40.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “digitalocean api client”
- pydoOfficial Python client library for the DigitalOcean API, wrapping…
- python-digitaloceanProvides Python bindings to the DigitalOcean API for programmatic…
- agithubA lightweight REST API client with transparent Python syntax that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also python-digitalocean · clarifai · pydomo · zhipuai · zai-sdk · cloudbridge · cerebras-cloud-sdk · mistralai · azure-storage-file-datalake · ai21