cc · project
· Open source
started 2026-10-14
DigitalOcean Python SDK
A small, typed Python client for the DigitalOcean Domains and DNS API, sync and async, with rate-limit retries and plain dataclasses instead of raw JSON.
$ pip install digitalocean-python-sdk
Python
httpx
The DigitalOcean member of the DNS SDK family, with the same API as the GoDaddy and Hostinger clients.
from digitalocean_sdk import DigitalOcean
with DigitalOcean("DIGITALOCEAN_TOKEN") as do:
do.dns.point("example.com", "shop", "203.0.113.10")
point is idempotent: if the record exists it is updated, if it is missing it is created, and extra A records with the same name are removed. Sync and async, automatic waiting on rate limits, typed dataclasses everywhere.