Skip to content

Releases: nrdg/cloudknot

Cloudknot v0.2.1

02 Dec 23:35
Compare
Choose a tag to compare

Changes

  • Bugfix for code_context in cloudknot/__init.py

Cloudknot v0.2

02 Dec 21:12
Compare
Choose a tag to compare

Changes

  • All cloudknot docker images are now housed in a single unified ECR repository
  • Created command line configuration tool cloudknot configure
  • Cloudknot now checks for configuration and a running docker daemon on import

Cloudknot v0.1.2

23 Nov 13:10
Compare
Choose a tag to compare

Changes

  • Updated package data to include template files that cloudknot needs to run.

Cloudknot v0.1.1

17 Nov 22:48
Compare
Choose a tag to compare

Welcome to cloudknot, a python library that lets you run arbitrary python functions on AWS Batch.

It's as easy to use as:

import cloudknot as ck

def my_awesome_func(b):
    """Here is a function I want to run on AWS Batch"""
    # Always import dependencies within the function
    import numpy as np

    x = np.random.normal(0, b, 1024)
    A = np.random.normal(0, b, (1024, 1024))

    return np.dot(A, x)

# Create a `Knot`, the primary object in cloudknot (read the docs)
knot = ck.Knot(name='my_awesome_func', func=my_awesome_func)

# Submit 20 jobs (each one will run on AWS Batch and then send the results back here)
result_futures = knot.map(range(1, 20))

You can find out more at:
documentation: https://richford.github.io/cloudknot/
GitHub repo: https://github.com/richford/cloudknot

Give it a whirl. If you like it, star the repo on GitHub. And if you use it in your research, please let us know.
We hope it makes your research computing experience easier.