Pyrophone
Express custom message routing flows in just a few lines of Python.
What is Pyrophone?
Pyrophone is a fully asyncio-native Python library and DSL used to construct custom message routing and data processing flows in just a few lines of Python code. It is a node-based dataflow message processing, transformation and filtration architecture that allows you to define custom message routing and processing flows in a concise and easy to understand Python DSL.
Example use cases include:
- Message queue bridging. Receiving messages on an MQTT topic, filtering or transforming them, and sending them onwards on another MQTT topic — or any other message queue protocol.
- Encryption. Receive messages and decrypt or encrypt them before forwarding them onwards.
- Transformation. Receive messages containing structured JSON (or other data) and remove sensitive fields, or transmute messages in arbitrary ways using just a few lines of code, before forwarding onwards.
- Diverse sources and sinks. Receive messages from diverse sources such as files or HTTP/REST endpoints and bridge them to message queues, or vice versa.
To find out more, see the quickstart example.