Metadata-Version: 2.1
Name: pymysql-sa
Version: 1.0
Summary: PyMySQL dialect for SQLAlchemy.
Home-page: http://www.evax.fr
Author: Evax Software
Author-email: contact@evax.fr
License: MIT License
Keywords: sqlalchemy,pymysql,dialect,gevent
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Topic :: Database :: Front-Ends
Classifier: Operating System :: OS Independent
Requires-Dist: pymysql (>=0.3)
Requires-Dist: SQLAlchemy (>=0.6.4)

pymysql_sa
==========

This package provides a PyMySQL__ dialect for SQLAlchemy__.

__ http://code.google.com/p/pymysql/
__ http://www.slqalchemy.org

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.

__ http://www.gevent.org



