On this page
headless-spreadsheets
Prev: backpack-store | Up: projects | Next: gitdx
Rel: wispsy, Foundation, backpack-store
Ref: wispsy on GitHub
Tags: #public #wispsy #project #foundation #tier/standard
Role
Spreadsheet-native tables (Table, Sheet, Workbook) with typed cells, preserved formula expressions/caches, live views, and portable CSV/JSON/Markdown/HTML/ANSI interchange (Python 3.14+, zero runtime deps).
Install
pip install headless-spreadsheets
Quickstart
from headless_spreadsheets import Table
sales = Table.from_records([
{"item": "Book", "price": 12, "quantity": 3},
{"item": "Bag", "price": 25, "quantity": 2},
])
sales.add_column("total", lambda row: row["price"] * row["quantity"])
report = sales.where(total__gte=30).sort_by("total", reverse=True)
print(report.select("item", "total").to_markdown())
When to Reach for It
- Modeling typed tabular data with spreadsheet semantics, formula preservation, and clean interchange without pandas or Excel libraries.
- Exchanging structured tables between Python scripts, Markdown reports, and JSON snapshots.
Gotchas & Pitfalls
- Preserved formulas, not a full Excel engine: Formula expressions and cached values are preserved across interchange, but complex Excel-specific volatile macros/VBA are out of scope.
- Python 3.14+ & zero deps: Targets Python
>=3.14with strict typed cells—coerce untyped CSV strings explicitly when ingesting external sheets. - Live views vs. copies: Live views reflect underlying
Table/Sheetupdates—materialize a snapshot before mutating a table while iterating over derived views.
Pairs With
- backpack-store — Optional registered Backpack source adapter for checked scalar edits.
- wispsy — Used in
wispsy[table]tabular reference workflows.
Metadata
type: project-card
slug: headless-spreadsheets
org: wispsy
repo: wispsy/headless-spreadsheets
package: headless-spreadsheets
version: 0.1.1
requires_python: ">=3.14"
layer: foundation
topic: wispsy-foundation
status: active
language: python
source_docs: README.md, docs/
Linked from
Related notes
- wiki/projects/backpack-store Linked here; links to this page; shared tags: #foundation, #project, #tier, #wispsy
- wiki/projects/gitdx Linked here; links to this page; shared tags: #foundation, #project, #tier, #wispsy
- wiki/stack/foundation Linked here; links to this page; shared tags: #foundation, #tier, #wispsy
- wiki/projects Linked here; links to this page; shared tags: #wispsy
- wiki/projects/peaches links to this page; shared tags: #project, #tier, #wispsy
- wiki/projects/wispsy Linked here; shared tags: #project, #tier, #wispsy
- wiki/compatibility links to this page; shared tags: #tier, #wispsy
- wiki/families links to this page; shared tags: #tier, #wispsy
- wiki/orgs/wispsy Linked here; shared tags: #tier, #wispsy
- tuts/third_party/python3/wispsy links to this page; shared tags: #tier