Skip to content

v0.2.0 — two projections + the lokf new scaffolder

Choose a tag to compare

@nicholsn nicholsn released this 04 Jul 15:46
f6735a1

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 bindingslokf-build generates lokf.datamodel (typed dataclasses): from lokf.datamodel import Metric.
  • Relational schema — generated lokf.sql (CREATE TABLE DDL; FKs for the typed relations).
  • lokf.tables + lokf tables CLI — project a bundle to one DataFrame per concept type + a relations edge table; write CSV/Parquet/SQLite; or emit CREATE EXTERNAL TABLE DDL 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 Role type (schema.org OrganizationRole + W3C ORG), and Person/Organization as full concepts.

Install / upgrade

pip install -U lokf           # toolkit
pip install -U "lokf[tables]" # + the tabular projection

Full changelog: v0.1.0...v0.2.0