Lightweight interface to launching jobs in the cloud
Project description
ncluster
By Yaroslav Bulatov and Andrew Shaw
import ncluster
task = ncluster.make_task(instance_type='p2.xlarge')
task.upload('myscript.py')
task.run('python myscript.py > out')
task.download('out')
Installation
Install pip, tmux, Python 3.6 (see below), then
pip install -r https://raw.githubusercontent.com/diux-dev/ncluster/master/requirements.txt
pip install ncluster
Extra
An example of installing pip/tmux/python 3.6 on MacOS
- Download Anaconda distribution following https://conda.io/docs/user-guide/install/index.html
- Install tmux through homebrew: https://brew.sh/, then
brew install tmux
Then
conda create -n new python=3.6 -y
conda activate new
Extra Deps:
brew install fswatch
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ncluster-0.1.22.tar.gz
(37.8 kB
view hashes)
Built Distribution
ncluster-0.1.22-py3-none-any.whl
(62.1 kB
view hashes)
Close
Hashes for ncluster-0.1.22-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb5bb3acf4e0a1b01565858c5b9ab597d2c2d3d130a1ed4a0149aa4b5fe1a03d |
|
MD5 | a6669f51c713836904f9705060ba8b88 |
|
BLAKE2b-256 | d67206ae634afa2b4712d71ca39d42d5092e9e6f1975a9a5aef11f04f9fe16c3 |