将SQL转换为最易读的格式

时间:2024-02-17 08:20:27
【文件属性】:

文件名称:将SQL转换为最易读的格式

文件大小:20KB

文件格式:ZIP

更新时间:2024-02-17 08:20:27

lint python sql SQLPython

readsql Convert SQL to most human readable format. For the time being it upper cases SQL keywords, it might prettify or even suggest improvements of SQL code in the future. It converts SQL code and even SQL-strings in programming languages (only Python at the moment). So if we write select sushi, avg(price) from tokyo where ocean = 'pacific' group by sushi readsql will help us read it as SELECT su


【文件预览】:
readsql-master
----.gitattributes(66B)
----poetry.lock(10KB)
----LICENSE(1KB)
----setup.py(973B)
----README.md(4KB)
----.pre-commit-hooks.yaml(145B)
----readsql()
--------regexes.txt(781B)
--------__init__.py(0B)
--------__main__.py(4KB)
--------parse_args.py(901B)
----.pre-commit-config.yaml(472B)
----tests()
--------sql_in_python_variables_example_correct.py(467B)
--------sql_in_python_example_correct.py(751B)
--------sql_in_python_multifile1_example_correct.py(437B)
--------sql_example_correct.sql(813B)
--------speed.txt(841B)
--------sql_in_python_variable_example.py(120B)
--------check.py(586B)
--------__init__.py(0B)
--------test_files.py(2KB)
--------test_strings.py(3KB)
--------sql_in_python_example.py(751B)
--------sql_in_python_variables_example.py(467B)
--------sql_in_python_multifile2_example.py(437B)
--------sql_in_python_multifile1_example.py(437B)
--------sql_example.sql(813B)
--------sql_in_python_multifile2_example_correct.py(437B)
--------sql_in_python_variable_example_correct.py(120B)
--------timing.py(1KB)
----.gitignore(2KB)
----pyproject.toml(630B)

网友评论