Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

METADATA 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. Metadata-Version: 2.1
  2. Name: sqlparse
  3. Version: 0.4.3
  4. Summary: A non-validating SQL parser.
  5. Home-page: https://github.com/andialbrecht/sqlparse
  6. Author: Andi Albrecht
  7. Author-email: albrecht.andi@gmail.com
  8. License: BSD-3-Clause
  9. Project-URL: Documentation, https://sqlparse.readthedocs.io/
  10. Project-URL: Release Notes, https://sqlparse.readthedocs.io/en/latest/changes/
  11. Project-URL: Source, https://github.com/andialbrecht/sqlparse
  12. Project-URL: Tracker, https://github.com/andialbrecht/sqlparse/issues
  13. Classifier: Development Status :: 5 - Production/Stable
  14. Classifier: Intended Audience :: Developers
  15. Classifier: License :: OSI Approved :: BSD License
  16. Classifier: Operating System :: OS Independent
  17. Classifier: Programming Language :: Python
  18. Classifier: Programming Language :: Python :: 3
  19. Classifier: Programming Language :: Python :: 3 :: Only
  20. Classifier: Programming Language :: Python :: 3.5
  21. Classifier: Programming Language :: Python :: 3.6
  22. Classifier: Programming Language :: Python :: 3.7
  23. Classifier: Programming Language :: Python :: 3.8
  24. Classifier: Programming Language :: Python :: 3.9
  25. Classifier: Programming Language :: Python :: 3.10
  26. Classifier: Programming Language :: Python :: Implementation :: CPython
  27. Classifier: Programming Language :: Python :: Implementation :: PyPy
  28. Classifier: Topic :: Database
  29. Classifier: Topic :: Software Development
  30. Requires-Python: >=3.5
  31. License-File: LICENSE
  32. License-File: AUTHORS
  33. python-sqlparse - Parse SQL statements
  34. ======================================
  35. |buildstatus|_
  36. |coverage|_
  37. |docs|_
  38. |packageversion|_
  39. .. docincludebegin
  40. sqlparse is a non-validating SQL parser for Python.
  41. It provides support for parsing, splitting and formatting SQL statements.
  42. The module is compatible with Python 3.5+ and released under the terms of the
  43. `New BSD license <https://opensource.org/licenses/BSD-3-Clause>`_.
  44. Visit the project page at https://github.com/andialbrecht/sqlparse for
  45. further information about this project.
  46. Quick Start
  47. -----------
  48. .. code-block:: sh
  49. $ pip install sqlparse
  50. .. code-block:: python
  51. >>> import sqlparse
  52. >>> # Split a string containing two SQL statements:
  53. >>> raw = 'select * from foo; select * from bar;'
  54. >>> statements = sqlparse.split(raw)
  55. >>> statements
  56. ['select * from foo;', 'select * from bar;']
  57. >>> # Format the first statement and print it out:
  58. >>> first = statements[0]
  59. >>> print(sqlparse.format(first, reindent=True, keyword_case='upper'))
  60. SELECT *
  61. FROM foo;
  62. >>> # Parsing a SQL statement:
  63. >>> parsed = sqlparse.parse('select * from foo')[0]
  64. >>> parsed.tokens
  65. [<DML 'select' at 0x7f22c5e15368>, <Whitespace ' ' at 0x7f22c5e153b0>, <Wildcard '*' … ]
  66. >>>
  67. Links
  68. -----
  69. Project page
  70. https://github.com/andialbrecht/sqlparse
  71. Bug tracker
  72. https://github.com/andialbrecht/sqlparse/issues
  73. Documentation
  74. https://sqlparse.readthedocs.io/
  75. Online Demo
  76. https://sqlformat.org/
  77. sqlparse is licensed under the BSD license.
  78. Parts of the code are based on pygments written by Georg Brandl and others.
  79. pygments-Homepage: http://pygments.org/
  80. .. |buildstatus| image:: https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml/badge.svg
  81. .. _buildstatus: https://github.com/andialbrecht/sqlparse/actions/workflows/python-app.yml
  82. .. |coverage| image:: https://codecov.io/gh/andialbrecht/sqlparse/branch/master/graph/badge.svg
  83. .. _coverage: https://codecov.io/gh/andialbrecht/sqlparse
  84. .. |docs| image:: https://readthedocs.org/projects/sqlparse/badge/?version=latest
  85. .. _docs: https://sqlparse.readthedocs.io/en/latest/?badge=latest
  86. .. |packageversion| image:: https://img.shields.io/pypi/v/sqlparse?color=%2334D058&label=pypi%20package
  87. .. _packageversion: https://pypi.org/project/sqlparse