CLI application for managing servers on the Hetzner platform
Project description
hetzner-control
hetzner-control its CLI tool, which lets you easily manage servers on the Hetzner platform
Table of contents
Motivation
I wanted to create a console application that would interact with the REST API of the cloud service for convenient server management and the platform in general.
I also wanted to improve my skills in application design and API work while I'm studying software engineering in university.
Usage
$ htz [OPTIONS] COMMAND [ARGS]...
Options:
--install-completion: Install completion for the current shell.--show-completion: Show completion for the current shell, to copy it or customize the installation.--help: Show documentation message for available commands/flags
Commands:
info: Information about available data centers, servers, pricesserver: Operations with serversversion: Show app version
For a more detailed description of the command, see wiki page
Installation guide
- First, install environment variable, i.e. in .bashrc
$ export HETZNER_API_TOKEN="YOUR_HETZNER_TOKEN_HERE"
- Installation option
- You can install hetzner-control from pip
$ pip3 install hetzner-control
- Or you can clone the repository and build the wheel/sdist module with poetry (you can preinstall poetry):
$ git clone https://github.com/Hanabiraa/hetzner-control.git $ cd hetzner-control $ poetry install $ poetry build
- You can install hetzner-control from pip
Want to contribute?
- Clone repo and create a new branch:
$ git checkout https://github.com/Hanabiraa/hetzner-control -b name_for_new_branch
- Make changes and test
- Submit Pull Request with comprehensive description of changes
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hetzner-control-0.5.0.tar.gz.
File metadata
- Download URL: hetzner-control-0.5.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9ef0b9ac129d5d3ddcebc351689d7b6d530cda318346b71680a2c021c55fb9a
|
|
| MD5 |
06ee25524c07b80f2d58d4d8f073c968
|
|
| BLAKE2b-256 |
eca3958678f11e8dd5d973e79737bf1bb720f1327303e5d0b408f0f8abc938fa
|
File details
Details for the file hetzner_control-0.5.0-py3-none-any.whl.
File metadata
- Download URL: hetzner_control-0.5.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.9.12 Darwin/21.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43b3b1fb5db793e482229226f8700a480ed9c0eb6d61615424cccb907d2207c1
|
|
| MD5 |
718e54e0dd0df0f2b66775847f13185d
|
|
| BLAKE2b-256 |
ce290adbc635c91bc4eea943b8e26a873ef1a6fb9685e6d7a189bbfec7498768
|