Skip to main content

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.

Metadata

Release files for pymysql_sa 1.0

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

Source distribution (sdist)

Source distribution for pymysql_sa 1.0
File Size Uploaded
pymysql_sa-1.0.tar.gz 2.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pymysql_sa 1.0
File Interpreter ABI Platform
pymysql_sa-1.0-py2.6.egg Legacy Egg format - - Details

Total release size: 11.1 kB

Release files / pymysql_sa-1.0.tar.gz

Download URL pymysql_sa-1.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a2676bce514a29b2d6ab418812259b0c2f7564150ac53455420a20bd7935314a
BLAKE2b-256 checksum
How to use checksums
588128f9b607b47c55aa83c5fb3eda54cd61b0a6b6a08e6ff1a0c0e606b65bff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / pymysql_sa-1.0-py2.6.egg

Download URL pymysql_sa-1.0-py2.6.egg
Size 8.4 kB
Tags Egg
SHA-256 checksum
How to use checksums
e4470c26909d34a1abebda43e35c31b323024336120a54bb1573a65bbcbfb6a6
BLAKE2b-256 checksum
How to use checksums
23ee8eef94f61bfa14a531369c678921ddbb3d8b0d424d1a8a9bb7f53e91e193
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

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