sqlingpl 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (220) hide show
  1. sqlingpl-0.1.0/LICENSE +21 -0
  2. sqlingpl-0.1.0/PKG-INFO +2119 -0
  3. sqlingpl-0.1.0/README.md +2085 -0
  4. sqlingpl-0.1.0/pyproject.toml +72 -0
  5. sqlingpl-0.1.0/setup.cfg +4 -0
  6. sqlingpl-0.1.0/sqlingpl/__init__.py +63 -0
  7. sqlingpl-0.1.0/sqlingpl/__main__.py +32 -0
  8. sqlingpl-0.1.0/sqlingpl/adapters.py +2720 -0
  9. sqlingpl-0.1.0/sqlingpl/alter_modify.py +365 -0
  10. sqlingpl-0.1.0/sqlingpl/application.py +495 -0
  11. sqlingpl-0.1.0/sqlingpl/ast_nodes.py +972 -0
  12. sqlingpl-0.1.0/sqlingpl/audit.py +445 -0
  13. sqlingpl-0.1.0/sqlingpl/builtins.py +1145 -0
  14. sqlingpl-0.1.0/sqlingpl/catalog.py +1175 -0
  15. sqlingpl-0.1.0/sqlingpl/check.py +698 -0
  16. sqlingpl-0.1.0/sqlingpl/cli.py +722 -0
  17. sqlingpl-0.1.0/sqlingpl/conditional.py +481 -0
  18. sqlingpl-0.1.0/sqlingpl/connect_by.py +1165 -0
  19. sqlingpl-0.1.0/sqlingpl/cross_views.py +119 -0
  20. sqlingpl-0.1.0/sqlingpl/csv_loader.py +886 -0
  21. sqlingpl-0.1.0/sqlingpl/cursors.py +287 -0
  22. sqlingpl-0.1.0/sqlingpl/db_links.py +132 -0
  23. sqlingpl-0.1.0/sqlingpl/ddl_columns.py +139 -0
  24. sqlingpl-0.1.0/sqlingpl/ddl_order.py +148 -0
  25. sqlingpl-0.1.0/sqlingpl/describe.py +170 -0
  26. sqlingpl-0.1.0/sqlingpl/dictionary.py +1688 -0
  27. sqlingpl-0.1.0/sqlingpl/errors.py +297 -0
  28. sqlingpl-0.1.0/sqlingpl/formats.py +663 -0
  29. sqlingpl-0.1.0/sqlingpl/interpreter.py +9557 -0
  30. sqlingpl-0.1.0/sqlingpl/json_types.py +306 -0
  31. sqlingpl-0.1.0/sqlingpl/lexer.py +434 -0
  32. sqlingpl-0.1.0/sqlingpl/loader.py +654 -0
  33. sqlingpl-0.1.0/sqlingpl/mariadb.py +2243 -0
  34. sqlingpl-0.1.0/sqlingpl/merge.py +460 -0
  35. sqlingpl-0.1.0/sqlingpl/modern_sql.py +1002 -0
  36. sqlingpl-0.1.0/sqlingpl/multitable.py +313 -0
  37. sqlingpl-0.1.0/sqlingpl/native/__init__.py +165 -0
  38. sqlingpl-0.1.0/sqlingpl/native/mariadb.py +697 -0
  39. sqlingpl-0.1.0/sqlingpl/native/postgres.py +487 -0
  40. sqlingpl-0.1.0/sqlingpl/native/translate.py +770 -0
  41. sqlingpl-0.1.0/sqlingpl/object_methods.py +162 -0
  42. sqlingpl-0.1.0/sqlingpl/object_types.py +691 -0
  43. sqlingpl-0.1.0/sqlingpl/oracle.py +677 -0
  44. sqlingpl-0.1.0/sqlingpl/oracle_dump.py +1212 -0
  45. sqlingpl-0.1.0/sqlingpl/oracle_text.py +595 -0
  46. sqlingpl-0.1.0/sqlingpl/outer_join.py +792 -0
  47. sqlingpl-0.1.0/sqlingpl/owa_packages.sql +1096 -0
  48. sqlingpl-0.1.0/sqlingpl/owa_toolkit.py +410 -0
  49. sqlingpl-0.1.0/sqlingpl/packages.py +4975 -0
  50. sqlingpl-0.1.0/sqlingpl/parser.py +3221 -0
  51. sqlingpl-0.1.0/sqlingpl/pglite_bridge.py +429 -0
  52. sqlingpl-0.1.0/sqlingpl/plsql_library.py +241 -0
  53. sqlingpl-0.1.0/sqlingpl/rename.py +590 -0
  54. sqlingpl-0.1.0/sqlingpl/renderers.py +250 -0
  55. sqlingpl-0.1.0/sqlingpl/repl_support.py +204 -0
  56. sqlingpl-0.1.0/sqlingpl/report/__init__.py +61 -0
  57. sqlingpl-0.1.0/sqlingpl/report/document.py +365 -0
  58. sqlingpl-0.1.0/sqlingpl/report/spec.py +457 -0
  59. sqlingpl-0.1.0/sqlingpl/report/text.py +362 -0
  60. sqlingpl-0.1.0/sqlingpl/schema_check.py +185 -0
  61. sqlingpl-0.1.0/sqlingpl/scope.py +185 -0
  62. sqlingpl-0.1.0/sqlingpl/script_stream.py +144 -0
  63. sqlingpl-0.1.0/sqlingpl/sequences.py +423 -0
  64. sqlingpl-0.1.0/sqlingpl/settings.py +316 -0
  65. sqlingpl-0.1.0/sqlingpl/sql_calls.py +598 -0
  66. sqlingpl-0.1.0/sqlingpl/sql_engine.py +11200 -0
  67. sqlingpl-0.1.0/sqlingpl/sql_functions.py +2146 -0
  68. sqlingpl-0.1.0/sqlingpl/sqlldr.py +183 -0
  69. sqlingpl-0.1.0/sqlingpl/subset.py +683 -0
  70. sqlingpl-0.1.0/sqlingpl/substitution.py +573 -0
  71. sqlingpl-0.1.0/sqlingpl/translate_script.py +185 -0
  72. sqlingpl-0.1.0/sqlingpl/trigger_dispatch.py +725 -0
  73. sqlingpl-0.1.0/sqlingpl/triggers.py +327 -0
  74. sqlingpl-0.1.0/sqlingpl/types.py +847 -0
  75. sqlingpl-0.1.0/sqlingpl/view_dml.py +497 -0
  76. sqlingpl-0.1.0/sqlingpl/web_toolkit.py +974 -0
  77. sqlingpl-0.1.0/sqlingpl.egg-info/PKG-INFO +2119 -0
  78. sqlingpl-0.1.0/sqlingpl.egg-info/SOURCES.txt +218 -0
  79. sqlingpl-0.1.0/sqlingpl.egg-info/dependency_links.txt +1 -0
  80. sqlingpl-0.1.0/sqlingpl.egg-info/entry_points.txt +4 -0
  81. sqlingpl-0.1.0/sqlingpl.egg-info/requires.txt +19 -0
  82. sqlingpl-0.1.0/sqlingpl.egg-info/top_level.txt +1 -0
  83. sqlingpl-0.1.0/tests/test_21c_iteration.py +45 -0
  84. sqlingpl-0.1.0/tests/test_adapters.py +145 -0
  85. sqlingpl-0.1.0/tests/test_alter_modify.py +245 -0
  86. sqlingpl-0.1.0/tests/test_analytics.py +413 -0
  87. sqlingpl-0.1.0/tests/test_application.py +396 -0
  88. sqlingpl-0.1.0/tests/test_assoc_arrays.py +246 -0
  89. sqlingpl-0.1.0/tests/test_bare_function_select.py +58 -0
  90. sqlingpl-0.1.0/tests/test_binds.py +534 -0
  91. sqlingpl-0.1.0/tests/test_builtins.py +596 -0
  92. sqlingpl-0.1.0/tests/test_check.py +163 -0
  93. sqlingpl-0.1.0/tests/test_cli.py +563 -0
  94. sqlingpl-0.1.0/tests/test_collections.py +254 -0
  95. sqlingpl-0.1.0/tests/test_comments.py +274 -0
  96. sqlingpl-0.1.0/tests/test_compound_triggers.py +64 -0
  97. sqlingpl-0.1.0/tests/test_conditional_compilation.py +90 -0
  98. sqlingpl-0.1.0/tests/test_connect_by.py +464 -0
  99. sqlingpl-0.1.0/tests/test_cons_columns.py +78 -0
  100. sqlingpl-0.1.0/tests/test_contexts.py +150 -0
  101. sqlingpl-0.1.0/tests/test_corpus.py +171 -0
  102. sqlingpl-0.1.0/tests/test_create_user.py +130 -0
  103. sqlingpl-0.1.0/tests/test_cross_schema_views.py +144 -0
  104. sqlingpl-0.1.0/tests/test_csv_loader.py +210 -0
  105. sqlingpl-0.1.0/tests/test_ctas_types.py +95 -0
  106. sqlingpl-0.1.0/tests/test_cte.py +291 -0
  107. sqlingpl-0.1.0/tests/test_current_schema_owner.py +89 -0
  108. sqlingpl-0.1.0/tests/test_current_schema_routing.py +225 -0
  109. sqlingpl-0.1.0/tests/test_cursor_attributes.py +357 -0
  110. sqlingpl-0.1.0/tests/test_date_arithmetic_operands.py +60 -0
  111. sqlingpl-0.1.0/tests/test_date_text.py +51 -0
  112. sqlingpl-0.1.0/tests/test_db_links.py +164 -0
  113. sqlingpl-0.1.0/tests/test_dbms_job.py +63 -0
  114. sqlingpl-0.1.0/tests/test_ddl_order.py +174 -0
  115. sqlingpl-0.1.0/tests/test_decimal_numbers.py +93 -0
  116. sqlingpl-0.1.0/tests/test_definer_schema_resolution.py +78 -0
  117. sqlingpl-0.1.0/tests/test_describe.py +214 -0
  118. sqlingpl-0.1.0/tests/test_dictionary.py +228 -0
  119. sqlingpl-0.1.0/tests/test_dictionary_columns.py +106 -0
  120. sqlingpl-0.1.0/tests/test_division.py +91 -0
  121. sqlingpl-0.1.0/tests/test_dml_returning_triggers.py +58 -0
  122. sqlingpl-0.1.0/tests/test_dollar_binds.py +17 -0
  123. sqlingpl-0.1.0/tests/test_dynamic_sql_rewrites.py +56 -0
  124. sqlingpl-0.1.0/tests/test_embedding.py +320 -0
  125. sqlingpl-0.1.0/tests/test_error_line.py +88 -0
  126. sqlingpl-0.1.0/tests/test_examples_postgres.py +485 -0
  127. sqlingpl-0.1.0/tests/test_export_types.py +87 -0
  128. sqlingpl-0.1.0/tests/test_external_tables.py +195 -0
  129. sqlingpl-0.1.0/tests/test_fk_errors.py +32 -0
  130. sqlingpl-0.1.0/tests/test_formal_char.py +51 -0
  131. sqlingpl-0.1.0/tests/test_gateway_shapes.py +93 -0
  132. sqlingpl-0.1.0/tests/test_global_name.py +14 -0
  133. sqlingpl-0.1.0/tests/test_grant_before_role.py +40 -0
  134. sqlingpl-0.1.0/tests/test_group2_plsql.py +78 -0
  135. sqlingpl-0.1.0/tests/test_group4_plsql.py +52 -0
  136. sqlingpl-0.1.0/tests/test_host_constant.py +47 -0
  137. sqlingpl-0.1.0/tests/test_htp_complete.py +1490 -0
  138. sqlingpl-0.1.0/tests/test_language.py +370 -0
  139. sqlingpl-0.1.0/tests/test_legacy_scripts.py +75 -0
  140. sqlingpl-0.1.0/tests/test_load.py +511 -0
  141. sqlingpl-0.1.0/tests/test_mariadb.py +1119 -0
  142. sqlingpl-0.1.0/tests/test_merge.py +230 -0
  143. sqlingpl-0.1.0/tests/test_mod_operator.py +21 -0
  144. sqlingpl-0.1.0/tests/test_mod_plsql_app_shapes.py +249 -0
  145. sqlingpl-0.1.0/tests/test_modern_sql.py +338 -0
  146. sqlingpl-0.1.0/tests/test_modify_with_broken_views.py +45 -0
  147. sqlingpl-0.1.0/tests/test_multitable_insert.py +58 -0
  148. sqlingpl-0.1.0/tests/test_native_functions.py +392 -0
  149. sqlingpl-0.1.0/tests/test_native_triggers.py +243 -0
  150. sqlingpl-0.1.0/tests/test_nls_date_format.py +78 -0
  151. sqlingpl-0.1.0/tests/test_number_precision.py +144 -0
  152. sqlingpl-0.1.0/tests/test_object_types.py +297 -0
  153. sqlingpl-0.1.0/tests/test_old_catalog_columns.py +56 -0
  154. sqlingpl-0.1.0/tests/test_or_replace_view_schemas.py +39 -0
  155. sqlingpl-0.1.0/tests/test_oracle.py +386 -0
  156. sqlingpl-0.1.0/tests/test_oracle_ddl.py +1492 -0
  157. sqlingpl-0.1.0/tests/test_oracle_diff.py +185 -0
  158. sqlingpl-0.1.0/tests/test_oracle_dump.py +338 -0
  159. sqlingpl-0.1.0/tests/test_oracle_literals.py +143 -0
  160. sqlingpl-0.1.0/tests/test_oracle_read_only_user.py +113 -0
  161. sqlingpl-0.1.0/tests/test_oracle_text.py +145 -0
  162. sqlingpl-0.1.0/tests/test_outer_join.py +474 -0
  163. sqlingpl-0.1.0/tests/test_owa_packages.py +72 -0
  164. sqlingpl-0.1.0/tests/test_parameter_default_scope.py +48 -0
  165. sqlingpl-0.1.0/tests/test_parse_recovery.py +82 -0
  166. sqlingpl-0.1.0/tests/test_pglite.py +384 -0
  167. sqlingpl-0.1.0/tests/test_pglite_over_postgres.py +118 -0
  168. sqlingpl-0.1.0/tests/test_pgrecon_dump_shapes.py +232 -0
  169. sqlingpl-0.1.0/tests/test_plsql_names_in_sql.py +101 -0
  170. sqlingpl-0.1.0/tests/test_postgres.py +343 -0
  171. sqlingpl-0.1.0/tests/test_postgres_adopted_search_path.py +118 -0
  172. sqlingpl-0.1.0/tests/test_postgres_current_schema.py +240 -0
  173. sqlingpl-0.1.0/tests/test_postgres_gateway_gaps.py +131 -0
  174. sqlingpl-0.1.0/tests/test_private_temporary_table.py +139 -0
  175. sqlingpl-0.1.0/tests/test_qualified_function_calls_in_sql.py +84 -0
  176. sqlingpl-0.1.0/tests/test_qualified_names.py +34 -0
  177. sqlingpl-0.1.0/tests/test_rename.py +141 -0
  178. sqlingpl-0.1.0/tests/test_repl_editing.py +166 -0
  179. sqlingpl-0.1.0/tests/test_replace_two_arg.py +112 -0
  180. sqlingpl-0.1.0/tests/test_report.py +603 -0
  181. sqlingpl-0.1.0/tests/test_report_document.py +221 -0
  182. sqlingpl-0.1.0/tests/test_rest_calls.py +126 -0
  183. sqlingpl-0.1.0/tests/test_return_in_block.py +24 -0
  184. sqlingpl-0.1.0/tests/test_rewrites_pg.py +449 -0
  185. sqlingpl-0.1.0/tests/test_roles.py +290 -0
  186. sqlingpl-0.1.0/tests/test_rownum_subquery.py +40 -0
  187. sqlingpl-0.1.0/tests/test_rowtype.py +119 -0
  188. sqlingpl-0.1.0/tests/test_rowtype_names_a_subprogram.py +36 -0
  189. sqlingpl-0.1.0/tests/test_scalar_subtypes.py +139 -0
  190. sqlingpl-0.1.0/tests/test_schema_check.py +90 -0
  191. sqlingpl-0.1.0/tests/test_schema_namespaces.py +78 -0
  192. sqlingpl-0.1.0/tests/test_schemas.py +673 -0
  193. sqlingpl-0.1.0/tests/test_script_exit.py +39 -0
  194. sqlingpl-0.1.0/tests/test_script_stream.py +110 -0
  195. sqlingpl-0.1.0/tests/test_sequences.py +273 -0
  196. sqlingpl-0.1.0/tests/test_session_user_and_trace_source.py +72 -0
  197. sqlingpl-0.1.0/tests/test_set_and_define.py +130 -0
  198. sqlingpl-0.1.0/tests/test_set_operators_and_concat.py +119 -0
  199. sqlingpl-0.1.0/tests/test_settings.py +620 -0
  200. sqlingpl-0.1.0/tests/test_sql.py +1215 -0
  201. sqlingpl-0.1.0/tests/test_sql_called_functions.py +102 -0
  202. sqlingpl-0.1.0/tests/test_sql_calls.py +260 -0
  203. sqlingpl-0.1.0/tests/test_sqlformat.py +272 -0
  204. sqlingpl-0.1.0/tests/test_sqlldr.py +181 -0
  205. sqlingpl-0.1.0/tests/test_sqlplus_reports.py +102 -0
  206. sqlingpl-0.1.0/tests/test_subprograms.py +575 -0
  207. sqlingpl-0.1.0/tests/test_subset.py +201 -0
  208. sqlingpl-0.1.0/tests/test_substitution.py +491 -0
  209. sqlingpl-0.1.0/tests/test_supplied_packages.py +1685 -0
  210. sqlingpl-0.1.0/tests/test_transactions.py +299 -0
  211. sqlingpl-0.1.0/tests/test_transactions_script_level.py +43 -0
  212. sqlingpl-0.1.0/tests/test_translate_script.py +94 -0
  213. sqlingpl-0.1.0/tests/test_triggers.py +1042 -0
  214. sqlingpl-0.1.0/tests/test_updatable_views.py +140 -0
  215. sqlingpl-0.1.0/tests/test_value_count_errors.py +56 -0
  216. sqlingpl-0.1.0/tests/test_variadic_functions.py +31 -0
  217. sqlingpl-0.1.0/tests/test_view_text_for_native_views.py +41 -0
  218. sqlingpl-0.1.0/tests/test_views_after_reopen.py +225 -0
  219. sqlingpl-0.1.0/tests/test_web_toolkit_gaps.py +221 -0
  220. sqlingpl-0.1.0/tests/test_web_toolkit_tags.py +33 -0
sqlingpl-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Data Design Group, Inc.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.