Skip to main content

A client for cudocompute.com

Project description

Cudo Compute

To use this client install cudoctl and run ./cudoctl init follow the steps to enter your API key and choose your project.

Then when you call cudo_api in python it will grab your API key from the yaml file created by cudoctl.

pip install cudo-compute
from cudo_compute import cudo_api

api = cudo_api.virtual_machines()
vms = api.list_vms(cudo_api.project_id())

More examples of various api calls can be found in examples.

Advanced Users / Development

The code is generated by swagger codegen cli.

Most code is generated in github actions see .github/workflows the generated code is put into a /src/cudo_compute directory The code gets modified and the helpers get copied in from /helpers.

./codegen.sh generates docs directory with source code and documentation.

If you wish to customise how the API key or project is selected see the code in the helpers directory.

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

cudo_compute-0.1.10.tar.gz (364.5 kB view hashes)

Uploaded Source

Built Distribution

cudo_compute-0.1.10-py3-none-any.whl (289.2 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