Skip to main content

WSQL

https://travis-ci.org/WebSQL/wsql.svg?branch=master https://coveralls.io/repos/WebSQL/wsql/badge.png?branch=master

WSQL is an asynchronous python connector to the popular MySQL database server based on WebScaleSQL.

The design goals are:
  • Compatibility with Python3 asyncio package

  • Compliance with Python database API version 2.0 [PEP-0249]

  • Thread-safety

  • Thread-friendliness (threads will not block each other)

  • Support mysql-clusters like: Percona-XtraDB-Cluster, GaleraCluster

import wsql.cluster.connect
# master:master(active:active)
connection = wsql.cluster.connect("master=localhost:3305#2,localhost:3306#2", database="test")
# master:slave(active:passive)
connection = wsql.cluster.connect("master=localhost;slave=localhost:3307#4", database="test")
# read-only
connection = wsql.cluster.connect("slave=localhost:3307#4;database=test;")

MySQL-5.5 and newer and Python-3.4 and newer are currently supported.

Setup dependencies

  • cmake version 2.8.11 or higher

  • openssl-devel version 1.0 or higher

  • python3-devel

  • zlib-devel

  • gcc

WSQL is Free Software.

Documentation.

Metadata

Release files for wsql 1.2.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wsql 1.2.13
File Size Uploaded Provenance Actions
wsql-1.2.13.tar.gz 3.9 MB Without provenance Details for wsql-1.2.13.tar.gz

Release files / wsql-1.2.13.tar.gz

Download URL wsql-1.2.13.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
2f2caf6a32e1446c346a16c50c3973aa880e690cc65968739969e57dc22c7844
BLAKE2b-256 checksum
How to use checksums
bc46f73783c4f592ed693f74b834d5a8e3759a77998b04391b85a9519993e45f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for wsql 1.2.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page