hcloud
Official Hetzner Cloud python library
Decision gist · record as of 2026-08-14
Yes. Hcloud is the official, actively maintained library for Hetzner Cloud integration. It has low install friction, permissive licensing, no known vulnerabilities, and is production-stable. Install it if you need to manage Hetzner Cloud infrastructure from Python. Be aware that experimental features may change within minor releases—monitor the changelog if you rely on them.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a valid Hetzner Cloud API token to authenticate with the service.
- Low install friction with a pure-Python wheel distribution.
- The package is actively maintained with a release 24 days ago and supports current Python versions (3.10 through 3.14).
License · maintenance · safety
MIT (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute this library freely in commercial and private projects with minimal restrictions.
last release 2026-07-21 (24 days) · last repo commit 2026-07-31 · 394 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 247,697 downloads/mo, #8,686 on PyPI
Alternatives
Verify before relying
pip install hcloud
from hcloud import Client
from hcloud.images import Image
from hcloud.server_types import ServerType
client = Client(token="YOUR_API_TOKEN", application_name="my-app")
response = client.servers.create(
name="my-server",
server_type=ServerType(name="cx23"),
image=Image(name="ubuntu-22.04")
)
print(response.server.id)- Whether experimental features in the library are suitable for production use in your specific use case.
- Performance characteristics and rate limits when managing large numbers of cloud resources.
What it is and what it does
Hcloud is the official Python SDK for Hetzner Cloud, a cloud infrastructure provider. It wraps Hetzner's REST API in a Python-native interface, allowing you to create, manage, and query cloud servers, images, networks, volumes, and other infrastructure resources programmatically. The library handles authentication, request formatting, and response parsing, so you work with Python objects rather than raw HTTP calls.
The package is production-stable (Development Status 5) and actively maintained, with support for Python 3.10 through 3.14. It has minimal dependencies—only requests for HTTP and python-dateutil for timestamp handling—making it lightweight to integrate. The library includes experimental features that may have breaking changes within minor releases, so you should monitor the API changelog for updates to features marked experimental.
Use it for
- Automate server provisioning and teardown as part of deployment or testing pipelines.
- Build infrastructure-as-code tools that manage Hetzner Cloud resources declaratively.
- Query and monitor your cloud infrastructure programmatically for cost tracking or compliance audits.
- Integrate Hetzner Cloud resource management into larger orchestration or DevOps workflows.
- Develop multi-cloud or hybrid-cloud applications that need to manage Hetzner resources alongside other providers.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Hcloud is the official, actively maintained library for Hetzner Cloud integration. It has low install friction, permissive licensing, no known vulnerabilities, and is production-stable. Install it if you need to manage Hetzner Cloud infrastructure from Python. Be aware that experimental features may change within minor releases—monitor the changelog if you rely on them.
Install
hcloud on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. The package is actively maintained with a release 24 days ago and supports current Python versions (3.10 through 3.14). Depends only on two common libraries: requests and python-dateutil.
Requires a valid Hetzner Cloud API token to authenticate with the service.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute this library freely in commercial and private projects with minimal restrictions.
Quickstart
pip install hcloud
from hcloud import Client
from hcloud.images import Image
from hcloud.server_types import ServerType
client = Client(token="YOUR_API_TOKEN", application_name="my-app")
response = client.servers.create(
name="my-server",
server_type=ServerType(name="cx23"),
image=Image(name="ubuntu-22.04")
)
print(response.server.id)
Verify before relying
- Whether experimental features in the library are suitable for production use in your specific use case.
- Performance characteristics and rate limits when managing large numbers of cloud resources.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespython-dateutilrequests |
| Maintenance | Actively maintained 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 247,697 / month, #8,686 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: hcloud-2.23.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “hetzner cloud api client”
- hcloudHcloud is the official Python client library for Hetzner Cloud's API,…
- aliyun-python-sdk-coreProvides core client infrastructure for calling Alibaba Cloud APIs…
- certbot-dns-multiA Certbot DNS plugin that automates ACME DNS challenges across 117+…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-dns · upcloud-api · kcli · google-cloud-asset · google-cloud-filestore · google-cloud-firestore · google-cloud-datastore · google-cloud-compute · google-cloud-build · google-cloud-container