Skip to content

Latest commit

Β 

History

History
78 lines (58 loc) Β· 2.08 KB

File metadata and controls

78 lines (58 loc) Β· 2.08 KB

πŸŽ‰ PyHetznerServer v1.0.0 Release Notes

πŸš€ 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
  • Rate Limiting Aware - Built-in handling of API rate limits
  • Modern Python - Supports Python 3.7+

οΏ½οΏ½ 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()

πŸ“‹ Supported Operations

  • βœ… 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

πŸ§ͺ Technical Details

  • 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

πŸ™ Acknowledgments

Built for the Python and Hetzner Cloud community with ❀️


*Happy Cloud Computingcheck-build ☁️