Skip to content

rdt-model-sdk

rdt-model-sdk generates type-safe client libraries that give data consumers standard access to Snowflake data products without needing to know Snowflake internals. Two SDK targets are supported via subcommands:

Generates a Python library with typed models and query helpers. Data consumers install the SDK and use standard Python patterns to read from the data product.

Terminal window
cargo run -p rdt-model-sdk -- --target dev python generate --entity waste-tracking --dry-run

Output:

FileFormatDescription
sdks/{entity}/python/PythonGenerated SDK package with typed models and query helpers

Generates a standalone command-line program compiled for multiple platforms:

  • win-x64, linux-x64, osx-x64, osx-arm64, win-arm64
Terminal window
cargo run -p rdt-model-sdk -- --target dev cli generate --entity waste-tracking --dry-run
cargo run -p rdt-model-sdk -- --target dev cli build --entity waste-tracking

Output:

FileFormatDescription
sdks/{entity}/cli/Rust sourceGenerated CLI SDK source, compiled to platform-specific binaries

Pipeline phase: Phase 4 — Deploy

Configuration: No external credentials required. Template rendering only.

Dependencies:

  • rdt-model-pull (model.json)
  • rdt-model-govern (governance.json)