Libby#
Libby is a tiny messaging library built on Bamboo with pluggable transports (ZMQ or RabbitMQ). It gives you:
Keywords — typed, named values (
show/modify) served over RPC, with a registry, auto-generatedkeys.list/keys.describe/keys.readservices, and CLI coercion.LibbyDaemon— a base class for peers: lifecycle, RPC handlers, and pub/sub, in a few overrides.Client— a long-lived, in-process handle for reading and writing keywords from scripts, and for blocking on a keyword condition withwait_for(libby’sktl.waitFor).Keygrabber: a daemon that polls keywords from other peers and writes them to a time-series database for dashboarding.
libbyCLI — a command-line front end for keyword peers (show/modify/list/describe/waitfor), with TAB completion and wildcard listing to find which peers are up.
Where to start#
New to the package? Start with Installation.
Building a peer that serves keywords? Read Keywords then How to Build a Peer with LibbyDaemon.
Writing a script or tool that talks to peers? Read Client library.
Poking at peers interactively? Read CLI.
Recording keywords for Grafana? Read Keygrabber.
Looking for a specific class or function? See API Reference.