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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymysql_sa-1.0.tar.gz.
File metadata
- Download URL: pymysql_sa-1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2676bce514a29b2d6ab418812259b0c2f7564150ac53455420a20bd7935314a
|
|
| MD5 |
c612a08c48d823280e2fbcf0d58f9f57
|
|
| BLAKE2b-256 |
588128f9b607b47c55aa83c5fb3eda54cd61b0a6b6a08e6ff1a0c0e606b65bff
|
File details
Details for the file pymysql_sa-1.0-py2.6.egg.
File metadata
- Download URL: pymysql_sa-1.0-py2.6.egg
- Upload date:
- Size: 8.4 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4470c26909d34a1abebda43e35c31b323024336120a54bb1573a65bbcbfb6a6
|
|
| MD5 |
920a1506d1882a9ea3b73009b7d23d03
|
|
| BLAKE2b-256 |
23ee8eef94f61bfa14a531369c678921ddbb3d8b0d424d1a8a9bb7f53e91e193
|