yarqueue.watch package

Submodules

yarqueue.watch.cli module

class yarqueue.watch.cli.MultiTqdm(redis, names_totals: Dict[str, Optional[int]])[source]

Bases: object

close()[source]
update()[source]
class yarqueue.watch.cli.TqdmQueueWatcher(watcher: yarqueue.watch.common.QueueWatcher, total=None)[source]

Bases: object

close()[source]
n_done()[source]
update()[source]
yarqueue.watch.cli.main(redis, names_totals, interval=1)[source]

yarqueue.watch.common module

class yarqueue.watch.common.QueueWatcher(name, redis: redis.client.Redis = Redis<ConnectionPool<Connection<host=localhost, port=6379, db=0>>>)[source]

Bases: object

queued_inprogress()[source]
yarqueue.watch.common.signal_handler(sig, frame)[source]

yarqueue.watch.http module

class yarqueue.watch.http.JsonQueueWatcher(watcher: yarqueue.watch.common.QueueWatcher, total=None)[source]

Bases: object

status()[source]
class yarqueue.watch.http.MultiJson(redis, names_totals: Dict[str, Optional[int]])[source]

Bases: object

status(names=None)[source]
yarqueue.watch.http.main(host, port, redis, names_totals)[source]

Module contents