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/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.27.tar.gz
(39.9 kB
view hashes)
Built Distribution
ncluster-0.1.27-py3-none-any.whl
(66.3 kB
view hashes)
Close
Hashes for ncluster-0.1.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 199a488a8bcc273d6757ac4e780dc816e415ef9f6e3c52e6767c10f8f52c0031 |
|
MD5 | 2c7394ea21e840088d1f11fb5ffde1c1 |
|
BLAKE2b-256 | 5865a797959ae59914eff85f83ba733a682773eaa4dedff5f11c72bfbfc0448f |