semvec/pypi-packages huggingface dataset:
coordinator 1.0.0b1
An experimental Python hook-based task runner.
Requires Python: >=3.6

# coordinator

A simple library that manages hooks in Python applications.

## Example

Simplest example

```py
from gevent import monkey; monkey.patch_all()
from coordinator import Coordinator

coord = Coordinator()

@coord.register_task("my_hook")
def my_task(context):
    print(context["message"])

coord.fire_hook("my_hook", {
    "message": "Hello, World!"
})

```

Full documentation is WIP.
wait-for-cassandra 1.8
An utility to wait for a Cassandra instance to become available
Keywords: cassandra,ci,utility

wait-for-cassandra
==================

[![Build Status](https://travis-ci.org/smok-serwis/wait-for-cassandra.svg)](https://travis-ci.org/smok-serwis/wait-for-cassandra)
[![PyPI](https://img.shields.io/pypi/pyversions/wait-for-cassandra.svg)](https://pypi.python.org/pypi/wait-for-cassandra)
[![PyPI version](https://badge.fury.io/py/wait-for-cassandra.svg)](https://badge.fury.io/py/wait-for-cassandra)
[![PyPI](https://img.shields.io/pypi/implementation/wait-for-cassandra.svg)](https://pypi.python.org/pypi/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> ...`