---
title: "pymalloy"
description: "Author, inspect, and verify Malloy semantic models from Python."
canonical: https://agentpluginsdirectory.com/plugins/pymalloy
last-updated: 2026-10-05
---

# pymalloy
Author, inspect, and verify Malloy semantic models from Python.
- Slug: pymalloy
- Publisher: peter-gy
- Repository: https://github.com/peter-gy/pymalloy
- Manifest: plugin.json
- Category (editorial): other
- Skills: 1 (pymalloy)
- MCP servers: 0
- Stars: 0
- Repository created: 2026-09-10
- Repository last pushed: 2026-10-02
- Publisher type: User
- Listing: https://agentpluginsdirectory.com/plugins/pymalloy
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What pymalloy does, in the publisher's words

Author, check, run, and share Malloy models from Python. Compose models with Python expressions or edit existing Malloy source. Malloy compiles the queries, and DuckDB executes them.

Drafts are immutable. Check them with Malloy, validate assumptions with named counterexample queries, and package accepted models with their captured inputs. Use pm.data(frame) to bring prepared Python data into the model as portable Parquet. Retain the producing notebook or script for preparation logic.

Display the widget in Jupyter or marimo. Malloy and DuckDB WebAssembly run in the browser. The base install includes widgets and agent guidance, without Deno. First use downloads DuckDB WebAssembly and needs browser worker support.

- Concepts and boundaries
- Author and validate models
- Capture Python data
- Bundle models and inputs

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/peter-gy/pymalloy/HEAD/README.md
