Qarnot Computing SDK
Project description
Qarnot computing Python SDK
This package allows you to use Qarnot cloud computing service.
You can launch, manage and monitor payloads running on distributed computing nodes deployed in Qarnot’s digital heaters.
Basic usage
Get your token and free computation time on computing.qarnot.com
Launch a docker container in 7 lines:
import qarnot
conn = qarnot.connection.Connection({'client_auth': 'xxxx-mytoken-xxxx'})
task = conn.create_task('hello world', 'docker-batch', 4)
task.constants["DOCKER_REPO"]="library/ubuntu"
task.constants['DOCKER_CMD'] = 'echo hello world from node #${FRAME_ID}!'
task.run()
Samples and documentations
You can find samples and detailed information on computing.qarnot.com.
SDK documentation is available here
Generating documentation
To generate the SDK documentation you can use the following command
make -C doc html
The index of the doc is then generated in doc/_build/html/index.html
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
qarnot-1.5.0.tar.gz
(62.7 kB
view hashes)