Installation

Prerequisites

  • Python 3.11 or later

  • (Optional) eclipse-zenoh for Zenoh transport

  • (Optional) redis for Redis transport

  • (Optional) wasmtime for WASM plugin runtime

Install from PyPI

pip install vyra_base

Install optional extras

# Zenoh transport (recommended default)
pip install vyra_base eclipse-zenoh

# Redis transport
pip install vyra_base redis

# WASM plugin runtime
pip install vyra_base wasmtime

# Full installation (all extras)
pip install vyra_base eclipse-zenoh redis wasmtime

Install from source

git clone https://github.com/vyra-entity/vyra_base_python.git
cd vyra_base_python
pip install -e .

Using the copier template

The fastest way to start a new VYRA module is via the vyra_module_template:

pip install copier
copier copy gh:vyra-entity/vyra_module_template my_new_module
cd my_new_module
pip install -e .

The template pre-configures the project layout, _base_.py, Dockerfile, and interface build pipeline for you.

Verify installation

import vyra_base
print(vyra_base.__version__)