Skip to content

msgflo/msgflo-python

 
 

Repository files navigation

msgflo-python: Python participant support for MsgFlo

MsgFlo is a distributed, polyglot FBP (flow-based-programming) runtime. It integrates with other FBP tools like the Flowhub visual programming IDE. This library makes it easy to create MsgFlo participants in Python.

msgflo-python currently supports Python 2 and is built on top of gevent. It uses Haigha for AMQP support and Eclipse Paho for MQTT.

Status

Experimental

  • Basic support for setting up and running Participants
  • Support for AMQP/RabbitMQ and MQTT brokers

License

MIT, see ./LICENSE

Installing

Get it from PyPi

pip install msgflo --user

Usage

See ./examples/repeat.py

wget https://github.com/msgflo/msgflo-python/raw/master/examples/repeat.py
# Set address of broker to connect to. Can also be amqp://...
export MSGFLO_BROKER=mqtt://localhost
python ./repeat.py

About

Python participant support for MsgFlo

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •