Ravenports generated: 18 Apr 2023 15:51
[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
25
26 DISTNAME=               sqlparse-0.4.4.dist-info
27
28 CPE_PRODUCT=            sqlparse
29 CPE_VENDOR=             sqlparse_project
30 GENERATED=              yes
31
32 [PY310].USES_ON=                        python:py310,wheel
33
34 [PY311].USES_ON=                        python:v11,wheel
35
36 [FILE:2266:descriptions/desc.single]
37 python-sqlparse - Parse SQL statements
38 ======================================
39
40 |buildstatus|_
41 |coverage|_
42 |docs|_
43 |packageversion|_
44
45 .. docincludebegin
46
47 sqlparse is a non-validating SQL parser for Python.
48 It provides support for parsing, splitting and formatting SQL statements.
49
50 The module is compatible with Python 3.5+ and released under the terms of
51 the
52 [New BSD license].
53
54 Visit the project page at https://github.com/andialbrecht/sqlparse for
55 further information about this project.
56
57 Quick Start
58 -----------
59
60 .. code-block:: sh
61
62    $ pip install sqlparse
63
64 .. code-block:: python
65
66    >>> import sqlparse
67
68    >>> # Split a string containing two SQL statements:
69    >>> raw = 'select * from foo; select * from bar;'
70    >>> statements = sqlparse.split(raw)
71    >>> statements
72    ['select * from foo;', 'select * from bar;']
73
74    >>> # Format the first statement and print it out:
75    >>> first = statements[0]
76    >>> print(sqlparse.format(first, reindent=True, keyword_case='upper'))
77    SELECT *
78    FROM foo;
79
80    >>> # Parsing a SQL statement:
81    >>> parsed = sqlparse.parse('select * from foo')[0]
82    >>> parsed.tokens
83    [<DML 'select' at 0x7f22c5e15368>, <Whitespace ' ' at 0x7f22c5e153b0>,
84 <Wildcard '*' …]
85    >>>
86
87 Links
88 -----
89
90 Project page
91    https://github.com/andialbrecht/sqlparse
92
93 Bug tracker
94    https://github.com/andialbrecht/sqlparse/issues
95
96 Documentation
97    https://sqlparse.readthedocs.io/
98
99 Online Demo
100    https://sqlformat.org/
101
102 sqlparse is licensed under the BSD license.
103
104 Parts of the code are based on pygments written by Georg Brandl and others.
105 pygments-Homepage: http://pygments.org/
106
107 .. |buildstatus| image::
108 https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml/badge.svg
109 .. _buildstatus:
110 https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml
111 .. |coverage| image::
112 https://codecov.io/gh/andialbrecht/sqlparse/branch/master/graph/badge.svg
113 .. _coverage: https://codecov.io/gh/andialbrecht/sqlparse
114 .. |docs| image::
115 https://readthedocs.org/projects/sqlparse/badge/?version=latest
116 .. _docs: https://sqlparse.readthedocs.io/en/latest/?badge=latest
117 .. |packageversion| image::
118 https://img.shields.io/pypi/v/sqlparse?color=%2334D058&label=pypi%20package
119 .. _packageversion: https://pypi.org/project/sqlparse
120
121
122 [FILE:110:distinfo]
123 5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3        41183 sqlparse-0.4.4-py3-none-any.whl
124