larztable
Query and render tabular data.
Filter, sort and group rows, then render them as a Unicode table, CSV or Markdown — data wrangling and presentation in one small tool.
larzscript pkg install table
What you get
- where/sort/group_by
- Unicode / CSV / Markdown output
- One tool, query + render
- Zero dependencies
Try it
import "table" as table
let people = [{"name": "Ada", "age": 36}, {"name": "Bo", "age": 24}]
let adults = table.where(people, fn(p) { return p["age"] >= 18 })
print(len(adults))
print(table.render([["Name", "Age"], ["Ada", 36], ["Bob", 8]]))Output
2 | Name | Age | |------|-----| | Ada | 36 | | Bob | 8 |
Why it's in the Larz Stack
larztable is a real Larzscript package (larzscript pkg install table) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.