The liara sdk, with Python language for client that utilizes fetch-api.
Python 3.7+
git clone https://github.com/liara-cloud/python-sdk.git
python -m venv .venv
source .venv/bin/activate
which python
pip install -r requirements.txt
windows:
./bin/cmd/generate.cmd && ./bin/cmd/doc.cmd && ./bin/cmd/remove-files.cmd && ./bin/cmd/init.cmd
cd ./bin/template/docs
npm install
npm run start
Linux/Mac:
./bin/bash/generate.sh && ./bin/bash/doc.sh && ./bin/bash/remove-files.sh && ./bin/bash/init.sh
cd ./bin/template/docs
npm install
npm run start
Install via Setuptools.
python setup.py bdist_wheel install --user
(or sudo python setup.py install
to install the package for all users)
Execute pytest
to run the tests.
pip install twine
twine upload dist/*
install with pip:
pip liara/sdk
Then import the package:
import paas.openapi_client
import dbaas.openapi_client
import mail.openapi_client
import dns.openapi_client
import object_storage.openapi_client