background preloader

Python & Database programming

Facebook Twitter

Quick tutorial — CodernityDB. DatabaseProgramming. Package Index : MySQL-python 1.1.10. Python - MySQL Database Access. The Python standard for database interfaces is the Python DB-API.

Python - MySQL Database Access

Most Python database interfaces adhere to this standard. You can choose the right database for your application. Python Database API supports a wide range of database servers such as − How to connect to a MySQL database from python. Writing MySQL Scripts with Python DB-API. Paul DuBoispaul@kitebird.com Document revision: 1.02 Last update: 2006-09-17 Table of Contents Python is one of the more popular Open Source programming languages, owing largely to its own native expressiveness as well as to the variety of support modules that are available to extend its capabilities.

Writing MySQL Scripts with Python DB-API

One of these modules is DB-API, which, as the name implies, provides a database application programming interface. Python SQL Database Access System. MySQL-Python. Python Database API Specification v2.0. PEP Index> PEP 249 -- Python Database API Specification v2.0 This API has been defined to encourage similarity between the Python modules that are used to access databases.

Python Database API Specification v2.0

By doing this, we hope to achieve a consistency leading to more easily understood modules, code that is generally more portable across databases, and a broader reach of database connectivity from Python. Comments and questions about this specification may be directed to the SIG for Database Interfacing with Python. For more information on database interfacing with Python and available packages see the Database Topic Guide.