Skip to main content

Experimental S3 Select Parser

Project description

s3selectparser

Experimental S3 Select parser

Installation

pip install s3selectparser

Usage

The underlying pyparsing parser is exposed as s3_select_parser.

from s3selectparser import s3_select_parser

parsed = s3_select_parser.parseString(
    '''
        SELECT
            a as my_alias_a,
            b my_alias_b,
            c,
            "AS",
            "AS" as "FrOM",
            my_func(a, another_func(47, c)),
            'hello ''billy'' '
        FROM
            S3Object[*]
    ''')
print(parsed.asDict())

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

s3selectparser-0.0.1.tar.gz (3.1 kB view hashes)

Uploaded source

Built Distribution

s3selectparser-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page