Skip to content
hcloud-python is a library for the Hetzner Cloud API.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Fix wrong documentation link in readme Dec 27, 2018
docs Remove unstable notice Feb 21, 2019
examples Don't add the tests to the release package (#41) May 2, 2019
hcloud Fix parameter name in documentation (#45) Jun 16, 2019
requirements Prepeare Documentation for Release (#3) Feb 20, 2019
tests Use the new mock (#44) May 16, 2019
.gitignore Initial commit Oct 22, 2018
.gitlab-ci.yml Introduce library skeleton Nov 16, 2018
.travis.yml
CHANGELOG.rst Add created property to Floating IP Domain (#42) May 13, 2019
CONTRIBUTING.rst Prepeare Documentation for Release (#3) Feb 20, 2019
LICENSE Update LICENSE Feb 21, 2019
MANIFEST.in Prepeare Documentation for Release (#3) Feb 20, 2019
Makefile Rename Client & Let APIException return a string (#24) Feb 21, 2019
README.rst
setup.cfg Prepare setup.py for deployment Feb 19, 2019
setup.py Don't add the tests to the release package (#41) May 2, 2019
tox.ini

README.rst

Hetzner Cloud Python

https://travis-ci.com/hetznercloud/hcloud-python.svg?branch=master https://readthedocs.org/projects/hcloud-python/badge/?version=latest

Official Hetzner Cloud python library

The library's documentation is available at ReadTheDocs, the public API documentation is available at https://docs.hetzner.cloud.

Usage example

After the documentation has been created, click on Usage section

Or open docs/usage.rst

You can find some more examples under examples/.

Development

Setup Dev Environment

  1. mkvirtualenv hcloud-python
  2. pip install -e . or pip install -e .[docs] to be able to build docs

Run tests

  • tox .
  • You can specify environment e.g tox -e py36
  • You can test the code style with tox -e flake8

Create Documentation

Run make docs. This will also open a documentation in a tab in your default browser.

Style Guide

  • Type Hints: If the type hint line is too long use inline hinting. Maximum inline type hint line should be 150 chars.

License

The MIT License (MIT). Please see License File for more information.

You can’t perform that action at this time.