Simple Connection Pool handler
Project description
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()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size cpool-0.2.2.tar.gz (3.3 kB) | File type Source | Python version None | Upload date | Hashes View |