pysqlx-core

A fast and async SQL database wrapper for Python, with support for MySQL, PostgreSQL, SQLite and MS SQL Server.

MIT License

Downloads
23.5K
Stars
6
Committers
3

Bot releases are visible (Hide)

pysqlx-core - v0.1.50 Latest Release

Published by github-actions[bot] 12 months ago

Changes in this Release
Merge pull request #74 from carlos-rian/ci/add-httpx

  • add sdist option to download
pysqlx-core - v0.1.49

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

pysqlx-core - v0.1.46

Published by github-actions[bot] 12 months ago

Changes in this Release
Merge pull request #68 from carlos-rian/release/2023-10-25

  • Include quaint as lib in the code lib
  • Update libraries to the latest version
  • Change py_types libs to support new Quaint Value
  • Add support to an array of Enum (PostgreSQL)
pysqlx-core - v0.1.45

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

  • serde_json from 1.0.96 to 1.0.103
  • serde from 1.0.163 to 1.0.171
  • tokio from 1.28.1 to 1.29.1
  • openssl from 0.10.52 to 0.10.55
  • chrono from 0.4.24 to 0.4.26
pysqlx-core - v0.1.44

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

  • use quaint in me repo
  • update dependencies to the latest version
pysqlx-core - v0.1.43

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:

  • Add SECURITY.md
  • Update CI.yml
  • Update dependencies using cargo.
pysqlx-core - v0.1.42

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

pysqlx-core - v0.1.41

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.

  • tokio
  • serde_json
  • pyo3
  • uuid
  • openssl
pysqlx-core - v0.1.40

Published by github-actions[bot] over 1 year ago

Changes in this Release

  • Change ci to create tag with same name of the release.
pysqlx-core - v0.1.38

Published by github-actions[bot] almost 2 years ago

Changes in this Release

  • Remove env_log
  • Change the Cargo.toml, add release profile.
  • Try to decrease the binary
  • Last commit message: add lines to set and get automatic version, create tag, and release.
pysqlx-core - 0.1.31

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.