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.30.tar.gz
(40.7 kB
view hashes)
Built Distribution
ncluster-0.1.30-py3-none-any.whl
(67.1 kB
view hashes)
Close
Hashes for ncluster-0.1.30-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05e43517d6bf5d52c6066046b1e2ed84491907ed0a9cd93a42093a90d259bbf2 |
|
MD5 | a8772a55250af448c44a2123c07db1ef |
|
BLAKE2b-256 | cb94cea6f5865c1e4bc3e25744a316cef18f03e0a7d2add45c03af5b65646b7e |