DigitalOcean PyDo Python Library Reference

Generated on 17 Apr 2025 from pydo version v0.10.0

PyDo is the official Python client library that allows Python developers to interact with and manage their DigitalOcean resources through a Python abstraction layer on top of the raw DigitalOcean API HTTP Interface.

A top priority of this project is to ensure the client abides by the API contract. Therefore, the client itself wraps a generated client based on the DigitalOcean OpenAPI Specification to support all of DigitalOcean’s HTTP APIs.

pydo.account

Provides information about your current account.

pydo.actions

Actions are records of events that have occurred on the resources in your account.

pydo.apps

App Platform is a Platform-as-a-Service (PaaS) offering from DigitalOcean that allows developers to publish code directly to DigitalOcean servers without worrying about the underlying infrastructure.

pydo.autoscalepools

Droplet autoscale pools manage automatic horizontal scaling for your applications based on resource usage (CPU, memory, or both) or a static configuration.

pydo.balance

The billing endpoints allow you to retrieve your account balance, invoices and billing history.

pydo.billing_history

The billing endpoints allow you to retrieve your account balance, invoices and billing history.

pydo.cdn

Content hosted in DigitalOcean’s object storage solution, Spaces, can optionally be served by our globally distributed Content Delivery Network (CDN).

pydo.certificates

In order to perform SSL termination on load balancers, DigitalOcean offers two types of SSL certificate management.

pydo.databases

DigitalOcean’s managed database service simplifies the creation and management of highly available database clusters.

pydo.domains

Domain resources are domain names that you have purchased from a domain name registrar that you are managing through the DigitalOcean DNS interface.

pydo.droplet_actions

Droplet actions are tasks that can be executed on a Droplet.

pydo.droplets

A Droplet is a DigitalOcean virtual machine.

pydo.firewalls

DigitalOcean Cloud Firewalls provide the ability to restrict network access to and from a Droplet allowing you to define which ports will accept inbound or outbound connections.

pydo.functions

Serverless functions are blocks of code that run on demand without the need to manage any infrastructure.

pydo.genai

The GenAI Platform API is in public preview for select customers.

The API lets you build GPU-powered AI agents with pre-built or custom foundation models, function and agent routes, and RAG pipelines with knowledge bases.

pydo.image_actions

Image actions are commands that can be given to a DigitalOcean image.

pydo.images

A DigitalOcean image can be used to create a Droplet and may come in a number of flavors.

pydo.invoices

The billing endpoints allow you to retrieve your account balance, invoices and billing history.

pydo.monitoring

The DigitalOcean Monitoring API makes it possible to programmatically retrieve metrics as well as configure alert policies based on these metrics.

pydo.one_clicks

1-Click applications are pre-built Droplet images or Kubernetes apps with software, features, and configuration details already set up for you.

pydo.projects

Projects allow you to organize your resources into groups that fit the way you work.

pydo.regions

Provides information about DigitalOcean data center regions.

pydo.registry

DigitalOcean offers the ability for you to create a private container registry to store your Docker images for use with your Kubernetes clusters.

pydo.reserved_ips

As of 16 June 2022, we have renamed the Floating IP product to Reserved IPs.

pydo.reserved_ips_actions

As of 16 June 2022, we have renamed the Floating IP product to Reserved IPs.

pydo.reserved_ipv6

DigitalOcean Reserved IPv6s are publicly-accessible static IP addresses that can be mapped to one of your Droplets.

pydo.reserved_ipv6_actions

Reserved IPv6 actions requests are made on the actions endpoint of a specific reserved IPv6.

pydo.sizes

The sizes objects represent different packages of hardware resources that can be used for Droplets.

pydo.snapshots

Snapshots are saved instances of a Droplet or a block storage volume, which is reflected in the resource_type attribute.

pydo.spaces_key

Spaces keys authenticate requests to DigitalOcean Spaces Buckets.

pydo.ssh_keys

Manage SSH keys available on your account.

pydo.tags

A tag is a label that can be applied to a resource (currently Droplets, Images, Volumes, Volume Snapshots, and Database clusters) in order to better organize or facilitate the lookups and actions on it.

pydo.uptime

DigitalOcean Uptime Checks provide the ability to monitor your endpoints from around the world, and alert you when they’re slow, unavailable, or SSL certificates are expiring.

pydo.volume_actions

Block storage actions are commands that can be given to a DigitalOcean Block Storage Volume.

pydo.vpc_peerings

VPC Peerings join two VPC networks with a secure, private connection.

pydo.vpcs

VPCs (virtual private clouds) allow you to create virtual networks containing resources that can communicate with each other in full isolation using private IP addresses.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.