Skip to main content

Fugue SQL Antlr Parser

Project description

Fugue SQL Antlr Parser

PyPI version PyPI pyversions PyPI license codecov

Chat with us on slack! Slack Status

Fugue SQL Antlr Parser

This is the dedicated package for the Fugue SQL parser built on Antlr4. It consists of two packages: fugue-sql-antlr and fugue-sql-antlr-cpp.

fugue-sql-antlr is the main package. It contains the python parser of Fugue SQL and the vistor for the parser tree.

fugue-sql-antlr-cpp is the C++ implementation of the parser. This solution is based on the incredible work of speedy-antlr-tool, a tool that generates thin python interface code on top of the C++ Antlr parser. This package is purely optional, it should not affect the correctness and features of the Fugue SQL parser. However, with this package installed, the parsing time is ~25x faster.

Neither of these two packages should be directly used by users. They are the core internal dependency of the main Fugue project (>=0.7.0).

Installation

To install fugue-sql-antlr:

pip install fugue-sql-antlr

To install fugue-sql-antlr and fugue-sql-antlr-cpp:

pip install fugue-sql-antlr[cpp]

We try to pre-build the wheels for major operating systems and active python versions. But in case your environment is special, then when you install fugue-sql-antlr-cpp, please make sure you have the C++ compiler in your operating system. The C++ compiler must support the ISO C++ 2017 standard.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fugue-sql-antlr-0.2.2.tar.gz (154.7 kB view details)

Uploaded Source

File details

Details for the file fugue-sql-antlr-0.2.2.tar.gz.

File metadata

  • Download URL: fugue-sql-antlr-0.2.2.tar.gz
  • Upload date:
  • Size: 154.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for fugue-sql-antlr-0.2.2.tar.gz
Algorithm Hash digest
SHA256 22af96a6aa295441425482c6619daac1702de222c942ede12b36bc2e2993aa40
MD5 4f6824d6424f24adab8072c8925351aa
BLAKE2b-256 85c0382c5bace6b6961d4246739c3d3d0c2c3cc5771ef47e226e9a635b0a34a0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page