psqlpy 0.11.4__tar.gz → 0.11.5__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.

Potentially problematic release.


This version of psqlpy might be problematic. Click here for more details.

Files changed (166) hide show
  1. {psqlpy-0.11.4 → psqlpy-0.11.5}/Cargo.lock +1 -1
  2. {psqlpy-0.11.4 → psqlpy-0.11.5}/Cargo.toml +1 -1
  3. {psqlpy-0.11.4 → psqlpy-0.11.5}/PKG-INFO +1 -1
  4. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/_internal/__init__.pyi +0 -7
  5. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/cursor.rs +10 -0
  6. {psqlpy-0.11.4 → psqlpy-0.11.5}/.github/actions/setup_postgres/action.yaml +0 -0
  7. {psqlpy-0.11.4 → psqlpy-0.11.5}/.github/pull_request_template.md +0 -0
  8. {psqlpy-0.11.4 → psqlpy-0.11.5}/.github/workflows/release.yml +0 -0
  9. {psqlpy-0.11.4 → psqlpy-0.11.5}/.github/workflows/release_docs.yaml +0 -0
  10. {psqlpy-0.11.4 → psqlpy-0.11.5}/.github/workflows/test.yaml +0 -0
  11. {psqlpy-0.11.4 → psqlpy-0.11.5}/.gitignore +0 -0
  12. {psqlpy-0.11.4 → psqlpy-0.11.5}/.pre-commit-config.yaml +0 -0
  13. {psqlpy-0.11.4 → psqlpy-0.11.5}/LICENSE +0 -0
  14. {psqlpy-0.11.4 → psqlpy-0.11.5}/README.md +0 -0
  15. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/.vuepress/config.ts +0 -0
  16. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/.vuepress/public/logo.png +0 -0
  17. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/.vuepress/sidebar.ts +0 -0
  18. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/.vuepress/styles/config.scss +0 -0
  19. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/.vuepress/styles/index.scss +0 -0
  20. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/.vuepress/styles/palette.scss +0 -0
  21. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/README.md +0 -0
  22. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/benchmarks.md +0 -0
  23. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/components_overview.md +0 -0
  24. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/connection.md +0 -0
  25. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/connection_pool.md +0 -0
  26. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/connection_pool_builder.md +0 -0
  27. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/cursor.md +0 -0
  28. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/exceptions.md +0 -0
  29. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/listener.md +0 -0
  30. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/prepared_statement.md +0 -0
  31. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/results.md +0 -0
  32. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/components/transaction.md +0 -0
  33. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/contribute.md +0 -0
  34. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/external_connection_pools.md +0 -0
  35. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/faq.md +0 -0
  36. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/integrations/opentelemetry.md +0 -0
  37. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/integrations/taskiq.md +0 -0
  38. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/introduction/components_overview.md +0 -0
  39. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/introduction/introduction.md +0 -0
  40. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/introduction/lets_start.md +0 -0
  41. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/frameworks/aiohttp.md +0 -0
  42. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/frameworks/blacksheep.md +0 -0
  43. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/frameworks/fastapi.md +0 -0
  44. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/frameworks/frameworks.md +0 -0
  45. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/frameworks/litestar.md +0 -0
  46. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/frameworks/panther.md +0 -0
  47. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/frameworks/robyn.md +0 -0
  48. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/parameters.md +0 -0
  49. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/row_factories/predefined_row_factories.md +0 -0
  50. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/row_factories/row_factories.md +0 -0
  51. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/types/advanced_type_usage.md +0 -0
  52. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/types/array_types.md +0 -0
  53. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/types/extra_types.md +0 -0
  54. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/types/supported_types.md +0 -0
  55. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/types/types.md +0 -0
  56. {psqlpy-0.11.4 → psqlpy-0.11.5}/docs/usage/usage.md +0 -0
  57. {psqlpy-0.11.4 → psqlpy-0.11.5}/examples/aiohttp/start_example.py +0 -0
  58. {psqlpy-0.11.4 → psqlpy-0.11.5}/examples/fastapi/advanced_example.py +0 -0
  59. {psqlpy-0.11.4 → psqlpy-0.11.5}/examples/fastapi/start_example.py +0 -0
  60. {psqlpy-0.11.4 → psqlpy-0.11.5}/package.json +0 -0
  61. {psqlpy-0.11.4 → psqlpy-0.11.5}/pnpm-lock.yaml +0 -0
  62. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/.gitignore +0 -0
  63. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/.pre-commit-config.yaml +0 -0
  64. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/Dockerfile +0 -0
  65. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/README.md +0 -0
  66. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/alembic.ini +0 -0
  67. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/poetry.lock +0 -0
  68. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/__init__.py +0 -0
  69. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/api/__init__.py +0 -0
  70. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/api/piccolo.py +0 -0
  71. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/api/plain_queries.py +0 -0
  72. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/app.py +0 -0
  73. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/helpers.py +0 -0
  74. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/lifecycle.py +0 -0
  75. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/migrations/README +0 -0
  76. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/migrations/env.py +0 -0
  77. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/migrations/script.py.mako +0 -0
  78. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/migrations/versions/06d989926550_basic_user_table.py +0 -0
  79. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/migrations/versions/d162c084f522_big_af_table.py +0 -0
  80. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/mocker.py +0 -0
  81. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/models/__init__.py +0 -0
  82. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/models/piccolo.py +0 -0
  83. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/models/sqlalchemy.py +0 -0
  84. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/piccolo_conf.py +0 -0
  85. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/psqlpy_stress/settings.py +0 -0
  86. {psqlpy-0.11.4 → psqlpy-0.11.5}/psqlpy-stress/pyproject.toml +0 -0
  87. {psqlpy-0.11.4 → psqlpy-0.11.5}/pyproject.toml +0 -0
  88. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/__init__.py +0 -0
  89. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/_internal/exceptions.pyi +0 -0
  90. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/_internal/extra_types.pyi +0 -0
  91. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/_internal/row_factories.pyi +0 -0
  92. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/exceptions.py +0 -0
  93. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/extra_types.py +0 -0
  94. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/py.typed +0 -0
  95. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/psqlpy/row_factories.py +0 -0
  96. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/__init__.py +0 -0
  97. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/conftest.py +0 -0
  98. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/helpers.py +0 -0
  99. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_binary_copy.py +0 -0
  100. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_connection.py +0 -0
  101. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_connection_pool.py +0 -0
  102. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_connection_pool_builder.py +0 -0
  103. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_cursor.py +0 -0
  104. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_data/MTcars.parquet +0 -0
  105. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_kwargs_parameters.py +0 -0
  106. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_listener.py +0 -0
  107. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_query_results.py +0 -0
  108. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_row_factories.py +0 -0
  109. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_ssl_mode.py +0 -0
  110. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_transaction.py +0 -0
  111. {psqlpy-0.11.4 → psqlpy-0.11.5}/python/tests/test_value_converter.py +0 -0
  112. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/common.rs +0 -0
  113. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/connection/impls.rs +0 -0
  114. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/connection/mod.rs +0 -0
  115. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/connection/structs.rs +0 -0
  116. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/connection/traits.rs +0 -0
  117. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/common.rs +0 -0
  118. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/connection.rs +0 -0
  119. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/connection_pool.rs +0 -0
  120. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/connection_pool_builder.rs +0 -0
  121. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/listener/core.rs +0 -0
  122. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/listener/mod.rs +0 -0
  123. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/listener/structs.rs +0 -0
  124. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/mod.rs +0 -0
  125. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/prepared_statement.rs +0 -0
  126. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/transaction.rs +0 -0
  127. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/driver/utils.rs +0 -0
  128. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/exceptions/mod.rs +0 -0
  129. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/exceptions/python_errors.rs +0 -0
  130. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/exceptions/rust_errors.rs +0 -0
  131. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/extra_types.rs +0 -0
  132. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/format_helpers.rs +0 -0
  133. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/lib.rs +0 -0
  134. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/options.rs +0 -0
  135. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/query_result.rs +0 -0
  136. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/row_factories.rs +0 -0
  137. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/runtime.rs +0 -0
  138. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/statement/cache.rs +0 -0
  139. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/statement/mod.rs +0 -0
  140. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/statement/parameters.rs +0 -0
  141. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/statement/query.rs +0 -0
  142. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/statement/statement.rs +0 -0
  143. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/statement/statement_builder.rs +0 -0
  144. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/statement/utils.rs +0 -0
  145. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/transaction/impls.rs +0 -0
  146. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/transaction/mod.rs +0 -0
  147. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/transaction/structs.rs +0 -0
  148. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/additional_types.rs +0 -0
  149. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/consts.rs +0 -0
  150. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/dto/converter_impls.rs +0 -0
  151. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/dto/enums.rs +0 -0
  152. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/dto/funcs.rs +0 -0
  153. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/dto/impls.rs +0 -0
  154. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/dto/mod.rs +0 -0
  155. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/from_python.rs +0 -0
  156. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/mod.rs +0 -0
  157. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/models/decimal.rs +0 -0
  158. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/models/interval.rs +0 -0
  159. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/models/mod.rs +0 -0
  160. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/models/serde_value.rs +0 -0
  161. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/models/uuid.rs +0 -0
  162. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/to_python.rs +0 -0
  163. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/traits.rs +0 -0
  164. {psqlpy-0.11.4 → psqlpy-0.11.5}/src/value_converter/utils.rs +0 -0
  165. {psqlpy-0.11.4 → psqlpy-0.11.5}/tox.ini +0 -0
  166. {psqlpy-0.11.4 → psqlpy-0.11.5}/tsconfig.json +0 -0
