clusterweb-0.0.0.2
توضیحات
ClusterWeb, a distributed system API for SSH and PBS systems
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | clusterweb-0.0.0.2 |
| نام | clusterweb |
| نسخه کتابخانه | 0.0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Stephen Offer |
| ایمیل نویسنده | offercstephen@example.com |
| آدرس صفحه اصلی | https://github.com/gndctrl2mjrtm/cweb-project |
| آدرس اینترنتی | https://pypi.org/project/clusterweb/ |
| مجوز | MIT |

# 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)
```
نحوه نصب
نصب پکیج whl clusterweb-0.0.0.2:
pip install clusterweb-0.0.0.2.whl
نصب پکیج tar.gz clusterweb-0.0.0.2:
pip install clusterweb-0.0.0.2.tar.gz