https://github.com/j6k4m8/frof
frof runs other frofs
https://github.com/j6k4m8/frof
dag dependency-manager frof job-scheduler python queue slurm slurm-job-scheduler workflow workflow-automation
Last synced: 4 months ago
JSON representation
frof runs other frofs
- Host: GitHub
- URL: https://github.com/j6k4m8/frof
- Owner: j6k4m8
- Created: 2019-10-28T18:41:38.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-07T19:29:35.000Z (over 1 year ago)
- Last Synced: 2025-04-10T04:12:24.198Z (about 1 year ago)
- Topics: dag, dependency-manager, frof, job-scheduler, python, queue, slurm, slurm-job-scheduler, workflow, workflow-automation
- Language: Python
- Homepage:
- Size: 116 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README

frof runs other frofs
frof is a crazy-simple, zero-config tool to schedule multiple interdependent jobs.
> Note: I wrote frof as an undergraduate in 2015–2016. It was recently updated for Python 3 support, but you may discover that it has some fun surprising bugs anyway!
## overview
Let's generate a simple README.md using `frof`. We create the title in one job, the contents in another job, and then combine them in a third job. The first two must run before the third, but are independent of each other.
`simple.frof`
```yml
make_heading -> combine_files
make_content -> combine_files -> cleanup
combine_files: cat part_a part_b > new_readme.txt
make_heading: echo "# frof" > part_a
make_content: echo "frof runs other frofs" > part_b
cleanup: rm part_a part_b
```
Run it with:
```bash
frof simple.frof
```
Optionally get an HTTP server running a status page with:
```bash
frof simple.frof --status http
```
## installation
```
git clone https://github.com/j6k4m8/frof.gif
cd frof
pip3 install -e .
```
Check out the [Getting Started Tutorial](docs/tutorial.md) to start getting your hands dirty.
# generating documentation
The documentation generator for this repository uses frof. You can see a basic example in use by running `frof make-docs.frof` from this directory.