Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

PyMySQL dialect for SQLAlchemy.

Project description

This package provides a PyMySQL dialect for SQLAlchemy.

Installation

easy_install pymysql_sa

Usage

PyMySQL is a pure Python MySQL client providing a DB-API to a MySQL database by talking directly to the server via the binary client/server protocol.

You can explicitly use pymysql by changing the ‘mysql’ part of your engine url to ‘pymysql’.

You can also make pymysql the default mysql dialect as follows:

import pymysql_sa
pymysql_sa.make_default_mysql_dialect()

In this case you don’t need to change the engine url.

Being pure Python, PyMySQL is easily patched by gevent and the likes to make it cooperative.

Project details


Release history Release notifications

This version
History Node

1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pymysql_sa-1.0-py2.6.egg (8.4 kB) Copy SHA256 hash SHA256 Egg 2.6 Dec 1, 2010
pymysql_sa-1.0.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None Dec 1, 2010

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page