skip to navigation
skip to content

cpool 0.2.2

Simple Connection Pool handler

Downloads ↓

A simple connection pool handler that maintains a pool of connection objects (of whatever type you specify) attached to each thread.

Sample usage

from mylibrary import MyConnectionClass
from cpool import CPool

MyPool= CPool(MyConnectionClass)
MyPool.configure(host = 'myhost', port = '12345')
conn = MyPool()
conn.do_comething()
 
File Type Py Version Uploaded on Size # downloads
cpool-0.2.2.tar.gz (md5) Source 2012-01-07 3KB 233