Skip to content

Znarkus/python-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Written for Python 2.6, to simplify MySQL (utf-8) interactions from Python applications and scripts.
Currently wraps the MySQLdb module.

Example usage:

db = Mysql(
	host="localhost",
	user="root",
	password="root",
	database="my-database-name")

for row in db.query("SELECT * FROM users").fetchAll():
	print row

db.execute("""
	INSERT INTO USERS
	SET name = %s
""", 'My user name')

About

MySQL wrapper module for Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages