upcloud-api
UpCloud API Client
What it is and what it does
upcloud-api is an object-oriented Python wrapper around UpCloud's cloud infrastructure API. It provides classes for servers, storage, and networking resources, allowing you to create, modify, and destroy cloud infrastructure programmatically. The package handles authentication, request marshalling, and response parsing, so you work with Python objects rather than raw HTTP calls.
The client is designed for both direct scripting and integration into larger automation tools like Ansible. It includes convenience methods that combine multiple API calls (e.g., stop-and-destroy) and helper functions for common tasks like retrieving public IPs or converting resources to dictionaries. The documentation recommends testing thoroughly before production use and suggests using a separate UpCloud account for development.
Use it for:
- Automate server provisioning and teardown in CI/CD pipelines or infrastructure-as-code workflows.
- Build custom dashboards or monitoring tools that query server state and resource usage across your UpCloud account.
- Implement dynamic scaling logic that creates or destroys servers based on application demand.
- Clone existing server configurations or storage volumes to quickly spin up new environments.
- Manage server lifecycle operations (start, stop, upgrade, destroy) from Python scripts or scheduled tasks.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Object-oriented Python client for UpCloud's cloud infrastructure API, enabling programmatic management of servers, storage, and networking resources.
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and integrates cleanly with a single well-known dependency. It is suitable for anyone managing UpCloud infrastructure programmatically. Test your use cases thoroughly before production deployment, as the documentation emphasizes, and consider using a separate dev account initially.
Install
upcloud-api on PyPI
pip
pip install upcloud-apiuv
uv add upcloud-apipoetry
poetry add upcloud-apiInstalling upcloud-api
Before you install
Low friction install with a single dependency (requests). Actively maintained with recent commits and a release within the past year. Supports modern Python versions (3.9–3.13 and PyPy3).
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
pip install upcloud-api
from upcloud_api import CloudManager, Credentials
credentials = Credentials.parse()
manager = CloudManager(**credentials.dict)
manager.get_account()
Requires valid UpCloud API credentials (username and password or environment variables); the package does not authenticate without them.
Verify before relying
- Whether the convenience functions that combine multiple API endpoints cover the most common workflows or require custom orchestration.
- Performance characteristics and rate-limiting behavior when managing large numbers of servers or storage resources.
- Completeness of API coverage relative to the current UpCloud API specification version.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — requests |
| Maintenance | actively maintained — 323 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 78,388/month — #14,445 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: upcloud_api-2.9.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
ecsapiAn SDK for managing Seeweb ECS cloud…
permissive · top 15,000 on PyPI
vultrA Python client library for the Vultr.com API,…
permissive · top 15,000 on PyPI
yarn-api-clientPython client library for querying and managing…
permissive · top 15,000 on PyPI
hcloudHcloud is the official Python client library…
permissive · top 15,000 on PyPI
stackit-iaasProvides Python bindings to create and modify…
permissive · top 15,000 on PyPI
python-digitaloceanProvides Python bindings to the DigitalOcean…
copyleft · top 15,000 on PyPI
aliyun-python-sdk-ecsProvides Python bindings to Aliyun's Elastic…
permissive · top 15,000 on PyPI
google-cloud-computePython client library for Google Compute Engine…
permissive · top 1,000 on PyPI
ociPython SDK for Oracle Cloud Infrastructure that…
permissive · top 5,000 on PyPI
tccliCommand-line interface for managing Tencent…
permissive · top 15,000 on PyPI