Skip to main content

Multyvac gives Python developers a simple interface for offloading computational workloads to the cloud.

Getting Started

You need to set an Api Key for your machine. To do this, run the following from your shell:

$ python -m multyvac.setup

Follow the on screen instructions to complete the setup process.

Verify Installation

Open up Python, and import multyvac:

>>> import multyvac

If you get an ImportError, something went wrong. Try running the setup again.

Running a Job

The idea is to take a function that you would normally run on your own machine, but instead run it on Multyvac. Here’s an example of how you would offload a function for adding two numbers:

>>> def add(x, y):
...     return x + y
>>> # run add on your machine
>>> add(1, 2)
3
>>> # submit add to Multyvac
>>> job_id = multyvac.submit(add, 1, 2)
>>> # get job object
>>> job = multyvac.get(job_id)
>>> # wait for job to finish processing
>>> job.wait()
>>> # verify the result is the same
>>> job.result
3

Metadata

Release files for vac 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vac 0.6.0
File Size Uploaded
vac-0.6.0.tar.gz 40.4 kB Details

Release files / vac-0.6.0.tar.gz

Download URL vac-0.6.0.tar.gz
Size 40.4 kB
Tags Source
SHA-256 checksum
How to use checksums
41d5292a4b91b286e8afd55011b648b3db941760d08187cb1656cd3e3833aa72
BLAKE2b-256 checksum
How to use checksums
56480f83aa77662ae6dc4b7b155d4056a23b0480fc8bc9265651a88a04d7186f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page