π PyHetznerServer v1.0.0 - First Stable Release
π First Stable Release
This is the first stable release of PyHetznerServer, a modern, type-safe Python library for Hetzner Cloud Server management.
β¨ Key Features
- Complete Server Lifecycle Management - Create, manage, and delete cloud servers
- All Server Actions - Power management, backups, rescue mode, ISO handling, and more
- Type Safety - Full type hints throughout the codebase
- Dry-Run Mode - Test your code without making real API calls
- Comprehensive Error Handling - Detailed exception hierarchy
- Automatic Model Parsing - JSON responses automatically converted to Python objects
π¦ Installation
pip install pyhetznerserverπ οΈ Quick Start
from pyhetznerserver import HetznerClient
# Initialize client
client = HetznerClient(token="your_api_token_here")
# Create a server
server, action = client.servers.create(
name="my-server",
server_type="cx11",
image="ubuntu-20.04",
location="fsn1"
)
# Manage server
server.power_off()
server.power_on()
server.reboot()
client.close()Happy Cloud Computing! βοΈ