# 4. Add to PATH (if not already) export PATH=$HOME/.local/bin:$PATH
genp plugin add my-awesome-genp-plugin.genp The command validates the signature automatically. To list installed plugins:
/// Clean‑up resources. fn shutdown(&mut self, ctx: &mut Context) -> Result<()>; Download- GenP v3.4.14.1.zip -964.78 KB-
genp-gui & The UI opens a canvas where you can drag‑drop generator nodes, connect them, and see live data previews. 5.1 Pipeline Descriptor (YAML) pipeline: name: synthetic‑customer‑data version: 1.0 steps: - id: faker type: python entry: | from faker import Faker fake = Faker() def generate(): return "name": fake.name(), "email": fake.email(), "address": fake.address() - id: enrich type: wasm src: enrich.wasm inputs: [faker] - id: persist type: builtin driver: csv path: ./output/customers.csv inputs: [enrich] The descriptor defines a directed acyclic graph (DAG) . Each step can be a Python snippet, a WebAssembly module, or a built‑in driver. 5.2 Rust Plugin Trait pub trait Generator /// Called once at startup – initialize resources. fn init(&mut self, ctx: &mut Context) -> Result<()>;
A compiled plugin implements this trait. The engine schedules next() calls concurrently when the pipeline permits parallelism. import genp ctx: &mut Context) ->
# 3. Extract tar -xzf genp-v3.4.14.1-linux-x86_64.tar.gz -C $HOME/.local/bin
/// Produce the next item in the stream. fn next(&mut self, ctx: &mut Context) -> Result<Option<Data>>; fn shutdown(&mut self
# 5. Run the built‑in health check genp healthcheck If the health check reports , the engine is ready. 4.3 Installing Plugins Plugins are distributed as .genp bundles (a small zip with a manifest). To install: