https://github.com/nomorepanic/squel
SQL parsing, done right.
https://github.com/nomorepanic/squel
Last synced: 4 months ago
JSON representation
SQL parsing, done right.
- Host: GitHub
- URL: https://github.com/nomorepanic/squel
- Owner: nomorepanic
- License: mit
- Created: 2024-06-02T14:19:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-02T15:04:48.000Z (about 2 years ago)
- Last Synced: 2025-02-01T21:41:43.337Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Squel
SQL parsing, done right.
WIP, but you can you use it as base. Just add the missing definitions to
the grammar.
## Example
```python
from squel.app import Squel
tree = Squel.parse('hello.sql')
print(tree.pretty())
```
### CLI
```sh
squel parse hello.sql
```