dbkit 0.2.2

DB-API made easier

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
MIT/X Consortium License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Keith Gaughan
HOMEPAGE:
dbkit.readthedocs.org
CATEGORY:
ROOT \ Database \ Database APIs
dbkit is a Python library that abstracts away at least part of the pain involved in dealing with DB-API 2 compatible database drivers.

from dbkit import connect, query
from contextlib import closing
import sqlite3

with connect(sqlite3, 'counters.db') as ctx, closing(ctx):
 for counter, value in query('SELECT counter, value FROM counters'):
 print "%s: %d" % (counter, value)


Overview

dbkit is intended to be used in circumstances where it is impractical or overkill to use an ORM such as SQLObject or SQLAlchemy, but it would be useful to at least abstract away some of the pain involved in dealing with the database.

Last updated on August 29th, 2012

feature list requirements

#database drivers #database API #Python #DB-API #database #drivers

Add your review!

SUBMIT