This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Asynchronous Python interface to MySQL

Project Description

WSQL

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.

Release History

Release History

This version
History Node

1.2.13

History Node

1.2.12

History Node

1.2.11

History Node

1.2.10

History Node

1.2.9

History Node

1.2.8

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wsql-1.2.13.tar.gz (3.9 MB) Copy SHA256 Checksum SHA256 Source Mar 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting