Skip to content

Bugs-Zero/HumanDoTask

Folders and files

NameName
Last commit message
Last commit date
Jan 24, 2025
Oct 30, 2022
Oct 30, 2022
Nov 19, 2024
Nov 1, 2022
Nov 19, 2024
Oct 30, 2022
Feb 2, 2023
May 21, 2024
May 8, 2023
Mar 19, 2025
Feb 2, 2023
Nov 5, 2022
Nov 5, 2022
Oct 30, 2022
Oct 30, 2022
Nov 5, 2022
Oct 30, 2022
Oct 30, 2022
Nov 5, 2022

Repository files navigation

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.