Name | gw-dsl-parser JSON |
Version |
0.1.49.1
JSON |
| download |
home_page | None |
Summary | gw_dsl_parser: Convert your graphic-walker workflow to sql |
upload_time | 2024-07-31 08:05:07 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.6 |
license | None |
keywords |
graphic-walker
pygwalker
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# gw-dsl-parser-py
## Install
```
pip install gw-dsl-parser
```
## Develop
```
pip install ./
python ./scripts/download_wasm.py
```
## Example
```python
from gw_dsl_parser import get_sql_from_payload
payload = {"workflow": [{"type": "view", "query": [{"op": "aggregate", "groupBy": [], "measures": [{"field": "*", "agg": "count", "asFieldKey": "count"}]}]}]}
table_name = "test_table"
sql = get_sql_from_payload(table_name, payload)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "gw-dsl-parser",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "graphic-walker, pygwalker",
"author": null,
"author_email": "kanaries <support@kanaries.net>",
"download_url": "https://files.pythonhosted.org/packages/06/98/4db3fc9f57c5b98a4a7b564c03ba183fd4175cf1f473ef1f2037a780ca13/gw_dsl_parser-0.1.49.1.tar.gz",
"platform": null,
"description": "# gw-dsl-parser-py\n\n\n## Install\n\n```\npip install gw-dsl-parser\n```\n\n## Develop\n\n```\npip install ./\n\npython ./scripts/download_wasm.py\n```\n\n## Example\n\n```python\nfrom gw_dsl_parser import get_sql_from_payload\n\npayload = {\"workflow\": [{\"type\": \"view\", \"query\": [{\"op\": \"aggregate\", \"groupBy\": [], \"measures\": [{\"field\": \"*\", \"agg\": \"count\", \"asFieldKey\": \"count\"}]}]}]}\ntable_name = \"test_table\"\nsql = get_sql_from_payload(table_name, payload)\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "gw_dsl_parser: Convert your graphic-walker workflow to sql",
"version": "0.1.49.1",
"project_urls": {
"homepage": "https://github.com/Kanaries/gw-dsl-parser-py",
"repository": "https://github.com/Kanaries/gw-dsl-parser-py"
},
"split_keywords": [
"graphic-walker",
" pygwalker"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f98bc4bf8913216c5637024e4ef7908bafb77a78b92a1fd6bb5defe9b5fc2f20",
"md5": "3c8f5d4d0cdeb4be2679159b3f447f45",
"sha256": "b94eb1b286cb404b02e19914f8b4bea9897cadf26c4ca3877da88bd9312479a4"
},
"downloads": -1,
"filename": "gw_dsl_parser-0.1.49.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3c8f5d4d0cdeb4be2679159b3f447f45",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 956201,
"upload_time": "2024-07-31T08:05:05",
"upload_time_iso_8601": "2024-07-31T08:05:05.571624Z",
"url": "https://files.pythonhosted.org/packages/f9/8b/c4bf8913216c5637024e4ef7908bafb77a78b92a1fd6bb5defe9b5fc2f20/gw_dsl_parser-0.1.49.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "06984db3fc9f57c5b98a4a7b564c03ba183fd4175cf1f473ef1f2037a780ca13",
"md5": "8dbe8b249c6f399e3d5b6187d9b0858d",
"sha256": "f0c086e4c1015355935b26ae471244523e9f5c2821c888fb9fe245252268a027"
},
"downloads": -1,
"filename": "gw_dsl_parser-0.1.49.1.tar.gz",
"has_sig": false,
"md5_digest": "8dbe8b249c6f399e3d5b6187d9b0858d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 946131,
"upload_time": "2024-07-31T08:05:07",
"upload_time_iso_8601": "2024-07-31T08:05:07.082076Z",
"url": "https://files.pythonhosted.org/packages/06/98/4db3fc9f57c5b98a4a7b564c03ba183fd4175cf1f473ef1f2037a780ca13/gw_dsl_parser-0.1.49.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-31 08:05:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Kanaries",
"github_project": "gw-dsl-parser-py",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gw-dsl-parser"
}