1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-sqlparse
7 SDESC[py310]= Non-validating SQL parser (3.10)
8 SDESC[v11]= Non-validating SQL parser (3.11)
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPIWHL/98/5a/66d7c9305baa9f11857f247d4ba761402cea75db6058ff850ed7128957b7
14 DISTFILE[1]= sqlparse-0.4.4-py3-none-any.whl:main
19 OPTIONS_AVAILABLE= PY310 PY311
20 OPTIONS_STANDARD= none
21 VOPTS[py310]= PY310=ON PY311=OFF
22 VOPTS[v11]= PY310=OFF PY311=ON
26 DISTNAME= sqlparse-0.4.4.dist-info
29 CPE_VENDOR= sqlparse_project
30 SHEBANG_FILES= stage{{PYTHON_SITELIBDIR}}/sqlparse/cli.py
33 [PY310].USES_ON= python:py310,wheel
35 [PY311].USES_ON= python:v11,wheel
37 [FILE:2266:descriptions/desc.single]
38 python-sqlparse - Parse SQL statements
39 ======================================
48 sqlparse is a non-validating SQL parser for Python.
49 It provides support for parsing, splitting and formatting SQL statements.
51 The module is compatible with Python 3.5+ and released under the terms of
55 Visit the project page at https://github.com/andialbrecht/sqlparse for
56 further information about this project.
63 $ pip install sqlparse
65 .. code-block:: python
69 >>> # Split a string containing two SQL statements:
70 >>> raw = 'select * from foo; select * from bar;'
71 >>> statements = sqlparse.split(raw)
73 ['select * from foo;', 'select * from bar;']
75 >>> # Format the first statement and print it out:
76 >>> first = statements[0]
77 >>> print(sqlparse.format(first, reindent=True, keyword_case='upper'))
81 >>> # Parsing a SQL statement:
82 >>> parsed = sqlparse.parse('select * from foo')[0]
84 [<DML 'select' at 0x7f22c5e15368>, <Whitespace ' ' at 0x7f22c5e153b0>,
92 https://github.com/andialbrecht/sqlparse
95 https://github.com/andialbrecht/sqlparse/issues
98 https://sqlparse.readthedocs.io/
101 https://sqlformat.org/
103 sqlparse is licensed under the BSD license.
105 Parts of the code are based on pygments written by Georg Brandl and others.
106 pygments-Homepage: http://pygments.org/
108 .. |buildstatus| image::
109 https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml/badge.svg
111 https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml
112 .. |coverage| image::
113 https://codecov.io/gh/andialbrecht/sqlparse/branch/master/graph/badge.svg
114 .. _coverage: https://codecov.io/gh/andialbrecht/sqlparse
116 https://readthedocs.org/projects/sqlparse/badge/?version=latest
117 .. _docs: https://sqlparse.readthedocs.io/en/latest/?badge=latest
118 .. |packageversion| image::
119 https://img.shields.io/pypi/v/sqlparse?color=%2334D058&label=pypi%20package
120 .. _packageversion: https://pypi.org/project/sqlparse
124 5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3 41183 sqlparse-0.4.4-py3-none-any.whl