Skip to main content

wait-for-cassandra

Build Status PyPI PyPI version PyPI

This is a quick'n'dirty utility to wait for a Cassandra instance to become available. This proves to be an issue in CI development, where jobs that are tested for Cassandra need to wait for it to become available. Well, no problem with that!

Installation

pip install wait-for-cassandra

Usage

wait-for-cassandra <optional hostname> <optional timeout>

Default hostname is localhost, and default timeout is 5 minutes (300 seconds).

If you need to specify an user and a password, call this tool like this:

wait-for-cassandra <hostname> <timeout> <login> <password>

Or alternatively you can use it programmatically:

from wait_for_cassandra import wait_for_cassandra

wait_for_cassandra('host', 300, 'login', 'password')

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wait_for_cassandra-1.5-py2.py3-none-any.whl (4.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file wait_for_cassandra-1.5-py2.py3-none-any.whl.

File metadata

  • Download URL: wait_for_cassandra-1.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.0

File hashes

Hashes for wait_for_cassandra-1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 57f44846091ba47e8b1d089910b91ced95fa3a43e8b4f0975c282c7b0e79e8f3
MD5 f246874896fa163f3458e298d8be2c7f
BLAKE2b-256 b6fd89496ffabe2e559c20c8e929d49e9dec8248f8308c36c37c98acb8a2799e

See more details on using hashes here.

Supported by

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