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
Metadata
Release files for cpool 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cpool-0.2.2.tar.gz | 3.3 kB | Details |
Release files / cpool-0.2.2.tar.gz
| Download URL | cpool-0.2.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62aa0dd0e3c154d62a712dff29ceebd9d87e51f336641d20816bc2299bf8ca61
|
|
BLAKE2b-256 checksum How to use checksums |
99bdeb99bd8bcb29a2d8217e108a02d5c9d5974f2dd09c3524cddc17c6f1724b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |