Registry / data / gw-dsl-parser

gw-dsl-parser

JSON →
library0.1.49.1pypypi✓ verified 82d ago

Converts Graphic-Walker workflow DSL into executable SQL. Current version 0.1.49.1, rapid pre-1.0 releases.

pip install gw-dsl-parser
INSTALL
IMPORT
SIG · GW-DSL-PARSER
G
gw-dsl-parser
datapythonv0.1.49.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

get_sql_from_payload
from gw_dsl_parser import get_sql_from_payload
from gw_dsl_parser import parse
core
from gw_dsl_parser import core

Parse a Graphic-Walker DSL JSON string into an SQL query.

from gw_dsl_parser import parse dsl_text = '''{ "workflow": { "source": "SELECT * FROM table", "transforms": [{"type": "filter", "expr": "col > 10"}] } }''' sql = parse(dsl_text) print(sql)
Debug
Known issues
breakingInput DSL JSON structure must match Graphic-Walker's exact schema – minor schema changes can break parsing.
fix
Validate DSL format against Graphic-Walker docs before parsing.
affects: all
gotchaThe library does not validate SQL in the source; invalid SQL in DSL causes runtime errors.
fix
Pre-validate SQL content if needed.
affects: all
Upgrade
Version history
0.1.49.1latest on PyPI · released Jul 31, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
gw-dsl-parser — pip install gw-dsl-parser · libregistry