pybatis-plus 1.0.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 (919) hide show
  1. pybatis_plus-1.0.0/AUTHORS +36 -0
  2. pybatis_plus-1.0.0/CHANGES.rst +28 -0
  3. pybatis_plus-1.0.0/LICENSE +19 -0
  4. pybatis_plus-1.0.0/MANIFEST.in +19 -0
  5. pybatis_plus-1.0.0/PKG-INFO +3252 -0
  6. pybatis_plus-1.0.0/README.dialects.rst +225 -0
  7. pybatis_plus-1.0.0/README.rst +3159 -0
  8. pybatis_plus-1.0.0/README.unittests.rst +450 -0
  9. pybatis_plus-1.0.0/doc/build/Makefile +152 -0
  10. pybatis_plus-1.0.0/doc/build/changelog/README.txt +34 -0
  11. pybatis_plus-1.0.0/doc/build/changelog/changelog_01.rst +976 -0
  12. pybatis_plus-1.0.0/doc/build/changelog/changelog_02.rst +1191 -0
  13. pybatis_plus-1.0.0/doc/build/changelog/changelog_03.rst +2927 -0
  14. pybatis_plus-1.0.0/doc/build/changelog/changelog_04.rst +4197 -0
  15. pybatis_plus-1.0.0/doc/build/changelog/changelog_05.rst +3775 -0
  16. pybatis_plus-1.0.0/doc/build/changelog/changelog_06.rst +5411 -0
  17. pybatis_plus-1.0.0/doc/build/changelog/changelog_07.rst +4699 -0
  18. pybatis_plus-1.0.0/doc/build/changelog/changelog_08.rst +3741 -0
  19. pybatis_plus-1.0.0/doc/build/changelog/changelog_09.rst +3340 -0
  20. pybatis_plus-1.0.0/doc/build/changelog/changelog_10.rst +3404 -0
  21. pybatis_plus-1.0.0/doc/build/changelog/changelog_11.rst +2739 -0
  22. pybatis_plus-1.0.0/doc/build/changelog/changelog_12.rst +2945 -0
  23. pybatis_plus-1.0.0/doc/build/changelog/changelog_13.rst +4011 -0
  24. pybatis_plus-1.0.0/doc/build/changelog/changelog_14.rst +9421 -0
  25. pybatis_plus-1.0.0/doc/build/changelog/changelog_20.rst +9239 -0
  26. pybatis_plus-1.0.0/doc/build/changelog/changelog_21.rst +2507 -0
  27. pybatis_plus-1.0.0/doc/build/changelog/index.rst +64 -0
  28. pybatis_plus-1.0.0/doc/build/changelog/migration_04.rst +921 -0
  29. pybatis_plus-1.0.0/doc/build/changelog/migration_05.rst +768 -0
  30. pybatis_plus-1.0.0/doc/build/changelog/migration_06.rst +1240 -0
  31. pybatis_plus-1.0.0/doc/build/changelog/migration_07.rst +1368 -0
  32. pybatis_plus-1.0.0/doc/build/changelog/migration_08.rst +1538 -0
  33. pybatis_plus-1.0.0/doc/build/changelog/migration_09.rst +1922 -0
  34. pybatis_plus-1.0.0/doc/build/changelog/migration_10.rst +2777 -0
  35. pybatis_plus-1.0.0/doc/build/changelog/migration_11.rst +3036 -0
  36. pybatis_plus-1.0.0/doc/build/changelog/migration_12.rst +1851 -0
  37. pybatis_plus-1.0.0/doc/build/changelog/migration_13.rst +1800 -0
  38. pybatis_plus-1.0.0/doc/build/changelog/migration_14.rst +3189 -0
  39. pybatis_plus-1.0.0/doc/build/changelog/migration_20.rst +2450 -0
  40. pybatis_plus-1.0.0/doc/build/changelog/migration_21.rst +2444 -0
  41. pybatis_plus-1.0.0/doc/build/changelog/unreleased_11/README.txt +8 -0
  42. pybatis_plus-1.0.0/doc/build/changelog/unreleased_12/README.txt +8 -0
  43. pybatis_plus-1.0.0/doc/build/changelog/unreleased_13/6135.rst +10 -0
  44. pybatis_plus-1.0.0/doc/build/changelog/unreleased_13/6182.rst +13 -0
  45. pybatis_plus-1.0.0/doc/build/changelog/unreleased_13/6392.rst +9 -0
  46. pybatis_plus-1.0.0/doc/build/changelog/unreleased_13/6589.rst +7 -0
  47. pybatis_plus-1.0.0/doc/build/changelog/unreleased_13/7115.rst +16 -0
  48. pybatis_plus-1.0.0/doc/build/changelog/unreleased_13/README.txt +8 -0
  49. pybatis_plus-1.0.0/doc/build/changelog/unreleased_14/README.txt +8 -0
  50. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/12302.rst +11 -0
  51. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/12710.rst +21 -0
  52. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13602.rst +13 -0
  53. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13609.rst +36 -0
  54. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13610.rst +12 -0
  55. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13615.rst +13 -0
  56. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13617.rst +11 -0
  57. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13631.rst +13 -0
  58. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13640.rst +27 -0
  59. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13641.rst +13 -0
  60. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13643.rst +12 -0
  61. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/13644.rst +24 -0
  62. pybatis_plus-1.0.0/doc/build/changelog/unreleased_20/README.txt +12 -0
  63. pybatis_plus-1.0.0/doc/build/changelog/unreleased_21/README.txt +12 -0
  64. pybatis_plus-1.0.0/doc/build/changelog/whatsnew_20.rst +2295 -0
  65. pybatis_plus-1.0.0/doc/build/conf.py +504 -0
  66. pybatis_plus-1.0.0/doc/build/contents.rst +26 -0
  67. pybatis_plus-1.0.0/doc/build/copyright.rst +27 -0
  68. pybatis_plus-1.0.0/doc/build/core/api_basics.rst +11 -0
  69. pybatis_plus-1.0.0/doc/build/core/compiler.rst +11 -0
  70. pybatis_plus-1.0.0/doc/build/core/connections.rst +2822 -0
  71. pybatis_plus-1.0.0/doc/build/core/constraints.rst +947 -0
  72. pybatis_plus-1.0.0/doc/build/core/custom_types.rst +865 -0
  73. pybatis_plus-1.0.0/doc/build/core/ddl.rst +371 -0
  74. pybatis_plus-1.0.0/doc/build/core/defaults.rst +831 -0
  75. pybatis_plus-1.0.0/doc/build/core/dml.rst +86 -0
  76. pybatis_plus-1.0.0/doc/build/core/engines.rst +708 -0
  77. pybatis_plus-1.0.0/doc/build/core/engines_connections.rst +11 -0
  78. pybatis_plus-1.0.0/doc/build/core/event.rst +196 -0
  79. pybatis_plus-1.0.0/doc/build/core/events.rst +42 -0
  80. pybatis_plus-1.0.0/doc/build/core/exceptions.rst +7 -0
  81. pybatis_plus-1.0.0/doc/build/core/expression_api.rst +24 -0
  82. pybatis_plus-1.0.0/doc/build/core/foundation.rst +36 -0
  83. pybatis_plus-1.0.0/doc/build/core/functions.rst +149 -0
  84. pybatis_plus-1.0.0/doc/build/core/future.rst +17 -0
  85. pybatis_plus-1.0.0/doc/build/core/index.rst +19 -0
  86. pybatis_plus-1.0.0/doc/build/core/inspection.rst +49 -0
  87. pybatis_plus-1.0.0/doc/build/core/internals.rst +71 -0
  88. pybatis_plus-1.0.0/doc/build/core/metadata.rst +928 -0
  89. pybatis_plus-1.0.0/doc/build/core/operators.rst +808 -0
  90. pybatis_plus-1.0.0/doc/build/core/pooling.rst +783 -0
  91. pybatis_plus-1.0.0/doc/build/core/reflection.rst +557 -0
  92. pybatis_plus-1.0.0/doc/build/core/schema.rst +43 -0
  93. pybatis_plus-1.0.0/doc/build/core/selectable.rst +180 -0
  94. pybatis_plus-1.0.0/doc/build/core/serializer.rst +6 -0
  95. pybatis_plus-1.0.0/doc/build/core/sqla_engine_arch.png +0 -0
  96. pybatis_plus-1.0.0/doc/build/core/sqlelement.rst +262 -0
  97. pybatis_plus-1.0.0/doc/build/core/tutorial.rst +14 -0
  98. pybatis_plus-1.0.0/doc/build/core/type_api.rst +25 -0
  99. pybatis_plus-1.0.0/doc/build/core/type_basics.rst +341 -0
  100. pybatis_plus-1.0.0/doc/build/core/types.rst +11 -0
  101. pybatis_plus-1.0.0/doc/build/core/visitors.rst +27 -0
  102. pybatis_plus-1.0.0/doc/build/dialects/index.rst +199 -0
  103. pybatis_plus-1.0.0/doc/build/dialects/mssql.rst +182 -0
  104. pybatis_plus-1.0.0/doc/build/dialects/mysql.rst +273 -0
  105. pybatis_plus-1.0.0/doc/build/dialects/oracle.rst +132 -0
  106. pybatis_plus-1.0.0/doc/build/dialects/postgresql.rst +688 -0
  107. pybatis_plus-1.0.0/doc/build/dialects/sqlite.rst +73 -0
  108. pybatis_plus-1.0.0/doc/build/errors.rst +2062 -0
  109. pybatis_plus-1.0.0/doc/build/faq/connections.rst +524 -0
  110. pybatis_plus-1.0.0/doc/build/faq/index.rst +21 -0
  111. pybatis_plus-1.0.0/doc/build/faq/installation.rst +30 -0
  112. pybatis_plus-1.0.0/doc/build/faq/metadata_schema.rst +110 -0
  113. pybatis_plus-1.0.0/doc/build/faq/ormconfiguration.rst +474 -0
  114. pybatis_plus-1.0.0/doc/build/faq/performance.rst +472 -0
  115. pybatis_plus-1.0.0/doc/build/faq/sessions.rst +593 -0
  116. pybatis_plus-1.0.0/doc/build/faq/sqlexpressions.rst +561 -0
  117. pybatis_plus-1.0.0/doc/build/faq/thirdparty.rst +76 -0
  118. pybatis_plus-1.0.0/doc/build/glossary.rst +1705 -0
  119. pybatis_plus-1.0.0/doc/build/index.rst +196 -0
  120. pybatis_plus-1.0.0/doc/build/intro.rst +284 -0
  121. pybatis_plus-1.0.0/doc/build/orm/backref.rst +190 -0
  122. pybatis_plus-1.0.0/doc/build/orm/basic_relationships.rst +1213 -0
  123. pybatis_plus-1.0.0/doc/build/orm/cascades.rst +779 -0
  124. pybatis_plus-1.0.0/doc/build/orm/classical.rst +5 -0
  125. pybatis_plus-1.0.0/doc/build/orm/collection_api.rst +650 -0
  126. pybatis_plus-1.0.0/doc/build/orm/collections.rst +12 -0
  127. pybatis_plus-1.0.0/doc/build/orm/composites.rst +603 -0
  128. pybatis_plus-1.0.0/doc/build/orm/constructors.rst +12 -0
  129. pybatis_plus-1.0.0/doc/build/orm/contextual.rst +283 -0
  130. pybatis_plus-1.0.0/doc/build/orm/dataclasses.rst +1134 -0
  131. pybatis_plus-1.0.0/doc/build/orm/declarative_config.rst +535 -0
  132. pybatis_plus-1.0.0/doc/build/orm/declarative_mapping.rst +18 -0
  133. pybatis_plus-1.0.0/doc/build/orm/declarative_mixins.rst +874 -0
  134. pybatis_plus-1.0.0/doc/build/orm/declarative_styles.rst +215 -0
  135. pybatis_plus-1.0.0/doc/build/orm/declarative_tables.rst +2331 -0
  136. pybatis_plus-1.0.0/doc/build/orm/events.rst +133 -0
  137. pybatis_plus-1.0.0/doc/build/orm/examples.rst +164 -0
  138. pybatis_plus-1.0.0/doc/build/orm/exceptions.rst +7 -0
  139. pybatis_plus-1.0.0/doc/build/orm/extending.rst +16 -0
  140. pybatis_plus-1.0.0/doc/build/orm/extensions/associationproxy.rst +776 -0
  141. pybatis_plus-1.0.0/doc/build/orm/extensions/asyncio.rst +1181 -0
  142. pybatis_plus-1.0.0/doc/build/orm/extensions/automap.rst +22 -0
  143. pybatis_plus-1.0.0/doc/build/orm/extensions/baked.rst +473 -0
  144. pybatis_plus-1.0.0/doc/build/orm/extensions/declarative/api.rst +28 -0
  145. pybatis_plus-1.0.0/doc/build/orm/extensions/declarative/basic_use.rst +40 -0
  146. pybatis_plus-1.0.0/doc/build/orm/extensions/declarative/index.rst +24 -0
  147. pybatis_plus-1.0.0/doc/build/orm/extensions/declarative/inheritance.rst +8 -0
  148. pybatis_plus-1.0.0/doc/build/orm/extensions/declarative/mixins.rst +8 -0
  149. pybatis_plus-1.0.0/doc/build/orm/extensions/declarative/relationships.rst +25 -0
  150. pybatis_plus-1.0.0/doc/build/orm/extensions/declarative/table_config.rst +24 -0
  151. pybatis_plus-1.0.0/doc/build/orm/extensions/horizontal_shard.rst +19 -0
  152. pybatis_plus-1.0.0/doc/build/orm/extensions/hybrid.rst +21 -0
  153. pybatis_plus-1.0.0/doc/build/orm/extensions/index.rst +29 -0
  154. pybatis_plus-1.0.0/doc/build/orm/extensions/indexable.rst +13 -0
  155. pybatis_plus-1.0.0/doc/build/orm/extensions/instrumentation.rst +25 -0
  156. pybatis_plus-1.0.0/doc/build/orm/extensions/mutable.rst +34 -0
  157. pybatis_plus-1.0.0/doc/build/orm/extensions/orderinglist.rst +18 -0
  158. pybatis_plus-1.0.0/doc/build/orm/index.rst +22 -0
  159. pybatis_plus-1.0.0/doc/build/orm/inheritance.rst +1411 -0
  160. pybatis_plus-1.0.0/doc/build/orm/inheritance_loading.rst +4 -0
  161. pybatis_plus-1.0.0/doc/build/orm/internals.rst +98 -0
  162. pybatis_plus-1.0.0/doc/build/orm/join_conditions.rst +1317 -0
  163. pybatis_plus-1.0.0/doc/build/orm/large_collections.rst +787 -0
  164. pybatis_plus-1.0.0/doc/build/orm/loading.rst +3 -0
  165. pybatis_plus-1.0.0/doc/build/orm/loading_columns.rst +4 -0
  166. pybatis_plus-1.0.0/doc/build/orm/loading_objects.rst +4 -0
  167. pybatis_plus-1.0.0/doc/build/orm/loading_relationships.rst +4 -0
  168. pybatis_plus-1.0.0/doc/build/orm/mapped_attributes.rst +418 -0
  169. pybatis_plus-1.0.0/doc/build/orm/mapped_sql_expr.rst +347 -0
  170. pybatis_plus-1.0.0/doc/build/orm/mapper_config.rst +37 -0
  171. pybatis_plus-1.0.0/doc/build/orm/mapping_api.rst +155 -0
  172. pybatis_plus-1.0.0/doc/build/orm/mapping_columns.rst +9 -0
  173. pybatis_plus-1.0.0/doc/build/orm/mapping_styles.rst +681 -0
  174. pybatis_plus-1.0.0/doc/build/orm/nonstandard_mappings.rst +211 -0
  175. pybatis_plus-1.0.0/doc/build/orm/persistence_techniques.rst +852 -0
  176. pybatis_plus-1.0.0/doc/build/orm/query.rst +3 -0
  177. pybatis_plus-1.0.0/doc/build/orm/queryguide/_deferred_setup.rst +105 -0
  178. pybatis_plus-1.0.0/doc/build/orm/queryguide/_dml_setup.rst +100 -0
  179. pybatis_plus-1.0.0/doc/build/orm/queryguide/_end_doctest.rst +6 -0
  180. pybatis_plus-1.0.0/doc/build/orm/queryguide/_inheritance_setup.rst +103 -0
  181. pybatis_plus-1.0.0/doc/build/orm/queryguide/_plain_setup.rst +100 -0
  182. pybatis_plus-1.0.0/doc/build/orm/queryguide/_single_inheritance.rst +72 -0
  183. pybatis_plus-1.0.0/doc/build/orm/queryguide/api.rst +548 -0
  184. pybatis_plus-1.0.0/doc/build/orm/queryguide/columns.rst +910 -0
  185. pybatis_plus-1.0.0/doc/build/orm/queryguide/dml.rst +1318 -0
  186. pybatis_plus-1.0.0/doc/build/orm/queryguide/index.rst +42 -0
  187. pybatis_plus-1.0.0/doc/build/orm/queryguide/inheritance.rst +1046 -0
  188. pybatis_plus-1.0.0/doc/build/orm/queryguide/query.rst +63 -0
  189. pybatis_plus-1.0.0/doc/build/orm/queryguide/queryguide_nav_include.rst +14 -0
  190. pybatis_plus-1.0.0/doc/build/orm/queryguide/relationships.rst +1215 -0
  191. pybatis_plus-1.0.0/doc/build/orm/queryguide/select.rst +1083 -0
  192. pybatis_plus-1.0.0/doc/build/orm/queryguide.rst +4 -0
  193. pybatis_plus-1.0.0/doc/build/orm/quickstart.rst +464 -0
  194. pybatis_plus-1.0.0/doc/build/orm/relationship_api.rst +17 -0
  195. pybatis_plus-1.0.0/doc/build/orm/relationship_persistence.rst +304 -0
  196. pybatis_plus-1.0.0/doc/build/orm/relationships.rst +23 -0
  197. pybatis_plus-1.0.0/doc/build/orm/scalar_mapping.rst +13 -0
  198. pybatis_plus-1.0.0/doc/build/orm/self_referential.rst +213 -0
  199. pybatis_plus-1.0.0/doc/build/orm/session.rst +26 -0
  200. pybatis_plus-1.0.0/doc/build/orm/session_api.rst +86 -0
  201. pybatis_plus-1.0.0/doc/build/orm/session_basics.rst +1060 -0
  202. pybatis_plus-1.0.0/doc/build/orm/session_events.rst +690 -0
  203. pybatis_plus-1.0.0/doc/build/orm/session_state_management.rst +657 -0
  204. pybatis_plus-1.0.0/doc/build/orm/session_transaction.rst +714 -0
  205. pybatis_plus-1.0.0/doc/build/orm/tutorial.rst +12 -0
  206. pybatis_plus-1.0.0/doc/build/orm/versioning.rst +255 -0
  207. pybatis_plus-1.0.0/doc/build/requirements.txt +7 -0
  208. pybatis_plus-1.0.0/doc/build/sqla_arch_small.png +0 -0
  209. pybatis_plus-1.0.0/doc/build/texinputs/Makefile +64 -0
  210. pybatis_plus-1.0.0/doc/build/texinputs/sphinx.sty +446 -0
  211. pybatis_plus-1.0.0/doc/build/tutorial/data.rst +53 -0
  212. pybatis_plus-1.0.0/doc/build/tutorial/data_insert.rst +325 -0
  213. pybatis_plus-1.0.0/doc/build/tutorial/data_select.rst +1892 -0
  214. pybatis_plus-1.0.0/doc/build/tutorial/data_update.rst +401 -0
  215. pybatis_plus-1.0.0/doc/build/tutorial/dbapi_transactions.rst +493 -0
  216. pybatis_plus-1.0.0/doc/build/tutorial/engine.rst +75 -0
  217. pybatis_plus-1.0.0/doc/build/tutorial/further_reading.rst +39 -0
  218. pybatis_plus-1.0.0/doc/build/tutorial/index.rst +165 -0
  219. pybatis_plus-1.0.0/doc/build/tutorial/metadata.rst +689 -0
  220. pybatis_plus-1.0.0/doc/build/tutorial/orm_data_manipulation.rst +565 -0
  221. pybatis_plus-1.0.0/doc/build/tutorial/orm_related_objects.rst +683 -0
  222. pybatis_plus-1.0.0/doc/build/tutorial/tutorial_nav_include.rst +14 -0
  223. pybatis_plus-1.0.0/examples/__init__.py +0 -0
  224. pybatis_plus-1.0.0/examples/adjacency_list/__init__.py +17 -0
  225. pybatis_plus-1.0.0/examples/adjacency_list/adjacency_list.py +117 -0
  226. pybatis_plus-1.0.0/examples/association/__init__.py +8 -0
  227. pybatis_plus-1.0.0/examples/association/basic_association.py +125 -0
  228. pybatis_plus-1.0.0/examples/association/dict_of_sets_with_default.py +104 -0
  229. pybatis_plus-1.0.0/examples/association/proxied_association.py +131 -0
  230. pybatis_plus-1.0.0/examples/asyncio/__init__.py +6 -0
  231. pybatis_plus-1.0.0/examples/asyncio/async_orm.py +111 -0
  232. pybatis_plus-1.0.0/examples/asyncio/async_orm_writeonly.py +106 -0
  233. pybatis_plus-1.0.0/examples/asyncio/basic.py +68 -0
  234. pybatis_plus-1.0.0/examples/asyncio/gather_orm_statements.py +110 -0
  235. pybatis_plus-1.0.0/examples/asyncio/greenlet_orm.py +96 -0
  236. pybatis_plus-1.0.0/examples/custom_attributes/__init__.py +7 -0
  237. pybatis_plus-1.0.0/examples/custom_attributes/active_column_defaults.py +115 -0
  238. pybatis_plus-1.0.0/examples/custom_attributes/custom_management.py +127 -0
  239. pybatis_plus-1.0.0/examples/custom_attributes/listen_for_events.py +69 -0
  240. pybatis_plus-1.0.0/examples/dogpile_caching/__init__.py +60 -0
  241. pybatis_plus-1.0.0/examples/dogpile_caching/advanced.py +92 -0
  242. pybatis_plus-1.0.0/examples/dogpile_caching/caching_query.py +214 -0
  243. pybatis_plus-1.0.0/examples/dogpile_caching/environment.py +83 -0
  244. pybatis_plus-1.0.0/examples/dogpile_caching/fixture_data.py +65 -0
  245. pybatis_plus-1.0.0/examples/dogpile_caching/helloworld.py +67 -0
  246. pybatis_plus-1.0.0/examples/dogpile_caching/local_session_caching.py +109 -0
  247. pybatis_plus-1.0.0/examples/dogpile_caching/model.py +117 -0
  248. pybatis_plus-1.0.0/examples/dogpile_caching/relationship_caching.py +35 -0
  249. pybatis_plus-1.0.0/examples/dynamic_dict/__init__.py +8 -0
  250. pybatis_plus-1.0.0/examples/dynamic_dict/dynamic_dict.py +98 -0
  251. pybatis_plus-1.0.0/examples/extending_query/__init__.py +17 -0
  252. pybatis_plus-1.0.0/examples/extending_query/filter_public.py +202 -0
  253. pybatis_plus-1.0.0/examples/extending_query/temporal_range.py +140 -0
  254. pybatis_plus-1.0.0/examples/generic_associations/__init__.py +18 -0
  255. pybatis_plus-1.0.0/examples/generic_associations/discriminator_on_association.py +171 -0
  256. pybatis_plus-1.0.0/examples/generic_associations/generic_fk.py +167 -0
  257. pybatis_plus-1.0.0/examples/generic_associations/table_per_association.py +122 -0
  258. pybatis_plus-1.0.0/examples/generic_associations/table_per_related.py +156 -0
  259. pybatis_plus-1.0.0/examples/graphs/__init__.py +13 -0
  260. pybatis_plus-1.0.0/examples/graphs/directed_graph.py +78 -0
  261. pybatis_plus-1.0.0/examples/inheritance/__init__.py +6 -0
  262. pybatis_plus-1.0.0/examples/inheritance/concrete.py +168 -0
  263. pybatis_plus-1.0.0/examples/inheritance/joined.py +165 -0
  264. pybatis_plus-1.0.0/examples/inheritance/single.py +182 -0
  265. pybatis_plus-1.0.0/examples/materialized_paths/__init__.py +6 -0
  266. pybatis_plus-1.0.0/examples/materialized_paths/materialized_paths.py +152 -0
  267. pybatis_plus-1.0.0/examples/nested_sets/__init__.py +6 -0
  268. pybatis_plus-1.0.0/examples/nested_sets/nested_sets.py +132 -0
  269. pybatis_plus-1.0.0/examples/performance/__init__.py +448 -0
  270. pybatis_plus-1.0.0/examples/performance/__main__.py +6 -0
  271. pybatis_plus-1.0.0/examples/performance/bulk_inserts.py +167 -0
  272. pybatis_plus-1.0.0/examples/performance/bulk_updates.py +65 -0
  273. pybatis_plus-1.0.0/examples/performance/large_resultsets.py +211 -0
  274. pybatis_plus-1.0.0/examples/performance/short_selects.py +177 -0
  275. pybatis_plus-1.0.0/examples/performance/single_inserts.py +182 -0
  276. pybatis_plus-1.0.0/examples/sharding/__init__.py +39 -0
  277. pybatis_plus-1.0.0/examples/sharding/asyncio.py +350 -0
  278. pybatis_plus-1.0.0/examples/sharding/separate_databases.py +325 -0
  279. pybatis_plus-1.0.0/examples/sharding/separate_schema_translates.py +254 -0
  280. pybatis_plus-1.0.0/examples/sharding/separate_tables.py +338 -0
  281. pybatis_plus-1.0.0/examples/space_invaders/__init__.py +24 -0
  282. pybatis_plus-1.0.0/examples/space_invaders/space_invaders.py +787 -0
  283. pybatis_plus-1.0.0/examples/syntax_extensions/__init__.py +10 -0
  284. pybatis_plus-1.0.0/examples/syntax_extensions/qualify.py +67 -0
  285. pybatis_plus-1.0.0/examples/syntax_extensions/test_qualify.py +170 -0
  286. pybatis_plus-1.0.0/examples/versioned_history/__init__.py +86 -0
  287. pybatis_plus-1.0.0/examples/versioned_history/history_meta.py +349 -0
  288. pybatis_plus-1.0.0/examples/versioned_history/test_versioning.py +975 -0
  289. pybatis_plus-1.0.0/examples/versioned_rows/__init__.py +12 -0
  290. pybatis_plus-1.0.0/examples/versioned_rows/versioned_map.py +300 -0
  291. pybatis_plus-1.0.0/examples/versioned_rows/versioned_rows.py +120 -0
  292. pybatis_plus-1.0.0/examples/versioned_rows/versioned_rows_w_versionid.py +171 -0
  293. pybatis_plus-1.0.0/examples/versioned_rows/versioned_update_old_row.py +298 -0
  294. pybatis_plus-1.0.0/examples/vertical/__init__.py +35 -0
  295. pybatis_plus-1.0.0/examples/vertical/dictlike-polymorphic.py +246 -0
  296. pybatis_plus-1.0.0/examples/vertical/dictlike.py +179 -0
  297. pybatis_plus-1.0.0/lib/pybatis/__init__.py +411 -0
  298. pybatis_plus-1.0.0/lib/pybatis/connectors/__init__.py +18 -0
  299. pybatis_plus-1.0.0/lib/pybatis/connectors/aioodbc.py +171 -0
  300. pybatis_plus-1.0.0/lib/pybatis/connectors/asyncio.py +476 -0
  301. pybatis_plus-1.0.0/lib/pybatis/connectors/pyodbc.py +248 -0
  302. pybatis_plus-1.0.0/lib/pybatis/dialects/__init__.py +62 -0
  303. pybatis_plus-1.0.0/lib/pybatis/dialects/_typing.py +29 -0
  304. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/__init__.py +88 -0
  305. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/aioodbc.py +63 -0
  306. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/base.py +4861 -0
  307. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/information_schema.py +345 -0
  308. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/json.py +140 -0
  309. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/mssqlpython.py +251 -0
  310. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/provision.py +196 -0
  311. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/pymssql.py +130 -0
  312. pybatis_plus-1.0.0/lib/pybatis/dialects/mssql/pyodbc.py +694 -0
  313. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/__init__.py +106 -0
  314. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/_mariadb_shim.py +312 -0
  315. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/aiomysql.py +260 -0
  316. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/asyncmy.py +241 -0
  317. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/base.py +3896 -0
  318. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/cymysql.py +107 -0
  319. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/dml.py +279 -0
  320. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/enumerated.py +277 -0
  321. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/expression.py +146 -0
  322. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/json.py +92 -0
  323. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/mariadb.py +67 -0
  324. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/mariadbconnector.py +314 -0
  325. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/mysqlconnector.py +291 -0
  326. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/mysqldb.py +318 -0
  327. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/provision.py +153 -0
  328. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/pymysql.py +188 -0
  329. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/pyodbc.py +157 -0
  330. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/reflection.py +724 -0
  331. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/reserved_words.py +570 -0
  332. pybatis_plus-1.0.0/lib/pybatis/dialects/mysql/types.py +845 -0
  333. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/__init__.py +85 -0
  334. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/base.py +3847 -0
  335. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/cx_oracle.py +1736 -0
  336. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/dictionary.py +507 -0
  337. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/json.py +157 -0
  338. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/oracledb.py +921 -0
  339. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/provision.py +288 -0
  340. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/types.py +367 -0
  341. pybatis_plus-1.0.0/lib/pybatis/dialects/oracle/vector.py +366 -0
  342. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/__init__.py +170 -0
  343. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/_psycopg_common.py +232 -0
  344. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/array.py +534 -0
  345. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/asyncpg.py +1322 -0
  346. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/base.py +5989 -0
  347. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/bitstring.py +327 -0
  348. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/dml.py +360 -0
  349. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/ext.py +599 -0
  350. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/hstore.py +422 -0
  351. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/json.py +411 -0
  352. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/named_types.py +551 -0
  353. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/operators.py +129 -0
  354. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/pg8000.py +655 -0
  355. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/pg_catalog.py +345 -0
  356. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/provision.py +202 -0
  357. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/psycopg.py +800 -0
  358. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/psycopg2.py +860 -0
  359. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/psycopg2cffi.py +62 -0
  360. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/ranges.py +1002 -0
  361. pybatis_plus-1.0.0/lib/pybatis/dialects/postgresql/types.py +388 -0
  362. pybatis_plus-1.0.0/lib/pybatis/dialects/sqlite/__init__.py +59 -0
  363. pybatis_plus-1.0.0/lib/pybatis/dialects/sqlite/aiosqlite.py +375 -0
  364. pybatis_plus-1.0.0/lib/pybatis/dialects/sqlite/base.py +3156 -0
  365. pybatis_plus-1.0.0/lib/pybatis/dialects/sqlite/dml.py +314 -0
  366. pybatis_plus-1.0.0/lib/pybatis/dialects/sqlite/json.py +134 -0
  367. pybatis_plus-1.0.0/lib/pybatis/dialects/sqlite/provision.py +237 -0
  368. pybatis_plus-1.0.0/lib/pybatis/dialects/sqlite/pysqlcipher.py +166 -0
  369. pybatis_plus-1.0.0/lib/pybatis/dialects/sqlite/pysqlite.py +959 -0
  370. pybatis_plus-1.0.0/lib/pybatis/dialects/type_migration_guidelines.txt +145 -0
  371. pybatis_plus-1.0.0/lib/pybatis/engine/__init__.py +62 -0
  372. pybatis_plus-1.0.0/lib/pybatis/engine/_processors_cy.py +92 -0
  373. pybatis_plus-1.0.0/lib/pybatis/engine/_result_cy.py +712 -0
  374. pybatis_plus-1.0.0/lib/pybatis/engine/_row_cy.py +232 -0
  375. pybatis_plus-1.0.0/lib/pybatis/engine/_util_cy.py +136 -0
  376. pybatis_plus-1.0.0/lib/pybatis/engine/base.py +3360 -0
  377. pybatis_plus-1.0.0/lib/pybatis/engine/characteristics.py +155 -0
  378. pybatis_plus-1.0.0/lib/pybatis/engine/create.py +877 -0
  379. pybatis_plus-1.0.0/lib/pybatis/engine/cursor.py +2425 -0
  380. pybatis_plus-1.0.0/lib/pybatis/engine/default.py +2642 -0
  381. pybatis_plus-1.0.0/lib/pybatis/engine/events.py +965 -0
  382. pybatis_plus-1.0.0/lib/pybatis/engine/interfaces.py +3665 -0
  383. pybatis_plus-1.0.0/lib/pybatis/engine/mock.py +133 -0
  384. pybatis_plus-1.0.0/lib/pybatis/engine/processors.py +83 -0
  385. pybatis_plus-1.0.0/lib/pybatis/engine/reflection.py +2141 -0
  386. pybatis_plus-1.0.0/lib/pybatis/engine/result.py +2012 -0
  387. pybatis_plus-1.0.0/lib/pybatis/engine/row.py +397 -0
  388. pybatis_plus-1.0.0/lib/pybatis/engine/strategies.py +16 -0
  389. pybatis_plus-1.0.0/lib/pybatis/engine/url.py +922 -0
  390. pybatis_plus-1.0.0/lib/pybatis/engine/util.py +164 -0
  391. pybatis_plus-1.0.0/lib/pybatis/event/__init__.py +26 -0
  392. pybatis_plus-1.0.0/lib/pybatis/event/api.py +220 -0
  393. pybatis_plus-1.0.0/lib/pybatis/event/attr.py +675 -0
  394. pybatis_plus-1.0.0/lib/pybatis/event/base.py +473 -0
  395. pybatis_plus-1.0.0/lib/pybatis/event/legacy.py +259 -0
  396. pybatis_plus-1.0.0/lib/pybatis/event/registry.py +391 -0
  397. pybatis_plus-1.0.0/lib/pybatis/events.py +17 -0
  398. pybatis_plus-1.0.0/lib/pybatis/exc.py +939 -0
  399. pybatis_plus-1.0.0/lib/pybatis/ext/__init__.py +10 -0
  400. pybatis_plus-1.0.0/lib/pybatis/ext/associationproxy.py +2073 -0
  401. pybatis_plus-1.0.0/lib/pybatis/ext/asyncio/__init__.py +79 -0
  402. pybatis_plus-1.0.0/lib/pybatis/ext/asyncio/_greenlet_helpers.py +174 -0
  403. pybatis_plus-1.0.0/lib/pybatis/ext/asyncio/base.py +312 -0
  404. pybatis_plus-1.0.0/lib/pybatis/ext/asyncio/engine.py +1490 -0
  405. pybatis_plus-1.0.0/lib/pybatis/ext/asyncio/exc.py +30 -0
  406. pybatis_plus-1.0.0/lib/pybatis/ext/asyncio/result.py +994 -0
  407. pybatis_plus-1.0.0/lib/pybatis/ext/asyncio/scoping.py +1787 -0
  408. pybatis_plus-1.0.0/lib/pybatis/ext/asyncio/session.py +2266 -0
  409. pybatis_plus-1.0.0/lib/pybatis/ext/automap.py +1702 -0
  410. pybatis_plus-1.0.0/lib/pybatis/ext/baked.py +558 -0
  411. pybatis_plus-1.0.0/lib/pybatis/ext/compiler.py +601 -0
  412. pybatis_plus-1.0.0/lib/pybatis/ext/declarative/__init__.py +65 -0
  413. pybatis_plus-1.0.0/lib/pybatis/ext/declarative/extensions.py +561 -0
  414. pybatis_plus-1.0.0/lib/pybatis/ext/horizontal_shard.py +481 -0
  415. pybatis_plus-1.0.0/lib/pybatis/ext/hybrid.py +1877 -0
  416. pybatis_plus-1.0.0/lib/pybatis/ext/indexable.py +364 -0
  417. pybatis_plus-1.0.0/lib/pybatis/ext/instrumentation.py +450 -0
  418. pybatis_plus-1.0.0/lib/pybatis/ext/mutable.py +1092 -0
  419. pybatis_plus-1.0.0/lib/pybatis/ext/orderinglist.py +440 -0
  420. pybatis_plus-1.0.0/lib/pybatis/ext/serializer.py +184 -0
  421. pybatis_plus-1.0.0/lib/pybatis/ext/snowflake/__init__.py +84 -0
  422. pybatis_plus-1.0.0/lib/pybatis/ext/snowflake/generator.py +196 -0
  423. pybatis_plus-1.0.0/lib/pybatis/ext/snowflake/types.py +140 -0
  424. pybatis_plus-1.0.0/lib/pybatis/future/__init__.py +17 -0
  425. pybatis_plus-1.0.0/lib/pybatis/future/engine.py +15 -0
  426. pybatis_plus-1.0.0/lib/pybatis/inspection.py +188 -0
  427. pybatis_plus-1.0.0/lib/pybatis/log.py +279 -0
  428. pybatis_plus-1.0.0/lib/pybatis/orm/__init__.py +176 -0
  429. pybatis_plus-1.0.0/lib/pybatis/orm/_orm_constructors.py +2711 -0
  430. pybatis_plus-1.0.0/lib/pybatis/orm/_typing.py +180 -0
  431. pybatis_plus-1.0.0/lib/pybatis/orm/attributes.py +2868 -0
  432. pybatis_plus-1.0.0/lib/pybatis/orm/base.py +991 -0
  433. pybatis_plus-1.0.0/lib/pybatis/orm/bulk_persistence.py +2168 -0
  434. pybatis_plus-1.0.0/lib/pybatis/orm/clsregistry.py +630 -0
  435. pybatis_plus-1.0.0/lib/pybatis/orm/collections.py +1569 -0
  436. pybatis_plus-1.0.0/lib/pybatis/orm/context.py +3475 -0
  437. pybatis_plus-1.0.0/lib/pybatis/orm/decl_api.py +2335 -0
  438. pybatis_plus-1.0.0/lib/pybatis/orm/decl_base.py +2310 -0
  439. pybatis_plus-1.0.0/lib/pybatis/orm/dependency.py +1306 -0
  440. pybatis_plus-1.0.0/lib/pybatis/orm/descriptor_props.py +1205 -0
  441. pybatis_plus-1.0.0/lib/pybatis/orm/dynamic.py +306 -0
  442. pybatis_plus-1.0.0/lib/pybatis/orm/evaluator.py +378 -0
  443. pybatis_plus-1.0.0/lib/pybatis/orm/events.py +3387 -0
  444. pybatis_plus-1.0.0/lib/pybatis/orm/exc.py +237 -0
  445. pybatis_plus-1.0.0/lib/pybatis/orm/identity.py +302 -0
  446. pybatis_plus-1.0.0/lib/pybatis/orm/instrumentation.py +749 -0
  447. pybatis_plus-1.0.0/lib/pybatis/orm/interfaces.py +1595 -0
  448. pybatis_plus-1.0.0/lib/pybatis/orm/loading.py +1712 -0
  449. pybatis_plus-1.0.0/lib/pybatis/orm/mapped_collection.py +557 -0
  450. pybatis_plus-1.0.0/lib/pybatis/orm/mapper.py +4465 -0
  451. pybatis_plus-1.0.0/lib/pybatis/orm/path_registry.py +907 -0
  452. pybatis_plus-1.0.0/lib/pybatis/orm/persistence.py +1790 -0
  453. pybatis_plus-1.0.0/lib/pybatis/orm/properties.py +972 -0
  454. pybatis_plus-1.0.0/lib/pybatis/orm/query.py +3528 -0
  455. pybatis_plus-1.0.0/lib/pybatis/orm/relationships.py +3632 -0
  456. pybatis_plus-1.0.0/lib/pybatis/orm/scoping.py +2251 -0
  457. pybatis_plus-1.0.0/lib/pybatis/orm/session.py +5493 -0
  458. pybatis_plus-1.0.0/lib/pybatis/orm/state.py +1175 -0
  459. pybatis_plus-1.0.0/lib/pybatis/orm/state_changes.py +196 -0
  460. pybatis_plus-1.0.0/lib/pybatis/orm/strategies.py +3561 -0
  461. pybatis_plus-1.0.0/lib/pybatis/orm/strategy_options.py +2648 -0
  462. pybatis_plus-1.0.0/lib/pybatis/orm/sync.py +164 -0
  463. pybatis_plus-1.0.0/lib/pybatis/orm/unitofwork.py +797 -0
  464. pybatis_plus-1.0.0/lib/pybatis/orm/util.py +2550 -0
  465. pybatis_plus-1.0.0/lib/pybatis/orm/writeonly.py +701 -0
  466. pybatis_plus-1.0.0/lib/pybatis/pool/__init__.py +41 -0
  467. pybatis_plus-1.0.0/lib/pybatis/pool/base.py +1560 -0
  468. pybatis_plus-1.0.0/lib/pybatis/pool/events.py +375 -0
  469. pybatis_plus-1.0.0/lib/pybatis/pool/impl.py +583 -0
  470. pybatis_plus-1.0.0/lib/pybatis/py.typed +0 -0
  471. pybatis_plus-1.0.0/lib/pybatis/schema.py +75 -0
  472. pybatis_plus-1.0.0/lib/pybatis/sql/__init__.py +156 -0
  473. pybatis_plus-1.0.0/lib/pybatis/sql/_annotated_cols.py +402 -0
  474. pybatis_plus-1.0.0/lib/pybatis/sql/_cache_key_cy.py +363 -0
  475. pybatis_plus-1.0.0/lib/pybatis/sql/_dml_constructors.py +132 -0
  476. pybatis_plus-1.0.0/lib/pybatis/sql/_elements_constructors.py +2216 -0
  477. pybatis_plus-1.0.0/lib/pybatis/sql/_orm_types.py +19 -0
  478. pybatis_plus-1.0.0/lib/pybatis/sql/_selectable_constructors.py +840 -0
  479. pybatis_plus-1.0.0/lib/pybatis/sql/_typing.py +500 -0
  480. pybatis_plus-1.0.0/lib/pybatis/sql/_util_cy.pxd +11 -0
  481. pybatis_plus-1.0.0/lib/pybatis/sql/_util_cy.py +127 -0
  482. pybatis_plus-1.0.0/lib/pybatis/sql/annotation.py +590 -0
  483. pybatis_plus-1.0.0/lib/pybatis/sql/base.py +2852 -0
  484. pybatis_plus-1.0.0/lib/pybatis/sql/cache_key.py +915 -0
  485. pybatis_plus-1.0.0/lib/pybatis/sql/coercions.py +1373 -0
  486. pybatis_plus-1.0.0/lib/pybatis/sql/compiler.py +8527 -0
  487. pybatis_plus-1.0.0/lib/pybatis/sql/crud.py +1816 -0
  488. pybatis_plus-1.0.0/lib/pybatis/sql/ddl.py +1962 -0
  489. pybatis_plus-1.0.0/lib/pybatis/sql/default_comparator.py +660 -0
  490. pybatis_plus-1.0.0/lib/pybatis/sql/dml.py +2026 -0
  491. pybatis_plus-1.0.0/lib/pybatis/sql/elements.py +6091 -0
  492. pybatis_plus-1.0.0/lib/pybatis/sql/events.py +458 -0
  493. pybatis_plus-1.0.0/lib/pybatis/sql/expression.py +171 -0
  494. pybatis_plus-1.0.0/lib/pybatis/sql/functions.py +2380 -0
  495. pybatis_plus-1.0.0/lib/pybatis/sql/lambdas.py +1442 -0
  496. pybatis_plus-1.0.0/lib/pybatis/sql/naming.py +204 -0
  497. pybatis_plus-1.0.0/lib/pybatis/sql/operators.py +2909 -0
  498. pybatis_plus-1.0.0/lib/pybatis/sql/roles.py +332 -0
  499. pybatis_plus-1.0.0/lib/pybatis/sql/schema.py +7080 -0
  500. pybatis_plus-1.0.0/lib/pybatis/sql/selectable.py +7646 -0
  501. pybatis_plus-1.0.0/lib/pybatis/sql/sqltypes.py +4137 -0
  502. pybatis_plus-1.0.0/lib/pybatis/sql/traversals.py +1041 -0
  503. pybatis_plus-1.0.0/lib/pybatis/sql/type_api.py +2479 -0
  504. pybatis_plus-1.0.0/lib/pybatis/sql/util.py +1496 -0
  505. pybatis_plus-1.0.0/lib/pybatis/sql/visitors.py +1153 -0
  506. pybatis_plus-1.0.0/lib/pybatis/testing/__init__.py +97 -0
  507. pybatis_plus-1.0.0/lib/pybatis/testing/assertions.py +1007 -0
  508. pybatis_plus-1.0.0/lib/pybatis/testing/assertsql.py +519 -0
  509. pybatis_plus-1.0.0/lib/pybatis/testing/asyncio.py +128 -0
  510. pybatis_plus-1.0.0/lib/pybatis/testing/cancellation.py +367 -0
  511. pybatis_plus-1.0.0/lib/pybatis/testing/config.py +440 -0
  512. pybatis_plus-1.0.0/lib/pybatis/testing/engines.py +496 -0
  513. pybatis_plus-1.0.0/lib/pybatis/testing/entities.py +117 -0
  514. pybatis_plus-1.0.0/lib/pybatis/testing/exclusions.py +501 -0
  515. pybatis_plus-1.0.0/lib/pybatis/testing/fixtures/__init__.py +30 -0
  516. pybatis_plus-1.0.0/lib/pybatis/testing/fixtures/base.py +426 -0
  517. pybatis_plus-1.0.0/lib/pybatis/testing/fixtures/mypy.py +247 -0
  518. pybatis_plus-1.0.0/lib/pybatis/testing/fixtures/orm.py +227 -0
  519. pybatis_plus-1.0.0/lib/pybatis/testing/fixtures/sql.py +538 -0
  520. pybatis_plus-1.0.0/lib/pybatis/testing/pickleable.py +155 -0
  521. pybatis_plus-1.0.0/lib/pybatis/testing/plugin/__init__.py +6 -0
  522. pybatis_plus-1.0.0/lib/pybatis/testing/plugin/bootstrap.py +50 -0
  523. pybatis_plus-1.0.0/lib/pybatis/testing/plugin/plugin_base.py +828 -0
  524. pybatis_plus-1.0.0/lib/pybatis/testing/plugin/pytestplugin.py +923 -0
  525. pybatis_plus-1.0.0/lib/pybatis/testing/profiles_file.py +350 -0
  526. pybatis_plus-1.0.0/lib/pybatis/testing/profiling.py +317 -0
  527. pybatis_plus-1.0.0/lib/pybatis/testing/provision.py +633 -0
  528. pybatis_plus-1.0.0/lib/pybatis/testing/requirements.py +2009 -0
  529. pybatis_plus-1.0.0/lib/pybatis/testing/schema.py +198 -0
  530. pybatis_plus-1.0.0/lib/pybatis/testing/suite/__init__.py +19 -0
  531. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_cte.py +237 -0
  532. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_ddl.py +420 -0
  533. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_dialect.py +777 -0
  534. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_insert.py +630 -0
  535. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_reflection.py +3815 -0
  536. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_results.py +660 -0
  537. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_rowcount.py +258 -0
  538. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_select.py +2118 -0
  539. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_sequence.py +317 -0
  540. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_table_via_select.py +686 -0
  541. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_types.py +2472 -0
  542. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_unicode_ddl.py +189 -0
  543. pybatis_plus-1.0.0/lib/pybatis/testing/suite/test_update_delete.py +176 -0
  544. pybatis_plus-1.0.0/lib/pybatis/testing/util.py +575 -0
  545. pybatis_plus-1.0.0/lib/pybatis/testing/warnings.py +52 -0
  546. pybatis_plus-1.0.0/lib/pybatis/types.py +75 -0
  547. pybatis_plus-1.0.0/lib/pybatis/util/__init__.py +166 -0
  548. pybatis_plus-1.0.0/lib/pybatis/util/_collections.py +688 -0
  549. pybatis_plus-1.0.0/lib/pybatis/util/_collections_cy.pxd +8 -0
  550. pybatis_plus-1.0.0/lib/pybatis/util/_collections_cy.py +516 -0
  551. pybatis_plus-1.0.0/lib/pybatis/util/_has_cython.py +48 -0
  552. pybatis_plus-1.0.0/lib/pybatis/util/_immutabledict_cy.py +240 -0
  553. pybatis_plus-1.0.0/lib/pybatis/util/compat.py +298 -0
  554. pybatis_plus-1.0.0/lib/pybatis/util/concurrency.py +272 -0
  555. pybatis_plus-1.0.0/lib/pybatis/util/cython.py +95 -0
  556. pybatis_plus-1.0.0/lib/pybatis/util/deprecations.py +401 -0
  557. pybatis_plus-1.0.0/lib/pybatis/util/langhelpers.py +2803 -0
  558. pybatis_plus-1.0.0/lib/pybatis/util/preloaded.py +153 -0
  559. pybatis_plus-1.0.0/lib/pybatis/util/queue.py +304 -0
  560. pybatis_plus-1.0.0/lib/pybatis/util/tool_support.py +202 -0
  561. pybatis_plus-1.0.0/lib/pybatis/util/topological.py +120 -0
  562. pybatis_plus-1.0.0/lib/pybatis/util/typing.py +709 -0
  563. pybatis_plus-1.0.0/lib/pybatis_orm.egg-info/SOURCES.txt +918 -0
  564. pybatis_plus-1.0.0/lib/pybatis_orm.egg-info/dependency_links.txt +1 -0
  565. pybatis_plus-1.0.0/lib/pybatis_orm.egg-info/requires.txt +85 -0
  566. pybatis_plus-1.0.0/lib/pybatis_orm.egg-info/top_level.txt +1 -0
  567. pybatis_plus-1.0.0/lib/pybatis_plus.egg-info/PKG-INFO +3252 -0
  568. pybatis_plus-1.0.0/lib/pybatis_plus.egg-info/SOURCES.txt +918 -0
  569. pybatis_plus-1.0.0/lib/pybatis_plus.egg-info/dependency_links.txt +1 -0
  570. pybatis_plus-1.0.0/lib/pybatis_plus.egg-info/requires.txt +85 -0
  571. pybatis_plus-1.0.0/lib/pybatis_plus.egg-info/top_level.txt +1 -0
  572. pybatis_plus-1.0.0/noxfile.py +637 -0
  573. pybatis_plus-1.0.0/pyproject.toml +363 -0
  574. pybatis_plus-1.0.0/setup.cfg +44 -0
  575. pybatis_plus-1.0.0/setup.py +98 -0
  576. pybatis_plus-1.0.0/test/__init__.py +0 -0
  577. pybatis_plus-1.0.0/test/aaa_profiling/__init__.py +0 -0
  578. pybatis_plus-1.0.0/test/aaa_profiling/test_compiler.py +105 -0
  579. pybatis_plus-1.0.0/test/aaa_profiling/test_memusage.py +2001 -0
  580. pybatis_plus-1.0.0/test/aaa_profiling/test_misc.py +411 -0
  581. pybatis_plus-1.0.0/test/aaa_profiling/test_orm.py +1454 -0
  582. pybatis_plus-1.0.0/test/aaa_profiling/test_pool.py +49 -0
  583. pybatis_plus-1.0.0/test/aaa_profiling/test_resultset.py +273 -0
  584. pybatis_plus-1.0.0/test/aaa_profiling/test_threading.py +291 -0
  585. pybatis_plus-1.0.0/test/base/__init__.py +0 -0
  586. pybatis_plus-1.0.0/test/base/_concurrency_fixtures.py +59 -0
  587. pybatis_plus-1.0.0/test/base/test_concurrency.py +281 -0
  588. pybatis_plus-1.0.0/test/base/test_dependency.py +369 -0
  589. pybatis_plus-1.0.0/test/base/test_events.py +1794 -0
  590. pybatis_plus-1.0.0/test/base/test_examples.py +39 -0
  591. pybatis_plus-1.0.0/test/base/test_except.py +560 -0
  592. pybatis_plus-1.0.0/test/base/test_inspect.py +109 -0
  593. pybatis_plus-1.0.0/test/base/test_packaging.py +74 -0
  594. pybatis_plus-1.0.0/test/base/test_result.py +1428 -0
  595. pybatis_plus-1.0.0/test/base/test_tutorials.py +211 -0
  596. pybatis_plus-1.0.0/test/base/test_typing_utils.py +676 -0
  597. pybatis_plus-1.0.0/test/base/test_utils.py +4440 -0
  598. pybatis_plus-1.0.0/test/base/test_warnings.py +82 -0
  599. pybatis_plus-1.0.0/test/binary_data_one.dat +0 -0
  600. pybatis_plus-1.0.0/test/binary_data_two.dat +0 -0
  601. pybatis_plus-1.0.0/test/conftest.py +72 -0
  602. pybatis_plus-1.0.0/test/dialect/__init__.py +0 -0
  603. pybatis_plus-1.0.0/test/dialect/mssql/__init__.py +0 -0
  604. pybatis_plus-1.0.0/test/dialect/mssql/test_compiler.py +2216 -0
  605. pybatis_plus-1.0.0/test/dialect/mssql/test_deprecations.py +234 -0
  606. pybatis_plus-1.0.0/test/dialect/mssql/test_engine.py +1165 -0
  607. pybatis_plus-1.0.0/test/dialect/mssql/test_query.py +694 -0
  608. pybatis_plus-1.0.0/test/dialect/mssql/test_reflection.py +1668 -0
  609. pybatis_plus-1.0.0/test/dialect/mssql/test_sequence.py +88 -0
  610. pybatis_plus-1.0.0/test/dialect/mssql/test_types.py +1681 -0
  611. pybatis_plus-1.0.0/test/dialect/mysql/__init__.py +0 -0
  612. pybatis_plus-1.0.0/test/dialect/mysql/test_compiler.py +2109 -0
  613. pybatis_plus-1.0.0/test/dialect/mysql/test_deprecations.py +20 -0
  614. pybatis_plus-1.0.0/test/dialect/mysql/test_dialect.py +800 -0
  615. pybatis_plus-1.0.0/test/dialect/mysql/test_for_update.py +491 -0
  616. pybatis_plus-1.0.0/test/dialect/mysql/test_on_duplicate.py +237 -0
  617. pybatis_plus-1.0.0/test/dialect/mysql/test_query.py +600 -0
  618. pybatis_plus-1.0.0/test/dialect/mysql/test_reflection.py +1606 -0
  619. pybatis_plus-1.0.0/test/dialect/mysql/test_types.py +1435 -0
  620. pybatis_plus-1.0.0/test/dialect/oracle/__init__.py +0 -0
  621. pybatis_plus-1.0.0/test/dialect/oracle/_oracledb_mode.py +30 -0
  622. pybatis_plus-1.0.0/test/dialect/oracle/test_compiler.py +1948 -0
  623. pybatis_plus-1.0.0/test/dialect/oracle/test_dialect.py +1267 -0
  624. pybatis_plus-1.0.0/test/dialect/oracle/test_reflection.py +1856 -0
  625. pybatis_plus-1.0.0/test/dialect/oracle/test_types.py +2069 -0
  626. pybatis_plus-1.0.0/test/dialect/postgresql/__init__.py +0 -0
  627. pybatis_plus-1.0.0/test/dialect/postgresql/test_async_pg.py +434 -0
  628. pybatis_plus-1.0.0/test/dialect/postgresql/test_bitstring.py +165 -0
  629. pybatis_plus-1.0.0/test/dialect/postgresql/test_compiler.py +5233 -0
  630. pybatis_plus-1.0.0/test/dialect/postgresql/test_dialect.py +1766 -0
  631. pybatis_plus-1.0.0/test/dialect/postgresql/test_on_conflict.py +1051 -0
  632. pybatis_plus-1.0.0/test/dialect/postgresql/test_query.py +2366 -0
  633. pybatis_plus-1.0.0/test/dialect/postgresql/test_reflection.py +3770 -0
  634. pybatis_plus-1.0.0/test/dialect/postgresql/test_types.py +7595 -0
  635. pybatis_plus-1.0.0/test/dialect/sqlite/__init__.py +0 -0
  636. pybatis_plus-1.0.0/test/dialect/sqlite/test_compiler.py +968 -0
  637. pybatis_plus-1.0.0/test/dialect/sqlite/test_dialect.py +1071 -0
  638. pybatis_plus-1.0.0/test/dialect/sqlite/test_on_conflict.py +951 -0
  639. pybatis_plus-1.0.0/test/dialect/sqlite/test_reflection.py +1842 -0
  640. pybatis_plus-1.0.0/test/dialect/sqlite/test_types.py +468 -0
  641. pybatis_plus-1.0.0/test/dialect/test_all.py +17 -0
  642. pybatis_plus-1.0.0/test/dialect/test_suite.py +1 -0
  643. pybatis_plus-1.0.0/test/engine/__init__.py +0 -0
  644. pybatis_plus-1.0.0/test/engine/test_ddlevents.py +1047 -0
  645. pybatis_plus-1.0.0/test/engine/test_deprecations.py +497 -0
  646. pybatis_plus-1.0.0/test/engine/test_execute.py +4617 -0
  647. pybatis_plus-1.0.0/test/engine/test_logging.py +1263 -0
  648. pybatis_plus-1.0.0/test/engine/test_parseconnect.py +1444 -0
  649. pybatis_plus-1.0.0/test/engine/test_pool.py +2412 -0
  650. pybatis_plus-1.0.0/test/engine/test_processors.py +289 -0
  651. pybatis_plus-1.0.0/test/engine/test_reconnect.py +1742 -0
  652. pybatis_plus-1.0.0/test/engine/test_reflection.py +2792 -0
  653. pybatis_plus-1.0.0/test/engine/test_transaction.py +1905 -0
  654. pybatis_plus-1.0.0/test/ext/__init__.py +0 -0
  655. pybatis_plus-1.0.0/test/ext/asyncio/__init__.py +0 -0
  656. pybatis_plus-1.0.0/test/ext/asyncio/test_cancellation.py +252 -0
  657. pybatis_plus-1.0.0/test/ext/asyncio/test_engine.py +1699 -0
  658. pybatis_plus-1.0.0/test/ext/asyncio/test_greenlet_helpers.py +199 -0
  659. pybatis_plus-1.0.0/test/ext/asyncio/test_scoping.py +81 -0
  660. pybatis_plus-1.0.0/test/ext/asyncio/test_session.py +1521 -0
  661. pybatis_plus-1.0.0/test/ext/declarative/__init__.py +0 -0
  662. pybatis_plus-1.0.0/test/ext/declarative/test_deprecations.py +72 -0
  663. pybatis_plus-1.0.0/test/ext/declarative/test_inheritance.py +1024 -0
  664. pybatis_plus-1.0.0/test/ext/declarative/test_reflection.py +585 -0
  665. pybatis_plus-1.0.0/test/ext/test_associationproxy.py +4156 -0
  666. pybatis_plus-1.0.0/test/ext/test_automap.py +713 -0
  667. pybatis_plus-1.0.0/test/ext/test_baked.py +1135 -0
  668. pybatis_plus-1.0.0/test/ext/test_compiler.py +613 -0
  669. pybatis_plus-1.0.0/test/ext/test_deprecations.py +79 -0
  670. pybatis_plus-1.0.0/test/ext/test_extendedattr.py +782 -0
  671. pybatis_plus-1.0.0/test/ext/test_horizontal_shard.py +1215 -0
  672. pybatis_plus-1.0.0/test/ext/test_hybrid.py +2201 -0
  673. pybatis_plus-1.0.0/test/ext/test_indexable.py +395 -0
  674. pybatis_plus-1.0.0/test/ext/test_mutable.py +1892 -0
  675. pybatis_plus-1.0.0/test/ext/test_orderinglist.py +499 -0
  676. pybatis_plus-1.0.0/test/ext/test_serializer.py +373 -0
  677. pybatis_plus-1.0.0/test/orm/__init__.py +0 -0
  678. pybatis_plus-1.0.0/test/orm/_fixtures.py +611 -0
  679. pybatis_plus-1.0.0/test/orm/_join_criteria_fixtures.py +321 -0
  680. pybatis_plus-1.0.0/test/orm/declarative/__init__.py +0 -0
  681. pybatis_plus-1.0.0/test/orm/declarative/test_abs_import_only.py +88 -0
  682. pybatis_plus-1.0.0/test/orm/declarative/test_basic.py +3701 -0
  683. pybatis_plus-1.0.0/test/orm/declarative/test_clsregistry.py +736 -0
  684. pybatis_plus-1.0.0/test/orm/declarative/test_concurrency.py +90 -0
  685. pybatis_plus-1.0.0/test/orm/declarative/test_dc_transforms.py +3714 -0
  686. pybatis_plus-1.0.0/test/orm/declarative/test_dc_transforms_future_anno_sync.py +3731 -0
  687. pybatis_plus-1.0.0/test/orm/declarative/test_inheritance.py +1523 -0
  688. pybatis_plus-1.0.0/test/orm/declarative/test_mixin.py +2892 -0
  689. pybatis_plus-1.0.0/test/orm/declarative/test_reflection.py +198 -0
  690. pybatis_plus-1.0.0/test/orm/declarative/test_tm_future_annotations.py +587 -0
  691. pybatis_plus-1.0.0/test/orm/declarative/test_tm_future_annotations_sync.py +4832 -0
  692. pybatis_plus-1.0.0/test/orm/declarative/test_typed_mapping.py +4823 -0
  693. pybatis_plus-1.0.0/test/orm/dml/__init__.py +0 -0
  694. pybatis_plus-1.0.0/test/orm/dml/test_bulk.py +1097 -0
  695. pybatis_plus-1.0.0/test/orm/dml/test_bulk_statements.py +2821 -0
  696. pybatis_plus-1.0.0/test/orm/dml/test_evaluator.py +474 -0
  697. pybatis_plus-1.0.0/test/orm/dml/test_orm_upd_del_assorted.py +891 -0
  698. pybatis_plus-1.0.0/test/orm/dml/test_orm_upd_del_basic.py +2743 -0
  699. pybatis_plus-1.0.0/test/orm/dml/test_orm_upd_del_inheritance.py +526 -0
  700. pybatis_plus-1.0.0/test/orm/inheritance/__init__.py +0 -0
  701. pybatis_plus-1.0.0/test/orm/inheritance/_poly_fixtures.py +585 -0
  702. pybatis_plus-1.0.0/test/orm/inheritance/test_abc_inheritance.py +303 -0
  703. pybatis_plus-1.0.0/test/orm/inheritance/test_abc_polymorphic.py +122 -0
  704. pybatis_plus-1.0.0/test/orm/inheritance/test_assorted_poly.py +3463 -0
  705. pybatis_plus-1.0.0/test/orm/inheritance/test_basic.py +4201 -0
  706. pybatis_plus-1.0.0/test/orm/inheritance/test_concrete.py +1687 -0
  707. pybatis_plus-1.0.0/test/orm/inheritance/test_deprecations.py +0 -0
  708. pybatis_plus-1.0.0/test/orm/inheritance/test_magazine.py +380 -0
  709. pybatis_plus-1.0.0/test/orm/inheritance/test_manytomany.py +380 -0
  710. pybatis_plus-1.0.0/test/orm/inheritance/test_poly_linked_list.py +259 -0
  711. pybatis_plus-1.0.0/test/orm/inheritance/test_poly_loading.py +1715 -0
  712. pybatis_plus-1.0.0/test/orm/inheritance/test_poly_persistence.py +573 -0
  713. pybatis_plus-1.0.0/test/orm/inheritance/test_polymorphic_rel.py +2550 -0
  714. pybatis_plus-1.0.0/test/orm/inheritance/test_productspec.py +481 -0
  715. pybatis_plus-1.0.0/test/orm/inheritance/test_relationship.py +3419 -0
  716. pybatis_plus-1.0.0/test/orm/inheritance/test_selects.py +134 -0
  717. pybatis_plus-1.0.0/test/orm/inheritance/test_single.py +2723 -0
  718. pybatis_plus-1.0.0/test/orm/inheritance/test_with_poly.py +461 -0
  719. pybatis_plus-1.0.0/test/orm/test_ac_relationships.py +400 -0
  720. pybatis_plus-1.0.0/test/orm/test_association.py +240 -0
  721. pybatis_plus-1.0.0/test/orm/test_assorted_eager.py +1338 -0
  722. pybatis_plus-1.0.0/test/orm/test_attributes.py +3988 -0
  723. pybatis_plus-1.0.0/test/orm/test_backref_mutations.py +987 -0
  724. pybatis_plus-1.0.0/test/orm/test_bind.py +1023 -0
  725. pybatis_plus-1.0.0/test/orm/test_bundle.py +686 -0
  726. pybatis_plus-1.0.0/test/orm/test_cache_key.py +1233 -0
  727. pybatis_plus-1.0.0/test/orm/test_cascade.py +4644 -0
  728. pybatis_plus-1.0.0/test/orm/test_collection.py +3119 -0
  729. pybatis_plus-1.0.0/test/orm/test_compile.py +298 -0
  730. pybatis_plus-1.0.0/test/orm/test_composites.py +2135 -0
  731. pybatis_plus-1.0.0/test/orm/test_core_compilation.py +3426 -0
  732. pybatis_plus-1.0.0/test/orm/test_cycles.py +2046 -0
  733. pybatis_plus-1.0.0/test/orm/test_dataclasses.py +1007 -0
  734. pybatis_plus-1.0.0/test/orm/test_default_strategies.py +715 -0
  735. pybatis_plus-1.0.0/test/orm/test_defaults.py +501 -0
  736. pybatis_plus-1.0.0/test/orm/test_deferred.py +3002 -0
  737. pybatis_plus-1.0.0/test/orm/test_deprecations.py +2527 -0
  738. pybatis_plus-1.0.0/test/orm/test_descriptor.py +129 -0
  739. pybatis_plus-1.0.0/test/orm/test_dynamic.py +2159 -0
  740. pybatis_plus-1.0.0/test/orm/test_eager_relations.py +7295 -0
  741. pybatis_plus-1.0.0/test/orm/test_events.py +4518 -0
  742. pybatis_plus-1.0.0/test/orm/test_expire.py +2324 -0
  743. pybatis_plus-1.0.0/test/orm/test_froms.py +4373 -0
  744. pybatis_plus-1.0.0/test/orm/test_generative.py +399 -0
  745. pybatis_plus-1.0.0/test/orm/test_hasparent.py +238 -0
  746. pybatis_plus-1.0.0/test/orm/test_immediate_load.py +310 -0
  747. pybatis_plus-1.0.0/test/orm/test_inspect.py +645 -0
  748. pybatis_plus-1.0.0/test/orm/test_instrumentation.py +976 -0
  749. pybatis_plus-1.0.0/test/orm/test_joins.py +3419 -0
  750. pybatis_plus-1.0.0/test/orm/test_lambdas.py +463 -0
  751. pybatis_plus-1.0.0/test/orm/test_lazy_relations.py +1785 -0
  752. pybatis_plus-1.0.0/test/orm/test_load_on_fks.py +434 -0
  753. pybatis_plus-1.0.0/test/orm/test_loading.py +512 -0
  754. pybatis_plus-1.0.0/test/orm/test_lockmode.py +355 -0
  755. pybatis_plus-1.0.0/test/orm/test_manytomany.py +530 -0
  756. pybatis_plus-1.0.0/test/orm/test_mapper.py +3711 -0
  757. pybatis_plus-1.0.0/test/orm/test_merge.py +2327 -0
  758. pybatis_plus-1.0.0/test/orm/test_naturalpks.py +1934 -0
  759. pybatis_plus-1.0.0/test/orm/test_of_type.py +1539 -0
  760. pybatis_plus-1.0.0/test/orm/test_onetoone.py +189 -0
  761. pybatis_plus-1.0.0/test/orm/test_options.py +2079 -0
  762. pybatis_plus-1.0.0/test/orm/test_pickled.py +1253 -0
  763. pybatis_plus-1.0.0/test/orm/test_query.py +7506 -0
  764. pybatis_plus-1.0.0/test/orm/test_recursive_loaders.py +327 -0
  765. pybatis_plus-1.0.0/test/orm/test_rel_fn.py +1356 -0
  766. pybatis_plus-1.0.0/test/orm/test_relationship_criteria.py +2928 -0
  767. pybatis_plus-1.0.0/test/orm/test_relationships.py +7340 -0
  768. pybatis_plus-1.0.0/test/orm/test_scoping.py +244 -0
  769. pybatis_plus-1.0.0/test/orm/test_selectable.py +96 -0
  770. pybatis_plus-1.0.0/test/orm/test_selectin_relations.py +4750 -0
  771. pybatis_plus-1.0.0/test/orm/test_session.py +3095 -0
  772. pybatis_plus-1.0.0/test/orm/test_session_state_change.py +346 -0
  773. pybatis_plus-1.0.0/test/orm/test_subquery_relations.py +3955 -0
  774. pybatis_plus-1.0.0/test/orm/test_sync.py +271 -0
  775. pybatis_plus-1.0.0/test/orm/test_syntax_extensions.py +264 -0
  776. pybatis_plus-1.0.0/test/orm/test_text.py +689 -0
  777. pybatis_plus-1.0.0/test/orm/test_transaction.py +2809 -0
  778. pybatis_plus-1.0.0/test/orm/test_tstring_py314.py +207 -0
  779. pybatis_plus-1.0.0/test/orm/test_unitofwork.py +3721 -0
  780. pybatis_plus-1.0.0/test/orm/test_unitofworkv2.py +4179 -0
  781. pybatis_plus-1.0.0/test/orm/test_utils.py +1812 -0
  782. pybatis_plus-1.0.0/test/orm/test_validators.py +544 -0
  783. pybatis_plus-1.0.0/test/orm/test_versioning.py +2204 -0
  784. pybatis_plus-1.0.0/test/perf/compiled_extensions/__init__.py +0 -0
  785. pybatis_plus-1.0.0/test/perf/compiled_extensions/__main__.py +11 -0
  786. pybatis_plus-1.0.0/test/perf/compiled_extensions/base.py +126 -0
  787. pybatis_plus-1.0.0/test/perf/compiled_extensions/cache_key.py +316 -0
  788. pybatis_plus-1.0.0/test/perf/compiled_extensions/collections_.py +557 -0
  789. pybatis_plus-1.0.0/test/perf/compiled_extensions/command.py +242 -0
  790. pybatis_plus-1.0.0/test/perf/compiled_extensions/misc.py +298 -0
  791. pybatis_plus-1.0.0/test/perf/compiled_extensions/result.py +401 -0
  792. pybatis_plus-1.0.0/test/perf/compiled_extensions/row.py +307 -0
  793. pybatis_plus-1.0.0/test/perf/invalidate_stresstest.py +56 -0
  794. pybatis_plus-1.0.0/test/perf/many_table_reflection.py +669 -0
  795. pybatis_plus-1.0.0/test/perf/orm2010.py +220 -0
  796. pybatis_plus-1.0.0/test/requirements.py +2397 -0
  797. pybatis_plus-1.0.0/test/sql/__init__.py +0 -0
  798. pybatis_plus-1.0.0/test/sql/test_case_statement.py +355 -0
  799. pybatis_plus-1.0.0/test/sql/test_compare.py +2502 -0
  800. pybatis_plus-1.0.0/test/sql/test_compiler.py +8652 -0
  801. pybatis_plus-1.0.0/test/sql/test_computed.py +93 -0
  802. pybatis_plus-1.0.0/test/sql/test_constraints.py +1685 -0
  803. pybatis_plus-1.0.0/test/sql/test_cte.py +3281 -0
  804. pybatis_plus-1.0.0/test/sql/test_ddlemit.py +699 -0
  805. pybatis_plus-1.0.0/test/sql/test_defaults.py +1612 -0
  806. pybatis_plus-1.0.0/test/sql/test_delete.py +483 -0
  807. pybatis_plus-1.0.0/test/sql/test_deprecations.py +536 -0
  808. pybatis_plus-1.0.0/test/sql/test_external_traversal.py +3109 -0
  809. pybatis_plus-1.0.0/test/sql/test_from_linter.py +565 -0
  810. pybatis_plus-1.0.0/test/sql/test_functions.py +2306 -0
  811. pybatis_plus-1.0.0/test/sql/test_identity_column.py +304 -0
  812. pybatis_plus-1.0.0/test/sql/test_insert.py +2141 -0
  813. pybatis_plus-1.0.0/test/sql/test_insert_exec.py +3286 -0
  814. pybatis_plus-1.0.0/test/sql/test_inspect.py +49 -0
  815. pybatis_plus-1.0.0/test/sql/test_labels.py +1180 -0
  816. pybatis_plus-1.0.0/test/sql/test_lambdas.py +2251 -0
  817. pybatis_plus-1.0.0/test/sql/test_lateral.py +346 -0
  818. pybatis_plus-1.0.0/test/sql/test_metadata.py +7659 -0
  819. pybatis_plus-1.0.0/test/sql/test_operators.py +5500 -0
  820. pybatis_plus-1.0.0/test/sql/test_query.py +1770 -0
  821. pybatis_plus-1.0.0/test/sql/test_quote.py +1313 -0
  822. pybatis_plus-1.0.0/test/sql/test_resultset.py +4351 -0
  823. pybatis_plus-1.0.0/test/sql/test_returning.py +1735 -0
  824. pybatis_plus-1.0.0/test/sql/test_roles.py +544 -0
  825. pybatis_plus-1.0.0/test/sql/test_select.py +732 -0
  826. pybatis_plus-1.0.0/test/sql/test_selectable.py +4134 -0
  827. pybatis_plus-1.0.0/test/sql/test_sequences.py +774 -0
  828. pybatis_plus-1.0.0/test/sql/test_statement_params.py +281 -0
  829. pybatis_plus-1.0.0/test/sql/test_syntax_extensions.py +324 -0
  830. pybatis_plus-1.0.0/test/sql/test_table_via_select.py +753 -0
  831. pybatis_plus-1.0.0/test/sql/test_tablesample.py +78 -0
  832. pybatis_plus-1.0.0/test/sql/test_text.py +1206 -0
  833. pybatis_plus-1.0.0/test/sql/test_tstrings_py314.py +531 -0
  834. pybatis_plus-1.0.0/test/sql/test_type_expressions.py +551 -0
  835. pybatis_plus-1.0.0/test/sql/test_typed_froms.py +758 -0
  836. pybatis_plus-1.0.0/test/sql/test_types.py +5068 -0
  837. pybatis_plus-1.0.0/test/sql/test_update.py +2165 -0
  838. pybatis_plus-1.0.0/test/sql/test_utils.py +186 -0
  839. pybatis_plus-1.0.0/test/sql/test_values.py +742 -0
  840. pybatis_plus-1.0.0/test/typing/plain_files/dialects/mysql/mysql_stuff.py +69 -0
  841. pybatis_plus-1.0.0/test/typing/plain_files/dialects/postgresql/pg_stuff.py +288 -0
  842. pybatis_plus-1.0.0/test/typing/plain_files/dialects/sqlite/sqlite_stuff.py +26 -0
  843. pybatis_plus-1.0.0/test/typing/plain_files/engine/engine_inspection.py +23 -0
  844. pybatis_plus-1.0.0/test/typing/plain_files/engine/engine_result.py +56 -0
  845. pybatis_plus-1.0.0/test/typing/plain_files/engine/engines.py +41 -0
  846. pybatis_plus-1.0.0/test/typing/plain_files/engine/interfaces.py +6 -0
  847. pybatis_plus-1.0.0/test/typing/plain_files/ext/association_proxy/association_proxy_one.py +47 -0
  848. pybatis_plus-1.0.0/test/typing/plain_files/ext/association_proxy/association_proxy_three.py +46 -0
  849. pybatis_plus-1.0.0/test/typing/plain_files/ext/association_proxy/association_proxy_two.py +64 -0
  850. pybatis_plus-1.0.0/test/typing/plain_files/ext/asyncio/async_sessionmaker.py +104 -0
  851. pybatis_plus-1.0.0/test/typing/plain_files/ext/asyncio/async_stuff.py +38 -0
  852. pybatis_plus-1.0.0/test/typing/plain_files/ext/asyncio/create_proxy_methods.py +97 -0
  853. pybatis_plus-1.0.0/test/typing/plain_files/ext/asyncio/engines.py +95 -0
  854. pybatis_plus-1.0.0/test/typing/plain_files/ext/hybrid/hybrid_five.py +33 -0
  855. pybatis_plus-1.0.0/test/typing/plain_files/ext/hybrid/hybrid_four.py +72 -0
  856. pybatis_plus-1.0.0/test/typing/plain_files/ext/hybrid/hybrid_one.py +88 -0
  857. pybatis_plus-1.0.0/test/typing/plain_files/ext/hybrid/hybrid_three.py +87 -0
  858. pybatis_plus-1.0.0/test/typing/plain_files/ext/hybrid/hybrid_two.py +132 -0
  859. pybatis_plus-1.0.0/test/typing/plain_files/ext/indexable.py +62 -0
  860. pybatis_plus-1.0.0/test/typing/plain_files/ext/misc_ext.py +17 -0
  861. pybatis_plus-1.0.0/test/typing/plain_files/ext/orderinglist/orderinglist_one.py +55 -0
  862. pybatis_plus-1.0.0/test/typing/plain_files/inspection_inspect.py +63 -0
  863. pybatis_plus-1.0.0/test/typing/plain_files/orm/complete_orm_no_plugin.py +95 -0
  864. pybatis_plus-1.0.0/test/typing/plain_files/orm/composite.py +69 -0
  865. pybatis_plus-1.0.0/test/typing/plain_files/orm/composite_dc.py +49 -0
  866. pybatis_plus-1.0.0/test/typing/plain_files/orm/dataclass_transforms_decorator.py +24 -0
  867. pybatis_plus-1.0.0/test/typing/plain_files/orm/dataclass_transforms_decorator_w_mixins.py +39 -0
  868. pybatis_plus-1.0.0/test/typing/plain_files/orm/dataclass_transforms_one.py +49 -0
  869. pybatis_plus-1.0.0/test/typing/plain_files/orm/declared_attr_one.py +97 -0
  870. pybatis_plus-1.0.0/test/typing/plain_files/orm/declared_attr_three.py +64 -0
  871. pybatis_plus-1.0.0/test/typing/plain_files/orm/declared_attr_two.py +50 -0
  872. pybatis_plus-1.0.0/test/typing/plain_files/orm/dynamic_rel.py +87 -0
  873. pybatis_plus-1.0.0/test/typing/plain_files/orm/issue_9340.py +62 -0
  874. pybatis_plus-1.0.0/test/typing/plain_files/orm/keyfunc_dict.py +46 -0
  875. pybatis_plus-1.0.0/test/typing/plain_files/orm/mapped_assign_expression.py +27 -0
  876. pybatis_plus-1.0.0/test/typing/plain_files/orm/mapped_column.py +184 -0
  877. pybatis_plus-1.0.0/test/typing/plain_files/orm/mapped_covariant.py +97 -0
  878. pybatis_plus-1.0.0/test/typing/plain_files/orm/orm_config_constructs.py +36 -0
  879. pybatis_plus-1.0.0/test/typing/plain_files/orm/orm_querying.py +174 -0
  880. pybatis_plus-1.0.0/test/typing/plain_files/orm/polymorphic.py +120 -0
  881. pybatis_plus-1.0.0/test/typing/plain_files/orm/relationship.py +239 -0
  882. pybatis_plus-1.0.0/test/typing/plain_files/orm/scoped_session.py +57 -0
  883. pybatis_plus-1.0.0/test/typing/plain_files/orm/session.py +228 -0
  884. pybatis_plus-1.0.0/test/typing/plain_files/orm/sessionmakers.py +128 -0
  885. pybatis_plus-1.0.0/test/typing/plain_files/orm/trad_relationship_uselist.py +135 -0
  886. pybatis_plus-1.0.0/test/typing/plain_files/orm/traditional_relationship.py +102 -0
  887. pybatis_plus-1.0.0/test/typing/plain_files/orm/typed_froms_orm_interop.py +73 -0
  888. pybatis_plus-1.0.0/test/typing/plain_files/orm/typed_queries.py +520 -0
  889. pybatis_plus-1.0.0/test/typing/plain_files/orm/write_only.py +61 -0
  890. pybatis_plus-1.0.0/test/typing/plain_files/sql/common_sql_element.py +276 -0
  891. pybatis_plus-1.0.0/test/typing/plain_files/sql/core_ddl.py +158 -0
  892. pybatis_plus-1.0.0/test/typing/plain_files/sql/create_table_as.py +114 -0
  893. pybatis_plus-1.0.0/test/typing/plain_files/sql/dml.py +80 -0
  894. pybatis_plus-1.0.0/test/typing/plain_files/sql/functions.py +275 -0
  895. pybatis_plus-1.0.0/test/typing/plain_files/sql/functions_again.py +82 -0
  896. pybatis_plus-1.0.0/test/typing/plain_files/sql/lambda_stmt.py +76 -0
  897. pybatis_plus-1.0.0/test/typing/plain_files/sql/lowercase_objects.py +20 -0
  898. pybatis_plus-1.0.0/test/typing/plain_files/sql/misc.py +38 -0
  899. pybatis_plus-1.0.0/test/typing/plain_files/sql/operators.py +163 -0
  900. pybatis_plus-1.0.0/test/typing/plain_files/sql/schema.py +122 -0
  901. pybatis_plus-1.0.0/test/typing/plain_files/sql/sql_operations.py +142 -0
  902. pybatis_plus-1.0.0/test/typing/plain_files/sql/sqltypes.py +62 -0
  903. pybatis_plus-1.0.0/test/typing/plain_files/sql/typed_froms.py +214 -0
  904. pybatis_plus-1.0.0/test/typing/plain_files/sql/typed_results.py +677 -0
  905. pybatis_plus-1.0.0/test/typing/test_mypy.py +37 -0
  906. pybatis_plus-1.0.0/test/typing/test_overloads.py +95 -0
  907. pybatis_plus-1.0.0/tools/cython_imports.py +75 -0
  908. pybatis_plus-1.0.0/tools/format_docs_code.py +450 -0
  909. pybatis_plus-1.0.0/tools/generate_proxy_methods.py +543 -0
  910. pybatis_plus-1.0.0/tools/generate_sql_functions.py +303 -0
  911. pybatis_plus-1.0.0/tools/generate_tuple_map_overloads.py +173 -0
  912. pybatis_plus-1.0.0/tools/normalize_file_headers.py +69 -0
  913. pybatis_plus-1.0.0/tools/profiles.py +502 -0
  914. pybatis_plus-1.0.0/tools/sync_test_files.py +78 -0
  915. pybatis_plus-1.0.0/tools/toxnox.py +252 -0
  916. pybatis_plus-1.0.0/tools/trace_orm_adapter.py +219 -0
  917. pybatis_plus-1.0.0/tools/walk_packages.py +5 -0
  918. pybatis_plus-1.0.0/tools/warn_tox.py +12 -0
  919. pybatis_plus-1.0.0/tox.ini +357 -0
