kibo-template-viper¶
The first-party Kibo template for the dsviper / Viper ecosystem. Consumed by Kibo to emit C++ and Python surfaces from a DSM model.
This is the template that sits in the third slot of the
code-generation pipeline: DSM → Kibo →
kibo-template-viper produces a typed Python package usable from
dsviper, plus C++ surfaces for embedding in a Viper application.
Place in the ecosystem¶
Consumed by —
kiboinvocations targeting the dsviper / Viper runtime. Not used directly by end users — it is invoked through thekiboCLI (or viadsm_util.py create_python_package, which calls Kibo with this template under the hood).Source repository — digital-substrate/kibo-template-viper.
Distribution — bundled in the DevKit ZIP alongside
kiboand the rest of the toolchain.
What it produces¶
Two surfaces from one DSM model:
A typed Python package — classes, functions, and type hints mirroring the model. Importable as
import <namespace>and usable through the dsviper runtime.C++ surfaces — headers and implementation files for type definitions, attachments, persistence, serialization, and function pools, designed to link against the Viper C++ engine.
Each generated surface is the output of one or more templated features. The catalogue is in Templated Features.
Topics¶
Status¶
Part of DevKit 1.2.x. Stable; new templated features are added to the pack as the ecosystem grows. For Kibo’s CLI, the generic template format, and how to write your own template targeting another runtime, see the Kibo section.