A fast and async SQL database wrapper for Python, with support for MySQL, PostgreSQL, SQLite and MS SQL Server.
MIT License
Bot releases are visible (Hide)
Changes in this Release
Merge pull request #74 from carlos-rian/ci/add-httpx
Published by github-actions[bot] 12 months ago
Changes in this Release
Merge pull request #73 from carlos-rian/ci/add-httpx
try use 0.1.49 version
Published by github-actions[bot] 12 months ago
Changes in this Release
Merge pull request #68 from carlos-rian/release/2023-10-25
Published by github-actions[bot] about 1 year ago
Changes in this Release
Merge pull request #64 from carlos-rian/deps/update-2023-07-22
Dependency update
Published by github-actions[bot] over 1 year ago
Changes in this Release
Merge pull request #50 from carlos-rian/deps/update-05-15-23
Published by github-actions[bot] over 1 year ago
Changes in this Release
Merge pull request #41 from carlos-rian/update-deps-2022-04-21
Changes:
Published by github-actions[bot] over 1 year ago
Changes in this Release
Merge pull request #40 from carlos-rian/release/update-dep-2023-04-06
Update openssl to the latest version
Published by github-actions[bot] over 1 year ago
Changes in this Release
Merge pull request #39 from carlos-rian/release/update-deps
update the lib version to the latest.
Published by github-actions[bot] over 1 year ago
Changes in this Release
Published by github-actions[bot] almost 2 years ago
Changes in this Release
Published by carlos-rian almost 2 years ago
Expose the methods bellow using Rust
+ PyO3
+ PyO3-asyncio
.is_healthy()
check if the connection is healthy..requires_isolation_first()
this is used to determine if the connection should be isolated before executing a sql..raw_cmd()
run a command in the database, for queries that can't be run using prepared statements..query_as_dict()
to return actual records (for example, using SELECT)..query_first_as_dict()
to return actual records (for example, using SELECT)..set_isolation_level()
the isolation level is set before the transaction is started. Is used to separate the transaction per level..begin()
starts a transaction..commit()
commits a transaction..rollback()
rollbacks a transaction..start_transaction()
starts a transaction with BEGIN/BEGIN TRANSACTION. By default, does not set the isolation level. But is possible to set the isolation level using the parameter isolation_level.