Introduction
Overview
The IONOS Cloud SDK for Python provides you with access to the IONOS Cloud Dbaas Postgres API.
Getting Started
An IONOS account is required for access to the Dbaas Postgres API; credentials from your registration are used to authenticate against the IONOS Cloud API.
Installation & Usage
Requirements:
Python >= 3.5
pip install
Since this package is hosted on PyPI (https://pypi.org/) you can install it like this
If the python package is hosted on a repository, you can install directly using:
(you may need to run pip
with root permission: sudo pip install git+https://github.com/ionos-cloud/sdk-python-dbaas-postgres.git
)
Then import the package:
Setuptools
Install via Setuptools.
(or sudo python setup.py install
to install the package for all users)
Then import the package:
NOTE: The Python SDK does not support Python 2. It only supports Python >= 3.5.
Authentication
The username and password or the authentication token can be manually specified when initializing the SDK client:
Environment variables can also be used; the SDK uses the following variables:
IONOS_USERNAME - to specify the username used to login
IONOS_PASSWORD - to specify the password
IONOS_TOKEN - if an authentication token is being used
Warning: Make sure to follow the Information Security Best Practices when using credentials within your code or storing them in a file.
FAQ
How can I open a bug/feature request?
Bugs & feature requests can be open on the repository issues: https://github.com/ionos-cloud/sdk-python-dbaas-postgres/issues/new/choose
Can I contribute to the Python SDK?
Pure SDKs are automatically generated using OpenAPI Generator and don’t support manual changes. If you need changes please open an issue and we’ll try to take care of it.
Last updated