Skip to main content

ClusterWeb, a distributed system API for SSH and PBS systems

Project description

![alt text](./docs/source/images/logo_color.png?raw=true "Icon")

# ClusterWeb: Distributed System Python API

ClusterWeb is a Python library for creating compute clusters out of any devices that use SSH.

#### Documentation: <https://cluster-web.readthedocs.io/en/latest/>

### Compatiable Devices

- CPUs nodes
- Desktops
- GPUs workstations
- Laptops
- Raspberry Pi
- Android phones


### Requirements

- Python 3.6 or above
- SSH
- Linux or OSX
- pickle
- cloudpickle (host machine)


### Basic Usage:

```python
from clusterweb.pbs.qsub import Qsub
import time

def job(arg):
a,b = 0,1
for _ in range(int(arg)):
a,b = b,a+b
return a

q = Qsub(job,1e5)
q.push()
q.pull(thread=False)

print(q.result)
```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clusterweb-0.0.0.2.tar.gz (15.9 kB view hashes)

Uploaded Source

Built Distribution

clusterweb-0.0.0.2-py3-none-any.whl (22.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page