Skip to main content

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 <http://www.qarnot.com/qrad>`_.

Basic usage
===========

Get your token and free computation time on `computing.qarnot.com <https://computing.qarnot.com>`_

Launch a docker container in 7 lines:

.. code:: python

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 <https://computing.qarnot.com>`_.

SDK documentation is available `here <https://computing.qarnot.com/documentation/sdk-python/>`_

Generating documentation
========================

To generate the SDK documentation you can use the following command

.. code:: bash

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-1.1.1.tar.gz (56.8 kB view hashes)

Uploaded Source

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