Sep-16-2020, 09:35 AM
(Sep-13-2020, 06:49 PM)jimy_byerley Wrote: It looks like systemd on linux, isn't it ?
hey, thanks for checking out the project, I much appreciate it!
haha, I can't quite tell if you mean "it looks like systemd" in the controversial sense because of all the hate systemd has gotten over the years. . .
I personally wouldn't describe it as similar to systemd - systemd is just a way of creating & configuring run-time services on linux. . .
pypyr is a task-runner, so you can use yaml to define your own sequences of tasks with quite complex workflows. . . For examples, if boolean condition a then run this cmd, but don't run the other command, or jump to another sequences of steps. . . and with that you get automatic retries if you want. . .so you can model much more complex workflows or automation sequences than you would in systemd.
So for example, if you want to automate some tasks that reads values from a local .json value, do some manipulation of those values and then submit them to a web-server somewhere, you can use a task runner like pypyr to automate that without having to do all the repetitive/boring/boilerplate code you typically have to do for error handling and retry loops.