Skip to main content

An utility to wait for a Cassandra instance to become available

Project description

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>

Project details


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

wait_for_cassandra-1.3-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: wait_for_cassandra-1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b6695f52960764a371bde3f1703df8f9effe07126d70078812e415bfe56d0f4f
MD5 e3ac3312e78418fce34aac5d307a0282
BLAKE2b-256 593739f384c29ef386aa6bb1af4009d6bd089cc17ce89a084ee5da4e7492474d

See more details on using hashes here.

Supported by

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