Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple connection pool class for Python

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 CHANGES.txt
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 cpool.py
Octocat-spinner-32 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.