Metadata-Version: 2.1
Name: cudo-compute
Version: 0.1.1
Summary: A client for cudocompute.com
Project-URL: Homepage, https://www.cudocompute.com
Project-URL: Bug Tracker, https://github.com/CudoVentures/cudo-compute-python-client/issues
Author-email: Cudo Ventures <dev@cudoventures.com>
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: certifi>=14.05.14
Requires-Dist: python-dateutil>=2.5.3
Requires-Dist: ruamel-yaml>=0.17.2
Requires-Dist: six>=1.10
Requires-Dist: urllib3>=1.15.1
Description-Content-Type: text/markdown

# 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 CudoClient in python it will grab your API key from the yaml file created by cudoctl.

```bash
pip install cudo-compute
```

```python
import cudo_compute as cudo

client, e = cudo.CudoClient.get_client()
api = cudo.VirtualMachinesApi(client)
```

A more complete example of various api calls can be seen in the example in ``examples/example.py`` demonstrates how to use it. 



# 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 src file with example client for local experimentation

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