@@ -992,7 +992,7 @@ dependencies = [
992
992
 
993
993
  [[package]]
994
994
  name = "psqlpy"
995
- version = "0.11.4"
995
+ version = "0.11.5"
996
996
  dependencies = [
997
997
  "byteorder",
998
998
  "bytes",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "psqlpy"
3
- version = "0.11.4"
3
+ version = "0.11.5"
4
4
  edition = "2021"
5
5
  readme = "README.md"
6
6
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: psqlpy
3
- Version: 0.11.4
3
+ Version: 0.11.5
4
4
  Classifier: Typing :: Typed
5
5
  Classifier: Topic :: Database
6
6
  Classifier: Development Status :: 4 - Beta
@@ -308,15 +308,8 @@ class Cursor:
308
308
  """
309
309
 
310
310
  array_size: int
311
- cursor_name: str
312
311
  querystring: str
313
312
  parameters: ParamsT = None
314
- prepared: bool | None
315
- conn_dbname: str | None
316
- user: str | None
317
- host_addrs: list[str]
318
- hosts: list[str]
319
- ports: list[int]
320
313
 
321
314
  def __aiter__(self: Self) -> Self: ...
322
315
  async def __anext__(self: Self) -> QueryResult: ...
@@ -73,6 +73,16 @@ impl Drop for Cursor {
73
73
 
74
74
  #[pymethods]
75
75
  impl Cursor {
76
+ #[getter]
77
+ fn get_querystring(&self) -> Option<String> {
78
+ self.querystring.clone()
79
+ }
80
+
81
+ #[getter]
82
+ fn get_parameters(&self) -> Option<Py<PyAny>> {
83
+ self.parameters.clone()
84
+ }
85
+
76
86
  #[getter]
77
87
  fn get_array_size(&self) -> i32 {
78
88
  self.array_size
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes