Skip to content

Python API

The package requires Python 3.10 or newer.

from qlens.repository.validator import validate_repository
from qlens.repository.indexer import build_indexes
from qlens.rendering.nur import render_views

errors = validate_repository(".")
if not errors:
    build_indexes(".")
    render_views(".")

Public implementation modules are intentionally small and composable. Applications may import the store, graph, lifecycle, indexer, validator, or renderer without invoking the CLI.