Cloud Assignment Manager Tool
Project description
Cloud Assignment Manager Tool
CAM-Tool is a cloud assignment manager tool that helps you to manage your tasks across different machines. You can start several workers across different machines and upload the command to cam-tool. Cam-tool will then distribute the tasks to workers automatically.
Install
pip install cam-tool
conda install redis # only required for server machine.
Config
The config file is located at ~/.cam.conf. You can set the server address, port, and password for redis. You can simply run cam config to edit the yaml file.
Start Server
On the server machine, simply run the following command to start the server.
cam server
Start Worker
On a worker machine, please run the following command to start a worker. You can start many worker on the same machine.
cam worker
Add new task
Please run the following command to add a new task
cam add "ls -lah"
Status
You can see the status of eash task with the ls command:
> cam ls
ID Time Command Host
---- ------------------- --------- -------
3 2022-03-07 06:39:33 ls -lah Pending
Kill tasks
You can kill task with its task id.
cam kill 3
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cam-tool-0.0.26.tar.gz.
File metadata
- Download URL: cam-tool-0.0.26.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.46.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7d483354ff7a9393e2db2622052338ca4393936f520589faa609e1425699418
|
|
| MD5 |
aec9bec6e6b2c6bcf6ac5591298356ea
|
|
| BLAKE2b-256 |
db5b0a6d44dff4ff0fc1c2fdd7b12fd6cb65e326ef5afdf7623ca8944df9a8e7
|
File details
Details for the file cam_tool-0.0.26-py3-none-any.whl.
File metadata
- Download URL: cam_tool-0.0.26-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.46.0 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71429b105aacf95a8b68ca72e705f087e80cd33efbf3b5feaa947aaa2274736f
|
|
| MD5 |
e9b29c5eaef845561230bbe25b794593
|
|
| BLAKE2b-256 |
73a8208784956b42d63745cfbf4491203c9c9da10a4a7f81159faa5ee84953a5
|