Human! Do Task!
is a library for "half-assed" automation, created by Arlo Belshee of Deep Roots.
-
Watch this video: https://www.youtube.com/watch?v=ydq-KjGDRJg.
-
Take this class: https://www.eventbrite.com/e/automation-as-a-process-4-wk-public-class-registration-444094617957
-
Copy
human_do_task.py
into your repo and start writing half-assed automation. Feel free to modify your copy to meet your local needs.
def perform(go: Process) -> None:
go.tell("Please lorem.")
go.tell("Please ipsum.")
go.ask(
"Are the lights on?", lambda: go.tell("Please turn off the circuit breaker.")
)
go.tell("Please do one more thing.")
def verify(go: Process) -> None:
go.tell("Please do something.")
go.verify(go.that("the thing is colored blue"))
This library makes no attempt to maintain compatibility across versions. I assume you will take a copy, use it, and never come back.