Skip to content
eicPublic

About

Lightweight tool for interfacing with x-cards

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Card I/O

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

Usage

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.

About

Lightweight tool for interfacing with x-cards

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages