Test

Human! Do Task! is a library for "half-assed" automation, created by Arlo Belshee of Deep Roots.

How to use it

  1. Watch this video: https://www.youtube.com/watch?v=ydq-KjGDRJg.

  2. Take this class: https://www.eventbrite.com/e/automation-as-a-process-4-wk-public-class-registration-444094617957

  3. 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.

Example

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"))

snippet source | anchor

Versioning

This library makes no attempt to maintain compatibility across versions. I assume you will take a copy, use it, and never come back.