An utility to wait for a Cassandra instance to become available
Project description
wait-for-cassandra
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
Built Distribution
File details
Details for the file wait_for_cassandra-1.8-py2.py3-none-any.whl
.
File metadata
- Download URL: wait_for_cassandra-1.8-py2.py3-none-any.whl
- Upload date:
- Size: 4.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 285bc763638021699d66f53685be5a4dabc8974f03874558b6ad7ddbab6afeec |
|
MD5 | b7728ebb6cb90f266d896740c1022835 |
|
BLAKE2b-256 | 42184e37f9714d5956e096755eee2d485cd03b24b1d239561c62692a990528cd |