Skip to main content

Django based dynamic state machine system

Project description

django-flowr |version|
**********************

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

.. code-block:: bash

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

.. code-block:: bash

$ 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: https://readthedocs.org/projects/django-flowr/

Project details


Download files

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

Source Distribution

django-flowr-0.1.1.tar.gz (194.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_flowr-0.1.1-py3-none-any.whl (197.9 kB view details)

Uploaded Python 3

File details

Details for the file django-flowr-0.1.1.tar.gz.

File metadata

  • Download URL: django-flowr-0.1.1.tar.gz
  • Upload date:
  • Size: 194.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for django-flowr-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d3143fb072020648ccc762238d8de39792a111b195d0061fc1ee10cc580b7b0a
MD5 3e5d0bf54f07a928843058f0b096904b
BLAKE2b-256 ede56f2ef36d0a89895028f63534ff5209450debbbd399581d25d843083bf8bb

See more details on using hashes here.

File details

Details for the file django_flowr-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_flowr-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 097c71acb8c24680c93cde5ee66f8f220dad56ff4ae953cea1a53d15988756ba
MD5 750466c44df78c95d5f495a1819dcd45
BLAKE2b-256 a2a79b321d1e0f1d2023b045a6582728050a63fbcb252433e35f3d4e048a24a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page