Ravenports generated: 28 Jun 2023 00:43
[ravenports.git] / bucket_5F / python-sqlparse
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-sqlparse
4 VERSION=                0.4.4
5 KEYWORDS=               python
6 VARIANTS=               py310 v11
7 SDESC[py310]=           Non-validating SQL parser (3.10)
8 SDESC[v11]=             Non-validating SQL parser (3.11)
9 HOMEPAGE=               none
10 CONTACT=                Python_Automaton[python@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPIWHL/98/5a/66d7c9305baa9f11857f247d4ba761402cea75db6058ff850ed7128957b7
14 DISTFILE[1]=            sqlparse-0.4.4-py3-none-any.whl:main
15 DF_INDEX=               1
16 SPKGS[py310]=           single
17 SPKGS[v11]=             single
18
19 OPTIONS_AVAILABLE=      PY310 PY311
20 OPTIONS_STANDARD=       none
21 VOPTS[py310]=           PY310=ON PY311=OFF
22 VOPTS[v11]=             PY310=OFF PY311=ON
23
24 USES=                   cpe shebangfix
25
26 DISTNAME=               sqlparse-0.4.4.dist-info
27
28 CPE_PRODUCT=            sqlparse
29 CPE_VENDOR=             sqlparse_project
30 SHEBANG_FILES=          stage{{PYTHON_SITELIBDIR}}/sqlparse/cli.py
31 GENERATED=              yes
32
33 [PY310].USES_ON=                        python:py310,wheel
34
35 [PY311].USES_ON=                        python:v11,wheel
36
37 [FILE:2266:descriptions/desc.single]
38 python-sqlparse - Parse SQL statements
39 ======================================
40
41 |buildstatus|_
42 |coverage|_
43 |docs|_
44 |packageversion|_
45
46 .. docincludebegin
47
48 sqlparse is a non-validating SQL parser for Python.
49 It provides support for parsing, splitting and formatting SQL statements.
50
51 The module is compatible with Python 3.5+ and released under the terms of
52 the
53 [New BSD license].
54
55 Visit the project page at https://github.com/andialbrecht/sqlparse for
56 further information about this project.
57
58 Quick Start
59 -----------
60
61 .. code-block:: sh
62
63    $ pip install sqlparse
64
65 .. code-block:: python
66
67    >>> import sqlparse
68
69    >>> # Split a string containing two SQL statements:
70    >>> raw = 'select * from foo; select * from bar;'
71    >>> statements = sqlparse.split(raw)
72    >>> statements
73    ['select * from foo;', 'select * from bar;']
74
75    >>> # Format the first statement and print it out:
76    >>> first = statements[0]
77    >>> print(sqlparse.format(first, reindent=True, keyword_case='upper'))
78    SELECT *
79    FROM foo;
80
81    >>> # Parsing a SQL statement:
82    >>> parsed = sqlparse.parse('select * from foo')[0]
83    >>> parsed.tokens
84    [<DML 'select' at 0x7f22c5e15368>, <Whitespace ' ' at 0x7f22c5e153b0>,
85 <Wildcard '*' …]
86    >>>
87
88 Links
89 -----
90
91 Project page
92    https://github.com/andialbrecht/sqlparse
93
94 Bug tracker
95    https://github.com/andialbrecht/sqlparse/issues
96
97 Documentation
98    https://sqlparse.readthedocs.io/
99
100 Online Demo
101    https://sqlformat.org/
102
103 sqlparse is licensed under the BSD license.
104
105 Parts of the code are based on pygments written by Georg Brandl and others.
106 pygments-Homepage: http://pygments.org/
107
108 .. |buildstatus| image::
109 https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml/badge.svg
110 .. _buildstatus:
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
115 .. |docs| image::
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
121
122
123 [FILE:110:distinfo]
124 5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3        41183 sqlparse-0.4.4-py3-none-any.whl
125