A library for parsing SQL statements.
Project description
A highly experimental attempt to have a sane parser library to parse MySQL statements.
At the moment - use it at your own risk!
Features
Inconsistently parses SOME SQL strings.
How can you help?
Read the generic CONTRIBUTORS.rst or here’s a short personal sentiment:
This is being built as a potential support for potential dba tools that we might write at work, so naturally certain things will be implemented sooner. Currently these are few use-cases we’re looking into:
Be able to provide suggestions to ALTER TABLE statements (e.g.: announce when a statement is potentially not backwards compatible with code)
Be able to generate commands for online schema change tools.
Potentially add some validation support, so that an SQL linting tool could be written.
Why?
Out of frustration for lack of a better tool.
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
File details
Details for the file mysqlparse-0.1.2.tar.gz
.
File metadata
- Download URL: mysqlparse-0.1.2.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee31ba83b5aae6c844940e5df6dff8cfe7419f476e3f916f373d7e993d572bf4 |
|
MD5 | ae446aa5f33094939a1199d9840f5223 |
|
BLAKE2b-256 | 83e55bca3cfd96b2142fc62b63a23a976e3efa9133f9920a688fe7070690f46f |