Skip to main content

Official Hetzner Cloud python library

Project description

https://github.com/hetznercloud/hcloud-python/actions/workflows/test.yml/badge.svg https://github.com/hetznercloud/hcloud-python/actions/workflows/lint.yml/badge.svg 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/.

Supported Python versions

We support python versions until end-of-life.

Development

Setup Dev Environment

  1. python3 -m venv venv && source venv/bin/activate

  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 pre-commit

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.

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

hcloud-1.24.0.tar.gz (99.2 kB view hashes)

Uploaded Source

Built Distribution

hcloud-1.24.0-py3-none-any.whl (73.7 kB view hashes)

Uploaded Python 3

Supported by

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