Skip to main content

Qarnot Computing SDK

Project description

Qarnot computing Python SDK

pypi-badge readthedocs-badge

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 boilers.

Basic usage

Create an account, retrieve your token and get free computation time on account.qarnot.com

Launch a docker container in 7 lines:

import qarnot
conn = qarnot.connection.Connection(client_token="xxxx_mytoken_xxxx")
task = conn.create_task('hello world', 'docker-batch', 4)
task.constants['DOCKER_CMD'] = 'echo hello world from node #${FRAME_ID}!'
task.run()
print(task.stdout())

Samples and documentations

You can find samples and detailed information on 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qarnot-2.14.5.tar.gz (109.6 kB view hashes)

Uploaded Source

Built Distribution

qarnot-2.14.5-py3-none-any.whl (71.3 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