Skip to main content

tree-sitter-sql

Build/test GitHub Pages npm package version

A general/permissive SQL grammar for tree-sitter.

Installation

We don't commit the generated parser files to the main branch. Instead, you can find them on the gh-pages branch. We're open to feedback & encourage you to open an issue to discuss any problems.

They are also hosted on the GitHub pages site and available for download here: github://derekstride/tree-sitter-sql/gh-pages.tar.gz.

Plugin maintainers ensure to specify the HEAD (or a specific revision) of the gh-pages branch when integrating with this project.

Step 1: Download the parser files

Using git

git clone https://github.com/DerekStride/tree-sitter-sql.git
cd tree-sitter-sql
git checkout gh-pages

Using curl

curl -LO https://github.com/DerekStride/tree-sitter-sql/archive/refs/heads/gh-pages.tar.gz
tar -xzf gh-pages.tar.gz
cd tree-sitter-sql-gh-pages

Step 2: Compile the Parser

Tree-sitter parsers need to be compiled as a shared-object / dynamic-library, you can enable this by passing the -shared & -fPIC flags to your compiler.

cc -shared -fPIC -I./src src/parser.c src/scanner.c -o sql.so

Using cargo

cargo add tree-sitter-sequel

Using npm

npm i @derekstride/tree-sitter-sql

Using pip

pip install tree-sitter-sql

Development

See CONTRIBUTING.md for documentation on how to set up the project for development.

Features

For a complete list of features see the the tests

References

Other projects

Metadata

Release files for tree-sitter-sql 0.3.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tree-sitter-sql 0.3.13
File Size Uploaded Provenance Actions
tree_sitter_sql-0.3.13.tar.gz 2.8 MB Without provenance Details for tree_sitter_sql-0.3.13.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for tree-sitter-sql 0.3.13
File Actions
tree_sitter_sql-0.3.13-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for tree_sitter_sql-0.3.13-cp310-abi3-win_arm64.whl
tree_sitter_sql-0.3.13-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for tree_sitter_sql-0.3.13-cp310-abi3-win_amd64.whl
tree_sitter_sql-0.3.13-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for tree_sitter_sql-0.3.13-cp310-abi3-musllinux_1_2_x86_64.whl
tree_sitter_sql-0.3.13-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for tree_sitter_sql-0.3.13-cp310-abi3-musllinux_1_2_aarch64.whl
tree_sitter_sql-0.3.13-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for tree_sitter_sql-0.3.13-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
tree_sitter_sql-0.3.13-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for tree_sitter_sql-0.3.13-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
tree_sitter_sql-0.3.13-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for tree_sitter_sql-0.3.13-cp310-abi3-macosx_11_0_arm64.whl
tree_sitter_sql-0.3.13-cp310-abi3-macosx_10_9_x86_64.whl CPython 3.10 abi3 macOS 10.9+ x86-64 Details for tree_sitter_sql-0.3.13-cp310-abi3-macosx_10_9_x86_64.whl

Total release size: 10.8 MB

Release files / tree_sitter_sql-0.3.13.tar.gz

Download URL tree_sitter_sql-0.3.13.tar.gz
Size 2.8 MB
Tags Source
SHA-256 checksum
How to use checksums
51d7839f7d29f6bc3814d128dc54dc890908450bce99f48ba2d20dbe33dbe061
BLAKE2b-256 checksum
How to use checksums
48eb6471aecccf74ef4db33628c9f93d87f8975ecf1c768ff7ae5753956813c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_sql-0.3.13-cp310-abi3-win_arm64.whl

Download URL tree_sitter_sql-0.3.13-cp310-abi3-win_arm64.whl
Size 946.6 kB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
8d401fe5ccb108670e0165313ce63e6b54bcd916e42a3c53b6b6f2b67772ec6b
BLAKE2b-256 checksum
How to use checksums
679bdedc8ca28727b53fd801c393b660db4d02a87c69f5997f0620acc2263166
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_sql-0.3.13-cp310-abi3-win_amd64.whl

Download URL tree_sitter_sql-0.3.13-cp310-abi3-win_amd64.whl
Size 945.3 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3adea682a2567435965fbc37ce0daf1d05a0ef71f3d3fdd466470041c9245fad
BLAKE2b-256 checksum
How to use checksums
a3116ca77ea378761c5a58563da7c6fee27cbbe4db0a19be0968a909a3a77413
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_sql-0.3.13-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL tree_sitter_sql-0.3.13-cp310-abi3-musllinux_1_2_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
162920facbfefb619d2d374dd14c7ad86147fe875742e8557404fb26271c1933
BLAKE2b-256 checksum
How to use checksums
86b1a1d926708b6805198e24c9db3ccfa74a139338ad2357c7862b296cb11071
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_sql-0.3.13-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL tree_sitter_sql-0.3.13-cp310-abi3-musllinux_1_2_aarch64.whl
Size 1.0 MB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
262e174ff5810e206deeb1c64ef46028c6f1700ee4e5224ae749461da0c1b743
BLAKE2b-256 checksum
How to use checksums
0b347b4d2b59611c26e6cf989d18a83140c4222d04886091dd432c4e447ed3fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_sql-0.3.13-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL tree_sitter_sql-0.3.13-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
86569da8c728a73859b41477eff2dbdc2a2c31da77a1eda9328b27d3c2dbd7ce
BLAKE2b-256 checksum
How to use checksums
edffc8650b1d47d8ffeed7750938cd85cd1c85cb4d0213790bf6a8f9d49837f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_sql-0.3.13-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL tree_sitter_sql-0.3.13-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 1.0 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
4ea67aed3f04534421aac7e3a414649088fe0a1ff65283e81cbb5cf22ddb01c0
BLAKE2b-256 checksum
How to use checksums
3f31ff23443c92ab3c3137227b1305a770903331a85b007230ccd7d15c422738
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_sql-0.3.13-cp310-abi3-macosx_11_0_arm64.whl

Download URL tree_sitter_sql-0.3.13-cp310-abi3-macosx_11_0_arm64.whl
Size 1.1 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
37261808e55a88457c02fe4844ed87d20cd9ba18c997244538a3c5cd3e508408
BLAKE2b-256 checksum
How to use checksums
6c946457c360ad33dde3800ee3728588ee2fd18688ec24cae64f00233687a751
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / tree_sitter_sql-0.3.13-cp310-abi3-macosx_10_9_x86_64.whl

Download URL tree_sitter_sql-0.3.13-cp310-abi3-macosx_10_9_x86_64.whl
Size 950.1 kB
Tags CPython 3.10 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
37f526282e06abefc395dd4e3d4dee3c3ae9a5a71abdf8c0b6a0c3949b4f58e8
BLAKE2b-256 checksum
How to use checksums
0343ad594d4b57bcd103c00ca57b2d3fffb235f538270ce412d233804d7a8374
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for tree-sitter-sql 0.3.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page