Skip to main content

Kiddie Pool - Python Pooling Driver Framework

© 2013 Urban Airship

https://github.com/urbanairship/kiddiepool

https://secure.travis-ci.org/urbanairship/kiddiepool.png?branch=master

Goals

  • Create a reusable connection pool class that handles failover

  • Optionally allow connection pool to discover service locations via Zookeeper

Installation

pip install kiddiepool  # without optional zookeeper support
pip install kiddiepool[zookeeper]  # with optional zookeeper support

Creating a New Client

Subclass at least KiddieClient to create the public API for your client driver. Should call KiddieClient._sendall(<str>) to send data.

Using the Pool

Using a static pool

  1. Create a list of "<host>:<port>" strings to target for connections.

  2. Instantiate a KiddiePool with that list of strings.

  3. Pass the KiddiePool instance to your KiddieClient subclass for use.

  4. Use your client’s API and it will use the pool automatically.

Using a dynamic pool

  1. Instantiate a TidePool with the Zookeeper quorum and znode whose children to monitor.

  2. Use a context manager with TidePool() as pool: or the start() and stop() methods to manage the connection to Zookeeper.

  3. Use the dynamic pool exactly like the static pool. Candidates will be added/removed from the pool by a background thread.

Metadata

Release files for kiddiepool 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kiddiepool 2.0.0
File Size Uploaded Provenance
kiddiepool-2.0.0.tar.gz 9.2 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for kiddiepool 2.0.0
File Interpreter ABI Platform
kiddiepool-2.0.0-py3.6.egg Legacy Egg format - - Details
kiddiepool-2.0.0-py2.7.egg Legacy Egg format - - Details

Total release size: 60.5 kB

Release files / kiddiepool-2.0.0.tar.gz

Download URL kiddiepool-2.0.0.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
52d606fdd93959c63e24dd54fdbfc339f75e5185e007851fad9290a5f294c002
BLAKE2b-256 checksum
How to use checksums
9cb1d5f5c97feab2da4103303953444a84c86899e5e0b3d0f9fa0392ceccdb63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kiddiepool-2.0.0-py3.6.egg

Download URL kiddiepool-2.0.0-py3.6.egg
Size 25.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
fc2b4ab01c089aef8e81a0b1f0beebececb1c7a07802fcfc8f579f1084435cd2
BLAKE2b-256 checksum
How to use checksums
89df6bf910c275b57ab7a51c13088a63dfb57cde60b65191a370dd06179bdfa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / kiddiepool-2.0.0-py2.7.egg

Download URL kiddiepool-2.0.0-py2.7.egg
Size 25.5 kB
Tags Egg
SHA-256 checksum
How to use checksums
07741caec7fcd915c111d651432310d0e04b3354268f00d623ff8c9d3815aae6
BLAKE2b-256 checksum
How to use checksums
41655e01e57018599cfa0af09949f7848ab725993a2695dd3d64e869af983832
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for kiddiepool 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page