--- id: python-digitalocean version: "1.17.0" license: LGPL v3 license_treatment: copyleft maintenance: abandoned --- # python-digitalocean — digitalocean.com API to manage Droplets and Images License: copyleft · Maintenance: abandoned · Downloads: 177.2K/mo ## 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 above — 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 pip install python-digitalocean uv add python-digitalocean poetry add python-digitalocean ## Installing 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 177.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags digitalocean api client, droplet management python, cloud infrastructure automation, digitalocean sdk, manage vps programmatically, digitalocean python wrapper, cloud provisioning api, abandoned, cloud-api, digitalocean [View on SkillFed](https://skillfed.io/packages/python-digitalocean) · [View on PyPI](https://pypi.org/project/python-digitalocean/)