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>

Executing specified CQL

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

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

Release files for wait-for-cassandra 1.8

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

Built distribution (wheel)

Table of built distributions (wheels) for wait-for-cassandra 1.8
File Interpreter ABI Platform
wait_for_cassandra-1.8-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / wait_for_cassandra-1.8-py2.py3-none-any.whl

Download URL wait_for_cassandra-1.8-py2.py3-none-any.whl
Size 4.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
285bc763638021699d66f53685be5a4dabc8974f03874558b6ad7ddbab6afeec
BLAKE2b-256 checksum
How to use checksums
42184e37f9714d5956e096755eee2d485cd03b24b1d239561c62692a990528cd
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.8 This release

1 release file

1.7

1 release file

1.6

1 release file

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

2 release files

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