Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
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.
pip install cam-tool
conda install redis # only required for server machine.
conda install -c conda-forge nodejs # only required if you want to use a web-based gui
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.
On the server machine, simply run the following command to start the server.
cam server
On a worker machine, please run the following command to start a worker. You can start many worker on the same machine.
cam worker
You may also want to add more parameters as resource calculation, prefix or suffix.
cam worker "ngpu()" "sbash"
where ngpu()
calculate how many GPU is idle and "sbash" is a prefix to all the command running on this server.
Please run the following command to add a new task
cam add "ls -lah"
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
You can kill task with its task id.
cam kill 3
You can run the following command to get the log of a running or finished worker:
cam log 3
Cam tool provides a simple web console to add, kill, and watch tasks. Please install nodejs before you use this function. Just run the following code to start a web server. Never run this command on any public server.
cam web
Then open the link http://localhost:8257/ and you can see the following user interface:
FAQs
Cloud Assignment Manager Tool
We found that cam-tool demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.