Skip to main content

parse sql , compare two .sql file , generate optimization hint for your sql and various other utilities

Project description

Project : Sondesh

Maintenance Maintainer PyPI license made-with-python Generic badge
logo.png

Description

Sondesh is the name of my cat . I love him very much so i've decided to name this project after him.

This project is all about a parser and comparator . Question is what it is parsing ?

  • It parse SQL statements , but only DDL statements
  • It supports many sql dialects , example oracle , postgresql , sparksql , hive ..
  • There is a cli app ( cli_app.py ), it compares two DDL statements and show you the differences in terminal

compare_result.png

Dependencies

  • Windows 10 , Debian , BSD these are the supported platform
  • Python version >= 3.8

Installing

  • ddl_compare can be installed using pip
pip install ddl-parse

Usage

from sondesh import ddl_parser
import pprint

result = ddl_parser.parse_from_file('/home/koushik/sample_ddl.sql')
pprint.pprint(result)

Using the CLI APP .

  1. Just Open the Terminal
  2. type sondesh
  3. VOALAA !!!!!

logo_terminal.png

What Next :

  1. Integration to remote file system to load .sql from there and parse it
  2. Integration with data-catalogues like spark catalogue or hive metastore and compare ddl.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

sondesh-1.0-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

Details for the file sondesh-1.0-py3-none-any.whl.

File metadata

  • Download URL: sondesh-1.0-py3-none-any.whl
  • Upload date:
  • Size: 57.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for sondesh-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b01711678795e8efff5df240e33667936e40e7ce1296e73c84962eb4e843533b
MD5 f0e2b6fef596b323ff8bee577cf36435
BLAKE2b-256 a561df5f422a5f62150d5335da2442892dd8de16a5a8ad77674987a0e4d806fc

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