Skip to main content
Help us improve Python packaging – donate today!

Python implementation of the RapidPro flow engine

Project Description

RapidPro Flows

Python implementation of the RapidPro flow engine.


org = Org("RW", "eng", pytz.timezone("Africa/Kigali"), DateStyle.DAY_FIRST, False)
fields = [...]
contact = Contact(...)
flow = Flow.from_json("...")

runner = Runner()

run = runner.start(org, fields, contact, flow)

steps = run.get_completed_steps()
fields_to_create = run.get_created_fields()

runner.resume(run, Input.of("Yes"))

json = run.to_json() # run state can be serialized as JSON

restored = RunState.from_json(json, flow) # and then de-serialized when needed

runner.resume(run, Input.of(123))


Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rapidpro_flows-1.2.9-py2.py3-none-any.whl (32.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Feb 18, 2016
rapidpro-flows-1.2.9.tar.gz (28.9 kB) Copy SHA256 hash SHA256 Source None Feb 18, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page