gw-dsl-parser
gw_dsl_parser: Convert your graphic-walker workflow to sql
Decision gist · record as of 2026-08-14
Yes, if you are building on graphic-walker and need to translate visual workflows to SQL. The package has low install friction and permissive licensing. However, maintenance is dormant (last release 2024-07-31), so verify that the DSL subset and SQL generation match your use case before committing to a dependency on it.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- wasmtime runtime dependency must be available; verify wasm module is downloaded via scripts/download_wasm.py if not automatic
- Low install friction with a single runtime dependency (wasmtime).
- Package is dormant—last release was over a year ago with no recent commits, though the repository remains active and unarchived.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.
last release 2024-07-31 (744 days) · last repo commit 2024-07-31
0 known vulnerabilities (OSV.dev, 2026-08-14) · 123,123 downloads/mo, #11,923 on PyPI
Alternatives
Verify before relying
pip install gw-dsl-parser
from gw_dsl_parser import get_sql_from_payload
payload = {"workflow": [{"type": "view", "query": [{"op": "aggregate", "groupBy": [], "measures": [{"field": "*", "agg": "count", "asFieldKey": "count"}]}]}]}
sql = get_sql_from_payload("test_table", payload)
print(sql)- Whether wasmtime must be pre-installed on the system or is automatically provisioned by the package
- Whether the wasm module download (scripts/download_wasm.py) is required before first use or happens automatically
- Scope and limitations of the DSL subset supported—which workflow operations and query types are actually parseable
What it is and what it does
gw-dsl-parser converts graphic-walker workflow definitions—JSON payloads describing visual query operations like aggregations and grouping—into SQL statements executable against a database table. It bridges the gap between visual query builders and SQL databases by translating declarative workflow objects into standard SQL.
The package wraps a WebAssembly module (via wasmtime) to perform the DSL parsing. You provide a workflow payload, a table name, and the package returns the corresponding SQL string. It's designed as a backend utility for tools that let users build queries visually and need to execute them as SQL.
Use it for
- Export visual queries built in graphic-walker as executable SQL for database execution
- Build a backend API that converts user-drawn query workflows into SQL without exposing raw SQL to the frontend
- Generate SQL from workflow definitions stored in JSON for batch processing or audit logging
- Integrate visual query builders into data applications that require SQL-based query execution
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building on graphic-walker and need to translate visual workflows to SQL.
The package has low install friction and permissive licensing. However, maintenance is dormant (last release 2024-07-31), so verify that the DSL subset and SQL generation match your use case before committing to a dependency on it.
Install
gw-dsl-parser on PyPI
Before you install
Low install friction with a single runtime dependency (wasmtime). Package is dormant—last release was over a year ago with no recent commits, though the repository remains active and unarchived.
wasmtime runtime dependency must be available; verify wasm module is downloaded via scripts/download_wasm.py if not automatic
License in practice
Licensed under Apache Software License (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install gw-dsl-parser
from gw_dsl_parser import get_sql_from_payload
payload = {"workflow": [{"type": "view", "query": [{"op": "aggregate", "groupBy": [], "measures": [{"field": "*", "agg": "count", "asFieldKey": "count"}]}]}]}
sql = get_sql_from_payload("test_table", payload)
print(sql)
Verify before relying
- Whether wasmtime must be pre-installed on the system or is automatically provisioned by the package
- Whether the wasm module download (scripts/download_wasm.py) is required before first use or happens automatically
- Scope and limitations of the DSL subset supported—which workflow operations and query types are actually parseable
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagewasmtime |
| Maintenance | Dormant 744 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 123,123 / month, #11,923 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3 |
Evidence: gw_dsl_parser-0.1.49.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “workflow to sql conversion”
- gw-dsl-parserConverts graphic-walker workflow definitions into SQL queries by…
- sqlparamsConverts SQL queries between different parameter styles (named,…
- databricks-labs-remorphConverts SQL code between different database dialects and reconciles…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also mo-sql-parsing · moz-sql-parser · qpd · python-sql · graphql-query · django-sql-utils · fugue-sql-antlr · simple-ddl-parser · pygwalker