Skip to content
Simple connection pool class for Python
Python
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
CHANGES.txt
LICENSE.txt
MANIFEST.in
README.rst
cpool.py
setup.py

README.rst

Simple Connecton Pool

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()

Download

Something went wrong with that request. Please try again.