Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
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.

Usage
-----

```python
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

This version
History Node

1.2.9

History Node

1.2.8

History Node

1.2.7

History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.1

History Node

1.1.1

Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
rapidpro_flows-1.2.9-py2.py3-none-any.whl
(32.7 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Feb 18, 2016
rapidpro-flows-1.2.9.tar.gz
(28.9 kB) Copy SHA256 Hash SHA256
Source Feb 18, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting