v0.2.0 — two projections + the lokf new scaffolder
A feature release. A LOKF bundle is now not only a graph but also a set of tables, and lokf new scaffolds a complete, publishable knowledge base with the full experience.
Highlights
Two projections of well-modeled data
- Python bindings —
lokf-buildgenerateslokf.datamodel(typed dataclasses):from lokf.datamodel import Metric. - Relational schema — generated
lokf.sql(CREATE TABLEDDL; FKs for the typed relations). lokf.tables+lokf tablesCLI — project a bundle to one DataFrame per concept type + arelationsedge table; write CSV/Parquet/SQLite; or emitCREATE EXTERNAL TABLEDDL for a BigQuery/Athena lakehouse.pip install "lokf[tables]".
lokf new — scaffold a knowledge base
lokf new my-kb creates a self-contained repo: a starter bundle, a full Astro site (concept pages with typed-relation panels, an interactive /graph browser, graph.json + graph.jsonld), a GitHub Pages workflow, a justfile, and the bundled agent skills — plus a new scaffold-knowledge-base skill for idea → bundle → published site.
Schema
- A
Roletype (schema.orgOrganizationRole+ W3C ORG), andPerson/Organizationas full concepts.
Install / upgrade
pip install -U lokf # toolkit
pip install -U "lokf[tables]" # + the tabular projectionFull changelog: v0.1.0...v0.2.0