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

  • Depends onKibo, DSM, the Viper runtime.

  • Consumed bykibo invocations targeting the dsviper / Viper runtime. Not used directly by end users — it is invoked through the kibo CLI (or via dsm_util.py create_python_package, which calls Kibo with this template under the hood).

  • Source repositorydigital-substrate/kibo-template-viper.

  • Distribution — bundled in the DevKit ZIP alongside kibo and 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.