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>

Executing specified CQL

If you want to load a CQL file, just use:

wait-for-cassandra <hostname> -l <name_of_cql_file> ...

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.8-py2.py3-none-any.whl (4.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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