Skip to content

msgflo/msgflo-python

Folders and files

NameName
Last commit message
Last commit date
Nov 17, 2017
Feb 1, 2017
Nov 22, 2017
Nov 13, 2017
Sep 8, 2016
Nov 13, 2017
Nov 22, 2017
Jun 3, 2015
Sep 8, 2016
Nov 22, 2017
Jan 18, 2018
Nov 13, 2017
Nov 22, 2017

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 is built on top of gevent. It uses Haigha for AMQP support and Eclipse Paho for MQTT.

Status

In production

  • Support for MQTT 3.1.1, incl TLS
  • Support for AMQP 0.9.0 / RabbitMQ
  • Support for Python 3.5+ and Python 2.7+

Changelog

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