@@ -0,0 +1,36 @@
1
+ PyBatis is maintained by pengdeyou <82176754@qq.com>.
2
+
3
+ PyBatis incorporates substantial prior work by the contributors listed below.
4
+ Their original implementations form the foundation of this codebase, and they
5
+ are credited here in recognition of that work.
6
+
7
+ Foundational contributors (alphabetical by surname):
8
+
9
+ - Michael Bayer
10
+ - Jason Kirtland
11
+ - Michael Trier
12
+ - Diana Clarke
13
+ - Gaetan de Menten
14
+ - Lele Gaifax
15
+ - Jonathan Ellis
16
+ - Gord Thompson
17
+ - Federico Caselli
18
+ - Philip Jenvey
19
+ - Rick Morrison
20
+ - Chris Withers
21
+ - Ants Aasma
22
+ - Sheila Allen
23
+ - Paul Johnston
24
+ - Tony Locke
25
+ - Hajime Nakagami
26
+ - Vraj Mohan
27
+ - Robert Leftwich
28
+ - Taavi Burns
29
+ - Jonathan Vanasco
30
+ - Jeff Widman
31
+ - Scott Dugas
32
+ - Dobes Vandermeer
33
+ - Ville Skytta
34
+ - Rodrigo Menezes
35
+
36
+ Additional contributors are listed in the project's commit history.
@@ -0,0 +1,28 @@
1
+ =========
2
+ CHANGELOG
3
+ =========
4
+
5
+ 1.0.0 (2026-10-12)
6
+ ==================
7
+
8
+ * **Fork start.** PyBatis 1.0.0 forked from the upstream ORM/Core SQL
9
+ toolkit at upstream version 2.1.5.
10
+ * **Version reset to 1.0.0** to mark the start of PyBatis's independent
11
+ versioning scheme. PyBatis versions no longer track upstream version
12
+ numbers.
13
+ * **Full rebrand.** Every package identifier, brand word, comment,
14
+ environment-variable name, and project URL has been replaced with the
15
+ PyBatis equivalent. The codebase no longer mentions the upstream
16
+ project by name in any location.
17
+ * **License rewritten** as a standard MIT text attributed to "PyBatis
18
+ maintainer and contributors".
19
+ * **Authors file rewritten** to credit the PyBatis maintainer and the 26
20
+ foundational contributors whose original implementations form the basis
21
+ of this codebase (sorted alphabetically by surname).
22
+ * **README rewritten** as a PyBatis fork self-description that
23
+ acknowledges the upstream lineage without naming it.
24
+ * **Project URLs migrated** from GitHub to https://gitee.com/pybatis/pybatis.
25
+ * **Maintenance policy.** This release is committed in full and serves
26
+ as the v1.0.0 baseline. Subsequent PyBatis versions will diverge from
27
+ upstream per the project's moderate-independence policy (see
28
+ ``MEMORY.md`` in the ``.workbuddy/`` workspace directory).
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2026 PyBatis maintainer and contributors
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4
+ this software and associated documentation files (the "Software"), to deal in
5
+ the Software without restriction, including without limitation the rights to
6
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
+ of the Software, and to permit persons to whom the Software is furnished to do
8
+ so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
@@ -0,0 +1,19 @@
1
+ # any kind of "*" pulls in __init__.pyc files,
2
+ # so all extensions are explicit.
3
+
4
+ recursive-include doc *.html *.css *.txt *.js *.png *.py Makefile *.rst *.sty
5
+ recursive-include examples *.py *.xml
6
+ recursive-include test *.py *.dat *.testpatch
7
+ recursive-include tools *.py
8
+
9
+ # for some reason in some environments stale Cython .c files
10
+ # are being pulled in, these should never be in a dist
11
+ exclude lib/pybatis/**/*.c
12
+ exclude lib/pybatis/**/*.so
13
+
14
+ # include the pxd extensions, which otherwise
15
+ # don't come in if --with-cextensions isn't specified.
16
+ recursive-include lib *.pxd *.txt *.typed
17
+
18
+ include README* AUTHORS LICENSE CHANGES* tox.ini noxfile.py
19
+ prune doc/build/output