Lightweight interface to launching jobs in the cloud
Project description
ncluster
By Yaroslav Bulatov, Andrew Shaw, Ben Mann
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/yaroslavvb/ncluster/master/requirements.txt
pip install -U 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.34.tar.gz
(41.6 kB
view hashes)
Built Distribution
ncluster-0.1.34-py3-none-any.whl
(68.2 kB
view hashes)
Close
Hashes for ncluster-0.1.34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d17e3a6edd6a59b6fcc79b284627ab14c1e063d78630160ee208a6ed87671b8b |
|
MD5 | 171f5e674a2af7db5cf105cf5f18be3f |
|
BLAKE2b-256 | f28e84ccc911b5ea965d033162d17c809e3c1d81d4a51cd270b17f4b2bb7fa47 |