python-digitalocean
digitalocean.com API to manage Droplets and Images
What it is and what it does
python-digitalocean is a Python client library for the DigitalOcean cloud API, allowing developers to create, manage, and monitor Droplets (virtual machines), images, SSH keys, and other cloud resources programmatically. It wraps the DigitalOcean REST API behind Python objects and methods, so you can list droplets, create new ones, resize them, manage backups, and perform power operations without writing raw HTTP requests.
The library depends on requests for HTTP communication and jsonpickle for serialization. However, it is no longer actively maintained—the last release was in October 2021 and the repository shows no commits since August 2023. This means it may not support recent DigitalOcean API changes, and any bugs or security issues discovered will not be patched.
Use it for:
- Automate Droplet provisioning and teardown in deployment pipelines or infrastructure-as-code workflows.
- Build monitoring or management dashboards that query Droplet status and metrics via the DigitalOcean API.
- Manage SSH keys and snapshots programmatically as part of a larger cloud automation system.
- Write scripts to perform bulk operations like shutting down or resizing multiple Droplets at once.
- Integrate DigitalOcean resource management into Python applications or CLI tools.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to the DigitalOcean API for programmatic management of Droplets, images, SSH keys, and related cloud infrastructure resources.
No—not for new projects. The package is abandoned (last release October 2021, no commits since August 2023) and will not receive updates for DigitalOcean API changes or security issues. If you need DigitalOcean API access, use the official DigitalOcean Python SDK or make direct HTTP calls via requests. Only consider this if you are maintaining legacy code that already depends on it and cannot migrate.
Install
python-digitalocean on PyPI
pip
pip install python-digitaloceanuv
uv add python-digitaloceanpoetry
poetry add python-digitaloceanInstalling python-digitalocean
Before you install
Low install friction with only two lightweight runtime dependencies (requests and jsonpickle). However, the package is abandoned—last release was 2021-10-02 and last commit 2023-08-09—so expect no fixes for API changes, security issues, or compatibility problems with modern Python versions.
License in practice
Licensed under LGPL v3 (copyleft), which requires that any modifications or derivative works remain under the same license and be made available to users. This is a significant constraint for proprietary software.
Quickstart
import digitalocean
manager = digitalocean.Manager(token="your_api_token")
droplets = manager.get_all_droplets()
print(droplets)
Requires a valid DigitalOcean API token; the package does not validate API compatibility with current DigitalOcean endpoints.
Verify before relying
- Whether the package's API calls remain compatible with DigitalOcean's current API (last tested 2021-10-02).
- Python version compatibility beyond what the fact sheet specifies (requires_python is unspecified).
- Whether DigitalOcean has deprecated or changed endpoints used by this library since its last release.
Package facts
| License | LGPL v3 (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — requests, jsonpickle |
| Maintenance | abandoned — 1,777 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 177,189/month — #10,223 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python_digitalocean-1.17.0-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
pydoOfficial Python client library for the…
permissive · top 15,000 on PyPI
ecsapiAn SDK for managing Seeweb ECS cloud…
permissive · top 15,000 on PyPI
stackit-iaasProvides Python bindings to create and modify…
permissive · top 15,000 on PyPI
aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic…
permissive · top 15,000 on PyPI
upcloud-apiObject-oriented Python client for UpCloud's…
permissive · top 15,000 on PyPI
docker-pyA Python client library that lets you control…
permissive · top 5,000 on PyPI
dropboxOfficial Python client library for the Dropbox…
permissive · top 5,000 on PyPI
dlipowerManages Digital Loggers web-based network power…
permissive · top 15,000 on PyPI
alibabacloud-cs20151215Provides Python bindings for Alibaba Cloud's…
permissive · top 15,000 on PyPI
stackit-objectstorageProvides Python bindings to the STACKIT Object…
permissive · top 15,000 on PyPI