fugue-sql-antlr
Fugue SQL Antlr Parser
Decision gist · record as of 2026-08-14
Yes, if you are using Fugue >=0.7.0 and need SQL parsing support. The package is actively maintained, has no security vulnerabilities, and carries a permissive Apache-2.0 license. High install friction (four dependencies) is offset by the fact that it is typically installed as a transitive dependency of Fugue rather than directly. Not recommended for direct use outside the Fugue ecosystem.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Optional C++ compiler needed only if installing the fugue-sql-antlr-cpp extra for performance.
- High install friction due to four runtime dependencies including antlr4-python3-runtime.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with attribution; no significant restrictions for most users.
last release 2026-02-19 (176 days) · last repo commit 2026-05-19 · 2,170 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 919,200 downloads/mo, #4,722 on PyPI
Alternatives
Verify before relying
pip install fugue-sql-antlr
from fugue_sql_antlr import parse
tree = parse("SELECT * FROM table_name")- Whether the package is intended for direct use or only as an internal dependency of Fugue (description suggests internal-only, but this is not enforced).
- Specific parsing capabilities and SQL dialect coverage beyond basic SELECT statements.
- Performance characteristics of the pure-Python parser relative to the optional C++ implementation.
What it is and what it does
This package provides an ANTLR4-based parser for Fugue SQL, a domain-specific SQL dialect used within the Fugue distributed computing framework. It parses SQL strings into an abstract syntax tree and exposes a visitor interface for tree traversal and semantic analysis. The package is designed as an internal component of the main Fugue project (>=0.7.0) rather than for direct end-user consumption.
The package has four runtime dependencies: triad, antlr4-python3-runtime, jinja2, and packaging. It supports Python 3.10 through 3.14. An optional C++ implementation (fugue-sql-antlr-cpp) is available as an extra dependency to accelerate parsing, though the pure-Python parser provides identical functionality. The package is actively maintained, in alpha status, and carries no known security vulnerabilities.
Use it for
- Parse Fugue SQL queries within the Fugue framework to enable distributed SQL execution on Spark, Dask, or other backends.
- Build custom tooling that needs to analyze or transform Fugue SQL syntax trees programmatically.
- Integrate Fugue SQL parsing into domain-specific applications that require SQL dialect support.
- Develop IDE or linting tools that validate Fugue SQL syntax before execution.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are using Fugue >=0.7.0 and need SQL parsing support.
The package is actively maintained, has no security vulnerabilities, and carries a permissive Apache-2.0 license. High install friction (four dependencies) is offset by the fact that it is typically installed as a transitive dependency of Fugue rather than directly. Not recommended for direct use outside the Fugue ecosystem.
Install
fugue-sql-antlr on PyPI
Before you install
High install friction due to four runtime dependencies including antlr4-python3-runtime. Maintenance is active with recent commits and no known vulnerabilities, but the package is in alpha status (Development Status :: 3 - Alpha).
Requires Python 3.10 or later. Optional C++ compiler needed only if installing the fugue-sql-antlr-cpp extra for performance.
License in practice
Apache-2.0 permissive license allows commercial and private use with attribution; no significant restrictions for most users.
Quickstart
pip install fugue-sql-antlr
from fugue_sql_antlr import parse
tree = parse("SELECT * FROM table_name")
Verify before relying
- Whether the package is intended for direct use or only as an internal dependency of Fugue (description suggests internal-only, but this is not enforced).
- Specific parsing capabilities and SQL dialect coverage beyond basic SELECT statements.
- Performance characteristics of the pure-Python parser relative to the optional C++ implementation.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | High. Source build required |
| Runtime dependencies | 4 packagestriadantlr4-python3-runtimejinja2packaging |
| Maintenance | Actively maintained 176 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 919,200 / month, #4,722 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules |
Evidence: fugue_sql_antlr-0.2.4.tar.gz
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “sql parser antlr4”
- fugue-sql-antlrParses Fugue SQL dialect into an abstract syntax tree using ANTLR4,…
- hogql-parserParses HogQL query expressions and Hog programs into abstract syntax…
- types-antlr4-python3-runtimeProvides type stubs for antlr4-python3-runtime, enabling static type…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also fugue · sqlglot · sqlglotrs · sqloxide · acryl-sqlglot · sqlparse · hogql-parser · pglast · fluent.syntax · hogql-parser-rs