Skip to main content

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

Download

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cpool-0.2.2.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file cpool-0.2.2.tar.gz.

File metadata

  • Download URL: cpool-0.2.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cpool-0.2.2.tar.gz
Algorithm Hash digest
SHA256 62aa0dd0e3c154d62a712dff29ceebd9d87e51f336641d20816bc2299bf8ca61
MD5 a735b204558a5eddc39a4623955e1d5e
BLAKE2b-256 99bdeb99bd8bcb29a2d8217e108a02d5c9d5974f2dd09c3524cddc17c6f1724b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page