🚧 Currently under construction! Come back soon! 🚧
Card I/O (stylized as cardio) is a lightweight python module for interfacing with data cards, code cards, and more.
Cardio can be used interactively in REPL:
>>> import cardio
>>> in_card = cardio.load_card("input.yml")
>>> in_card["description"]
'26.07.1 NC DIS sample with Q^2 = 100 - 1000 GeV^2 generated by Pythia8.316'
>>>
>>> out_card = cardio.make_card("out/output.yml", "template.yml")
>>> out_card["location"]
'./out'Or in a python script or Snakefile. For a demonstration, this repository.