SQL Formatter based on sqlparse
Project description
sqlmakeuper
Python library with CLI interface for sql formatting based on sqlparse
Installation
pip install sqlmakeuper
Using
Format with default parameters
sqlmakeup --path /path/with/files/to/format
- Default parameters are
(reindent=True, indent_width=4, keyword_case="lower", identifier_case="lower", comma_first=True,)
Format with custom parameters
sqlmakeup --path /path/with/files/to/format --parameters '{"comma_first":0}'
Check with custom parameters
sqlmakeup --path /path/with/files/to/format --check
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqlmakeuper-0.1.4.tar.gz
(16.9 kB
view details)
Built Distribution
File details
Details for the file sqlmakeuper-0.1.4.tar.gz
.
File metadata
- Download URL: sqlmakeuper-0.1.4.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc59c4657c00298ff1c3ef416dae6a838d8a019ad0ef9bec4cbb313d456ab492 |
|
MD5 | ec2eb4da4a3d5a7791e73b50fcbc67c3 |
|
BLAKE2b-256 | b2aaf59b1ce31c964b0e0bde74b55d1123fb743ef7aa65328b6472256f30b038 |
File details
Details for the file sqlmakeuper-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: sqlmakeuper-0.1.4-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 301e77680be499e0bb9486506699848892d62caa0b6b13b8d1e62e45851692de |
|
MD5 | 2afdd76b3bd687212e2ec664e2b70e13 |
|
BLAKE2b-256 | e7665f1705c9525ebe096111e01bf12a03d0ee6db25f4b2fb159b48e0dbf8b0a |