Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Some Data Should Be Code.
I have had in mind a project which I hope could make this more ergonomic. I think the example could look more like so (and be made to work):
from whatever import * @depends("inputs/checkbook_pro_export.csv") @makes(ledger_path="ledger/{year}_{month:02d}.toml") # n.b. not an f-string @parametrized_rule(year=range(2019, 2026), month=range(1, 13)) def import_month(): return import_from_checkbook(ledger_path, year, month)
There are no comments on this comment yet.
I have had in mind a project which I hope could make this more ergonomic. I think the example could look more like so (and be made to work):