psqlpy 0.11.1__tar.gz → 0.11.3__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.
- {psqlpy-0.11.1 → psqlpy-0.11.3}/.github/workflows/release.yml +3 -3
- {psqlpy-0.11.1 → psqlpy-0.11.3}/.github/workflows/test.yaml +1 -1
- {psqlpy-0.11.1 → psqlpy-0.11.3}/.pre-commit-config.yaml +3 -1
- {psqlpy-0.11.1 → psqlpy-0.11.3}/Cargo.lock +380 -326
- psqlpy-0.11.3/Cargo.toml +65 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/PKG-INFO +1 -1
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/.vuepress/sidebar.ts +1 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/connection.md +1 -1
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/results.md +22 -2
- psqlpy-0.11.3/docs/usage/frameworks/panther.md +48 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/_internal/__init__.pyi +107 -12
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/conftest.py +45 -38
- psqlpy-0.11.3/python/tests/test_query_results.py +76 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_value_converter.py +29 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/connection/impls.rs +173 -81
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/connection/structs.rs +2 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/connection/traits.rs +1 -2
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/common.rs +86 -55
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/connection.rs +18 -7
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/connection_pool.rs +6 -2
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/connection_pool_builder.rs +1 -1
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/cursor.rs +12 -9
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/listener/core.rs +9 -3
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/listener/structs.rs +1 -1
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/prepared_statement.rs +4 -3
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/transaction.rs +60 -6
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/extra_types.rs +1 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/query_result.rs +58 -16
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/row_factories.rs +7 -4
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/statement/cache.rs +6 -7
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/statement/mod.rs +1 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/statement/parameters.rs +21 -16
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/statement/query.rs +7 -6
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/statement/statement.rs +13 -7
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/statement/statement_builder.rs +35 -33
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/transaction/impls.rs +8 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/additional_types.rs +100 -115
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/consts.rs +2 -5
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/dto/converter_impls.rs +5 -5
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/dto/funcs.rs +2 -1
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/from_python.rs +8 -9
- psqlpy-0.11.3/src/value_converter/models/decimal.rs +42 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/models/interval.rs +16 -7
- psqlpy-0.11.3/src/value_converter/models/serde_value.rs +194 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/models/uuid.rs +13 -4
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/to_python.rs +150 -136
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/traits.rs +2 -0
- psqlpy-0.11.1/Cargo.toml +0 -65
- psqlpy-0.11.1/src/value_converter/models/decimal.rs +0 -30
- psqlpy-0.11.1/src/value_converter/models/serde_value.rs +0 -178
- {psqlpy-0.11.1 → psqlpy-0.11.3}/.github/actions/setup_postgres/action.yaml +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/.github/pull_request_template.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/.github/workflows/release_docs.yaml +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/.gitignore +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/LICENSE +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/README.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/.vuepress/config.ts +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/.vuepress/public/logo.png +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/.vuepress/styles/config.scss +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/.vuepress/styles/index.scss +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/.vuepress/styles/palette.scss +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/README.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/benchmarks.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/components_overview.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/connection_pool.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/connection_pool_builder.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/cursor.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/exceptions.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/listener.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/prepared_statement.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/components/transaction.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/contribute.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/external_connection_pools.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/faq.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/integrations/opentelemetry.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/integrations/taskiq.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/introduction/components_overview.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/introduction/introduction.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/introduction/lets_start.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/frameworks/aiohttp.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/frameworks/blacksheep.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/frameworks/fastapi.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/frameworks/frameworks.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/frameworks/litestar.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/frameworks/robyn.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/parameters.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/row_factories/predefined_row_factories.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/row_factories/row_factories.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/types/advanced_type_usage.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/types/array_types.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/types/extra_types.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/types/supported_types.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/types/types.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/docs/usage/usage.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/examples/aiohttp/start_example.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/examples/fastapi/advanced_example.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/examples/fastapi/start_example.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/package.json +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/pnpm-lock.yaml +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/.gitignore +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/.pre-commit-config.yaml +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/Dockerfile +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/README.md +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/alembic.ini +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/poetry.lock +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/__init__.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/api/__init__.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/api/piccolo.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/api/plain_queries.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/app.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/helpers.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/lifecycle.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/migrations/README +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/migrations/env.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/migrations/script.py.mako +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/migrations/versions/06d989926550_basic_user_table.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/migrations/versions/d162c084f522_big_af_table.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/mocker.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/models/__init__.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/models/piccolo.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/models/sqlalchemy.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/piccolo_conf.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/psqlpy_stress/settings.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/psqlpy-stress/pyproject.toml +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/pyproject.toml +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/__init__.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/_internal/exceptions.pyi +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/_internal/extra_types.pyi +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/_internal/row_factories.pyi +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/exceptions.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/extra_types.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/py.typed +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/psqlpy/row_factories.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/__init__.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/helpers.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_binary_copy.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_connection.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_connection_pool.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_connection_pool_builder.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_cursor.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_data/MTcars.parquet +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_kwargs_parameters.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_listener.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_row_factories.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_ssl_mode.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/python/tests/test_transaction.py +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/common.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/connection/mod.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/listener/mod.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/mod.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/driver/utils.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/exceptions/mod.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/exceptions/python_errors.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/exceptions/rust_errors.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/format_helpers.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/lib.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/options.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/runtime.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/statement/utils.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/transaction/mod.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/transaction/structs.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/dto/enums.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/dto/impls.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/dto/mod.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/mod.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/models/mod.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/src/value_converter/utils.rs +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/tox.ini +0 -0
- {psqlpy-0.11.1 → psqlpy-0.11.3}/tsconfig.json +0 -0
|
@@ -25,7 +25,7 @@ jobs:
|
|
|
25
25
|
uses: PyO3/maturin-action@v1
|
|
26
26
|
with:
|
|
27
27
|
target: ${{ matrix.target }}
|
|
28
|
-
args: --release --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
|
|
28
|
+
args: --release --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11
|
|
29
29
|
sccache: 'true'
|
|
30
30
|
manylinux: auto
|
|
31
31
|
before-script-linux: |
|
|
@@ -112,7 +112,7 @@ jobs:
|
|
|
112
112
|
uses: PyO3/maturin-action@v1
|
|
113
113
|
with:
|
|
114
114
|
target: ${{ matrix.target }}
|
|
115
|
-
args: --release --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
|
|
115
|
+
args: --release --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11
|
|
116
116
|
sccache: 'true'
|
|
117
117
|
- name: Upload wheels
|
|
118
118
|
uses: actions/upload-artifact@v4
|
|
@@ -168,7 +168,7 @@ jobs:
|
|
|
168
168
|
uses: messense/maturin-action@v1
|
|
169
169
|
with:
|
|
170
170
|
target: ${{ matrix.target }}
|
|
171
|
-
args: --release --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
|
|
171
|
+
args: --release --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10 pypy3.11
|
|
172
172
|
manylinux: musllinux_1_2
|
|
173
173
|
- name: Upload wheels
|
|
174
174
|
uses: actions/upload-artifact@v4
|
|
@@ -30,7 +30,7 @@ jobs:
|
|
|
30
30
|
- uses: actions-rs/clippy-check@v1
|
|
31
31
|
with:
|
|
32
32
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
33
|
-
args: -p psqlpy --all-features -- -W clippy::all -W clippy::pedantic
|
|
33
|
+
args: -p psqlpy --all-features -- -W clippy::all -W clippy::pedantic -D warnings
|
|
34
34
|
pytest:
|
|
35
35
|
name: ${{matrix.job.os}}-${{matrix.py_version}}-${{ matrix.postgres_version }}
|
|
36
36
|
strategy:
|
|
@@ -3,7 +3,7 @@ ci:
|
|
|
3
3
|
|
|
4
4
|
repos:
|
|
5
5
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
6
|
-
rev:
|
|
6
|
+
rev: v5.0.0
|
|
7
7
|
hooks:
|
|
8
8
|
- id: trailing-whitespace
|
|
9
9
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
|
@@ -58,6 +58,8 @@ repos:
|
|
|
58
58
|
- clippy::all
|
|
59
59
|
- -W
|
|
60
60
|
- clippy::pedantic
|
|
61
|
+
- -D
|
|
62
|
+
- warnings
|
|
61
63
|
|
|
62
64
|
- id: check
|
|
63
65
|
types:
|