Skip to main content

django-flowr

Most state machine libraries are “static” and require the flow in the state machine to be definied programmatically. Flowr is designed so that you can build state machine flows and store them in a database. There are two key concepts: rule graphs and state machines. The programmer defines one or more sets of rules that describe the allowed flow between states, the user can then use the GUI tools to construct state machines that follow these rules and store the machines in the database. The state machines can then be instantiated for processing the flow which triggers call-back mechanisms in the rule objects on entering and leaving a state.

Installation

Add ‘flowr’ to your settings.INSTALLED_APPS field.

Run

$ manage.py makemigrations
$ manage.py migrate

Demo Installation

A full django project is included in the repository that is used for testing and can give you a quick idea what flowr is about. The project is available in extras/sample_site

$ cd django-flowr
$ pip install -r requirements.txt
$ cd extras/sample_site
$ pip install -r requirements.txt
$ ./resetdb.sh
$ ./runserver.sh

This will create an sqlite database with some sample rules. Point your browser at http://localhost:8000/admin and login with the username admin and the password admin. Use the django admin screens to view the flows and rules in the system.

Docs

Docs available at: http://django-flowr.readthedocs.org/en/latest/

Metadata

Release files for django-flowr 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-flowr 0.2.0
File Size Uploaded
django-flowr-0.2.0.tar.gz 194.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-flowr 0.2.0
File Interpreter ABI Platform
django_flowr-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 394.6 kB

Release files / django-flowr-0.2.0.tar.gz

Download URL django-flowr-0.2.0.tar.gz
Size 194.8 kB
Tags Source
SHA-256 checksum
How to use checksums
87780fe33d272eab31700c43073ad0575729d08d74fc4d6a9079dd37dcc9ae40
BLAKE2b-256 checksum
How to use checksums
4613af7cdafc71edc156210c3874a521270504c56f30ece2f37166dffcb8ca70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_flowr-0.2.0-py3-none-any.whl

Download URL django_flowr-0.2.0-py3-none-any.whl
Size 199.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9af5985fa8a74fcc5d9cc85248828db4f712e2186046fd032bf0645148ce4ef8
BLAKE2b-256 checksum
How to use checksums
6f72fb5d5ddb8d073818916adf6addd1206e7273f647abdc2fb9bea4d154cbda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page