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.21.tar.gz
(37.6 kB
view hashes)
Built Distribution
ncluster-0.1.21-py3-none-any.whl
(61.9 kB
view hashes)
Close
Hashes for ncluster-0.1.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a6cd2835f6ab7097062fd8defc4be7c3ecdd73a05fb4394317c4328f940b5f2 |
|
MD5 | 7a89489e2b6fcd03b4b38c8c7e135147 |
|
BLAKE2b-256 | 6fcb1c186c59ebe9be64f2da82ec18b9546e1b8251bf3cb43f1a2d2d93d35aec |