Run bash commands with python multiprocessing according to a csv file edgelist.
Project description
workforce
Run bash commands with python multiprocessing according to a csv file edgelist.
Free software: MIT license
Documentation: https://workforce.readthedocs.io.
Installation
Installation can be done with
pip install workforce
Building a workforce workflow
To build a workflow, simply run:
workforce
Then, paste the IP address into into your browsers address bar and build your program.
Running workforce
To run a sample plan from workforce github project:
workforce example_plan.csv
To import and use in a python shell, use the following command:
from workforce.workforce import worker
steve = worker("<PLAN.CSV>")
steve.run()
The schema should be in the format of a csv with two columns. On the left and right column is the source and target command respectively (see example). Produces a logfile for each run.
History
0.1.0 (2021-01-16)
First release on PyPI.
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
Hashes for workforce-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4acaa419543b260e80c0deb66188d8db5594aff2a9eaf27d0131e8ec110b937e |
|
MD5 | c84019c5c3d11ef8ed242ed0748eb91a |
|
BLAKE2b-256 | 4afb052a838c97539685c90cad180082e3a4a7f2fa5a269ad5a5f98b6c027b43 |