Skip to main content

Official Hetzner Cloud python library

Project description

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

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.

History

1.1.0 (2019-02-27)

  • Feature: Add STATUS-constants for server and volume status

1.0.1 (2019-02-22)

Fix: Ignore unknown fields in API response instead of raising an error

1.0.0 (2019-02-21)

0.1.0 (2018-12-20)

  • First release on GitHub.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hcloud-1.1.0.tar.gz (56.4 kB view details)

Uploaded Source

File details

Details for the file hcloud-1.1.0.tar.gz.

File metadata

  • Download URL: hcloud-1.1.0.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for hcloud-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ec702ecb7ac061067802ce192460ef02ed478cf3c075054ec2089a9632fe645a
MD5 ce0de1d806a4875358d93a97b70df8b8
BLAKE2b-256 6abc7597fa40cf7894eadc3e8ff993701e214556c5e43ed5261adc7d305efa7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page