fugue-sql-antlr


Namefugue-sql-antlr JSON
Version 0.1.8 PyPI version JSON
download
home_pagehttp://github.com/fugue-project/fugue
SummaryFugue SQL Antlr Parser
upload_time2023-10-20 06:48:15
maintainer
docs_urlNone
authorThe Fugue Development Team
requires_python>=3.6
licenseApache-2.0
keywords distributed spark dask sql dsl domain specific language
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Fugue SQL Antlr Parser

[![PyPI version](https://badge.fury.io/py/fugue-sql-antlr.svg)](https://pypi.python.org/pypi/fugue-sql-antlr/)
[![PyPI pyversions](https://img.shields.io/pypi/pyversions/fugue-sql-antlr.svg)](https://pypi.python.org/pypi/fugue-sql-antlr/)
[![PyPI license](https://img.shields.io/pypi/l/fugue-sql-antlr.svg)](https://pypi.python.org/pypi/fugue-sql-antlr/)
[![codecov](https://codecov.io/gh/fugue-project/fugue-sql-antlr/branch/master/graph/badge.svg?token=TRJFPVXS67)](https://codecov.io/gh/fugue-project/fugue-sql-antlr)

Chat with us on slack!
[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](http://slack.fugue.ai)

# 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](https://pypi.python.org/pypi/fugue-sql-antlr/) and [fugue-sql-antlr-cpp](https://pypi.python.org/pypi/fugue-sql-antlr-cpp/).

[fugue-sql-antlr](https://pypi.python.org/pypi/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](https://pypi.python.org/pypi/fugue-sql-antlr-cpp/) is the C++ implementation of the parser. This solution is based on the incredible work of [speedy-antlr-tool](https://github.com/amykyta3/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](https://github.com/fugue-project/fugue) project (>=0.7.0).

## Installation

To install fugue-sql-antlr:

```bash
pip install fugue-sql-antlr
```

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

```bash
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.
            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/fugue-project/fugue",
    "name": "fugue-sql-antlr",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "distributed spark dask sql dsl domain specific language",
    "author": "The Fugue Development Team",
    "author_email": "hello@fugue.ai",
    "download_url": "https://files.pythonhosted.org/packages/0f/11/c376f5871751a3645928203911de36c92d0be4afef4184707825ee9c9767/fugue-sql-antlr-0.1.8.tar.gz",
    "platform": null,
    "description": "# Fugue SQL Antlr Parser\n\n[![PyPI version](https://badge.fury.io/py/fugue-sql-antlr.svg)](https://pypi.python.org/pypi/fugue-sql-antlr/)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/fugue-sql-antlr.svg)](https://pypi.python.org/pypi/fugue-sql-antlr/)\n[![PyPI license](https://img.shields.io/pypi/l/fugue-sql-antlr.svg)](https://pypi.python.org/pypi/fugue-sql-antlr/)\n[![codecov](https://codecov.io/gh/fugue-project/fugue-sql-antlr/branch/master/graph/badge.svg?token=TRJFPVXS67)](https://codecov.io/gh/fugue-project/fugue-sql-antlr)\n\nChat with us on slack!\n[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](http://slack.fugue.ai)\n\n# Fugue SQL Antlr Parser\n\nThis is the dedicated package for the Fugue SQL parser built on Antlr4. It consists of two packages: [fugue-sql-antlr](https://pypi.python.org/pypi/fugue-sql-antlr/) and [fugue-sql-antlr-cpp](https://pypi.python.org/pypi/fugue-sql-antlr-cpp/).\n\n[fugue-sql-antlr](https://pypi.python.org/pypi/fugue-sql-antlr/) is the main package. It contains the python parser of Fugue SQL and the vistor for the parser tree.\n\n[fugue-sql-antlr-cpp](https://pypi.python.org/pypi/fugue-sql-antlr-cpp/) is the C++ implementation of the parser. This solution is based on the incredible work of [speedy-antlr-tool](https://github.com/amykyta3/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**.\n\nNeither of these two packages should be directly used by users. They are the core internal dependency of the main [Fugue](https://github.com/fugue-project/fugue) project (>=0.7.0).\n\n## Installation\n\nTo install fugue-sql-antlr:\n\n```bash\npip install fugue-sql-antlr\n```\n\nTo install fugue-sql-antlr and fugue-sql-antlr-cpp:\n\n```bash\npip install fugue-sql-antlr[cpp]\n```\n\nWe 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.",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Fugue SQL Antlr Parser",
    "version": "0.1.8",
    "project_urls": {
        "Homepage": "http://github.com/fugue-project/fugue"
    },
    "split_keywords": [
        "distributed",
        "spark",
        "dask",
        "sql",
        "dsl",
        "domain",
        "specific",
        "language"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0f11c376f5871751a3645928203911de36c92d0be4afef4184707825ee9c9767",
                "md5": "350f02860e98179410f1865715805059",
                "sha256": "400cb18997c3076b12119ab8ae92e36155ef1cf0cf264f9e2fa1493a4c9ee6ef"
            },
            "downloads": -1,
            "filename": "fugue-sql-antlr-0.1.8.tar.gz",
            "has_sig": false,
            "md5_digest": "350f02860e98179410f1865715805059",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 154743,
            "upload_time": "2023-10-20T06:48:15",
            "upload_time_iso_8601": "2023-10-20T06:48:15.594617Z",
            "url": "https://files.pythonhosted.org/packages/0f/11/c376f5871751a3645928203911de36c92d0be4afef4184707825ee9c9767/fugue-sql-antlr-0.1.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-20 06:48:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "fugue-project",
    "github_project": "fugue",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "fugue-sql-antlr"
}
        
Elapsed time: 0.14005s