Skip to main content

okf-cli — Open Knowledge Format tooling

Convert plain markdown directories into OKF-conformant knowledge bundles. okf bundle generates YAML frontmatter, concept types, provenance, and per-directory index.md files; okf validate, okf list, and okf read consume the resulting bundle.

Install

uv tool install okf-cli

Dev quickstart

uv sync
uv run okf --help
uv run okf --version

Commands

Command Purpose
okf bundle <input-dir> [output-dir] Convert markdown into an OKF bundle
okf validate <directory> Check OKF v0.2 §11 conformance
okf list <directory> List concepts (ID, type, title, description)
okf read <directory> <concept-id> Print a concept by ID

Run okf <command> --help for options such as --default-type, --force, --strict, and --dry-run.

Quick example

uv run okf bundle example --default-type reference --force
uv run okf validate example_knowledge_base
uv run okf list example_knowledge_base
uv run okf read example_knowledge_base tables/customers

Documentation

Release files for okf-cli 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for okf-cli 0.6.0
File Size Uploaded
okf_cli-0.6.0.tar.gz 59.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for okf-cli 0.6.0
File Interpreter ABI Platform
okf_cli-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 75.1 kB

Release files / okf_cli-0.6.0.tar.gz

Download URL okf_cli-0.6.0.tar.gz
Size 59.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e4d0473005c2dfba7d613a242d3585ff379d62d9d9ade59765d2dbc063d0fb2e
BLAKE2b-256 checksum
How to use checksums
58ba0d835cd863c7278bb2e6024de1ba8f1c13f7f7c389c99a14ca0a30bf07ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / okf_cli-0.6.0-py3-none-any.whl

Download URL okf_cli-0.6.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
73c76ca0e6cdd1e85dfb809c56629651d6249ec63877d3ec776add98a4ddce10
BLAKE2b-256 checksum
How to use checksums
6bda05297f94b05a30f0eb33ecab7f1ba790d553d52e0e3467d11ef34a0847cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.9 {"installer":{"name":"uv","version":"0.10.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.6.1

2 release files

This release

0.6.0 This release

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.5

2 release files

0.4.3

2 release files

0.4.1

2 release files

0.3.1

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page