A package containing lark grammar and parser method for sqlpp
Project description
Lark SQL++ grammar
Sql++ lark grammar implementation for python and (potentially) javascript.
Usage in python
Installing the package with pip:
pip install git+ssh://git@github.com/couchbaselabs/lark_sqlpp#egg=lark_sqlpp
Example usage
from lark_sqlpp import *
def main():
# validate a query
parse_sqlpp("SELECT 1")
# extract collection paths
collection_paths = extract_collections(parse_sqlpp("SELECT * FROM test"))
# check if sqlpp script modifies data
modifies_data(parse_sqlpp("UPDATE test SET x = y"))
# check if sqlpp script modifies structure
modifies_structure(parse_sqlpp("CREATE SCOPE test.scope"))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lark_sqlpp-0.0.1.tar.gz.
File metadata
- Download URL: lark_sqlpp-0.0.1.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc6d0a9b362515765601b8d9d4b493e246da684e7bb00c8c97e0404c0ebe3df3
|
|
| MD5 |
1579180d20fd3fef9af3ae753f5d20ab
|
|
| BLAKE2b-256 |
a78a062ecc8c3b477f222ee1476b110d7c4c9090135f85162fc306a69a7ed6d9
|
Provenance
The following attestation bundles were made for lark_sqlpp-0.0.1.tar.gz:
Publisher:
release.yml on couchbaselabs/lark_sqlpp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lark_sqlpp-0.0.1.tar.gz -
Subject digest:
cc6d0a9b362515765601b8d9d4b493e246da684e7bb00c8c97e0404c0ebe3df3 - Sigstore transparency entry: 200737206
- Sigstore integration time:
-
Permalink:
couchbaselabs/lark_sqlpp@e23a28a579941d3d7a91618a72d5a10a46682341 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/couchbaselabs
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e23a28a579941d3d7a91618a72d5a10a46682341 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lark_sqlpp-0.0.1-py3-none-any.whl.
File metadata
- Download URL: lark_sqlpp-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
35f1e849938be878396783588508c8479144b889c43a06b62d1792ec9b71be0e
|
|
| MD5 |
5cb9c340a507f59168ea0a87166cb9e4
|
|
| BLAKE2b-256 |
ca701652d9b1034402ff10ff8495b1af6e8606dba76f2e17bd488d653d972adf
|
Provenance
The following attestation bundles were made for lark_sqlpp-0.0.1-py3-none-any.whl:
Publisher:
release.yml on couchbaselabs/lark_sqlpp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lark_sqlpp-0.0.1-py3-none-any.whl -
Subject digest:
35f1e849938be878396783588508c8479144b889c43a06b62d1792ec9b71be0e - Sigstore transparency entry: 200737217
- Sigstore integration time:
-
Permalink:
couchbaselabs/lark_sqlpp@e23a28a579941d3d7a91618a72d5a10a46682341 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/couchbaselabs
-
Access:
internal
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e23a28a579941d3d7a91618a72d5a10a46682341 -
Trigger Event:
push
-
Statement type: