A connection pool for anything
Project description
pypool
=====
a simple connection pool
expand pypool
~~~~~~~~~~~~~
must be implemented pypool.connection.Connection all method
a hbase extension like this:https://github.com/duanhongyi/hbase
Sample usage
~~~~~~~~~~~~
::
from hbase import Connection
pool = ConnectionPool(size,connection_klass=Connection,**{'host':'127.0.0.1','port':9090,})
with pool.connection() as conn:
//do something
pass
Download
~~~~~~~~
* https://github.com/duanhongyi/pypool
=====
a simple connection pool
expand pypool
~~~~~~~~~~~~~
must be implemented pypool.connection.Connection all method
a hbase extension like this:https://github.com/duanhongyi/hbase
Sample usage
~~~~~~~~~~~~
::
from hbase import Connection
pool = ConnectionPool(size,connection_klass=Connection,**{'host':'127.0.0.1','port':9090,})
with pool.connection() as conn:
//do something
pass
Download
~~~~~~~~
* https://github.com/duanhongyi/pypool
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
poolbase-0.1.4.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
poolbase-0.1.4-py2.7.egg
(6.2 kB
view details)
File details
Details for the file poolbase-0.1.4.tar.gz.
File metadata
- Download URL: poolbase-0.1.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a81949e35d85154f2faf230ee83e96f00b53e4f3fc34c318d44de17198a14258
|
|
| MD5 |
d2bc0669ec36ffda42f8a2e604700f95
|
|
| BLAKE2b-256 |
44b719592d7460c3c8c0aef68fa7cd4070b3cf3d52b03beca8373bcd7e376478
|
File details
Details for the file poolbase-0.1.4-py2.7.egg.
File metadata
- Download URL: poolbase-0.1.4-py2.7.egg
- Upload date:
- Size: 6.2 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b06ace612160e1e49dda567de718b7e61561317b475d481dd79ee21b3ca25cb9
|
|
| MD5 |
34dfe70ab6eb882c5480d16d248d42ea
|
|
| BLAKE2b-256 |
009a65e46dfe418d6b3f32373af62ebdd6b5d86bd94b30d7f53817b66a337966
|