Skip to main content

SQL parsing, done right

Project description

Squel

SQL parsing, done right.

WIP, but you can you use it as base. Just add the missing definitions to the grammar.

Example

from squel.app import Squel


tree = Squel.parse('hello.sql')
print(tree.pretty())

CLI

squel parse hello.sql

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

squel-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

squel-1.0.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file squel-1.0.0.tar.gz.

File metadata

  • Download URL: squel-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0

File hashes

Hashes for squel-1.0.0.tar.gz
Algorithm Hash digest
SHA256 352bc6ff6e886da305a53a55877da198e307f934df144d317d6af3ea82586847
MD5 bc876ecb5a5c593fdc466bbd5129ca90
BLAKE2b-256 9056544302078769db90815faf5dbd82708e0b54492a124686c2736200edd9e1

See more details on using hashes here.

File details

Details for the file squel-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: squel-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0

File hashes

Hashes for squel-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab70b21776a606842a021edbad9fb56a694645d401081b57f31f78096cf1db1d
MD5 a2b941a08deb52df99dc427f994c1cd3
BLAKE2b-256 11df274085a248d5e34693369acd4f2f414ee2b59f08a015620cefcc36172e6b

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