π PyHetznerServer v1.0.0 Release Notes
This is the first stable release of PyHetznerServer, a modern, type-safe Python library for Hetzner Cloud Server management.
- 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
- Rate Limiting Aware - Built-in handling of API rate limits
- Modern Python - Supports Python 3.7+
pip install pyhetznerserverfrom 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()- β Server CRUD operations
- β Power management (on, off, reboot, reset, shutdown)
- β Image creation and server rebuilding
- β Backup enable/disable with scheduling
- β Rescue mode enable/disable
- β ISO mounting and unmounting
- β Server type changes with disk upgrades
- β Protection settings (delete, rebuild protection)
- β Network attachment/detachment
- β DNS PTR record management
- β Password reset functionality
- β Server action monitoring
- Python Support: 3.7+
- Type Hints: Complete type coverage
- Testing: 24 passing tests
- CI/CD: GitHub Actions workflow
- Documentation: Comprehensive README and examples
- License: MIT
Built for the Python and Hetzner Cloud community with β€οΈ
*Happy Cloud Computingcheck-build βοΈ