Skip to main content

Run Python jobs on the cloud using IQOQO

Project description

The Iqoqo Python SDK

This package lets you control IQOQO using Python.

You can create computing jobs, upload files, run your jobs and get their results. You can offload any kind of Python program to be run on the cloud with infinite scale.

import iqoqo
import pathlib

iqoqo.set_credentials('john@example.com', 'my_password', save_to_dot_file=True)

my_file_id = iqoqo.upload_file('my_file.py', pathlib.Path('/home/bob/my_file.py'))
job = iqoqo.Job.add(my_file_id)
job.start()

(task_result,) = job.get_results(block=True)
task_result.write_files('/home/bob/my_result')

Documentation

Installation

 $ pip install iqoqo

Testing

  1. Clone the repo.
  2. Ensure the test requirements are installed:
 $ pip install -r test_requirements.txt
  1. Run the tests:
 $ pytest
  1. Run the tests and generate a coverage report:
 $ pytest --cov --cov-report=html

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
iqoqo-1.0.0-py3-none-any.whl (63.9 kB) Copy SHA256 hash SHA256 Wheel py3
iqoqo-1.0.0.tar.gz (54.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page