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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file s3selectparser-0.0.1.tar.gz.

File metadata

  • Download URL: s3selectparser-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for s3selectparser-0.0.1.tar.gz
Algorithm Hash digest
SHA256 56f662d2db7288838da5fcc04b6bdc049121b5b8d742a727593a48e6b6cd697a
MD5 139b5a30675414af74eabd44cc88cde7
BLAKE2b-256 0a65d4d15a54c5ede1466cecdd2528acf924067a27032b02a0ac9fbcdac97bd3

See more details on using hashes here.

File details

Details for the file s3selectparser-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: s3selectparser-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for s3selectparser-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5ff9c3ca867cdbd475984d5e0a6273519f463e2eff13d95ba8fd8cbfdbb2aa8
MD5 500326237d8f0ac4a1f80806657b51ac
BLAKE2b-256 0941ce9a0710409482d64111df632e2db1ff3836ec6a7397ebeb137b3cdd4b95

See more details on using hashes here.

Supported by

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