Skip to main content

No project description provided

Project description

SCF_FSM_PACKAGE

A resuable python django package that can handle transition and workflow's in your django application .

Description

  • The finflo package is designed to take over all the complexity in FSM building for a workflow scenario
  • Your transition's are made easy with finflo
  • customizable Actions and states with on_flow interchangable

Authors

Prerequisite

  • python
  • Django
  • Django-rest-framework

Installation

  • Install finflo using pip
pip install finflo
  • In your django application , browse to installed_apps section in settings.py and add this ,
INSTALLED_APPS = [
    'finflo',
    'rest_framework'
]
  • Add this in your settings.py
FINFLO = {
    'WORK_MODEL' : ['MyApp.Model','MyApp2.Model2']
}
  • Navigate to the middleware section in your settings.py and add the finflo middleware
MIDDLEWARE = [
    'finflo.middleware.TransitionUserMiddleware',
]
  • Now add this peice of code in your urls.py
urlpatterns = [
    path('', include('finflo.urls'))
]

Usage

  1. Once your setup is completed , whenever the objects in WORK_MODEL is created , the finflo automatically creates :

    • Transition manager
    • workflowitems
    • workevents
  2. The transition for each model can be carried out with :

    • t_id (transition_id)
    • type (model_type)
    • action
    • example
      • Screenshot
  3. Some important information for transition are as follows :

    Arguments Data_Type
    type str
    action str
    t_id int
    source (optional) str
    interim (optional) str
    target (optional) str
    from_party (optional) str
    to_party (optional) str

Additional API's

Api urls

Api URL's METHOD QUERY_PARAMS
localhost/model/ GET ?type=PROGRAM & t_id = 1
localhost/action/ GET NONE
localhost/action/ POST NONE
localhost/workflowitems/ GET NONE
localhost/workevents/ GET NONE

Support

For support, email support@venzo.com .

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

finflo-1.9.3.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

finflo-1.9.3-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file finflo-1.9.3.tar.gz.

File metadata

  • Download URL: finflo-1.9.3.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for finflo-1.9.3.tar.gz
Algorithm Hash digest
SHA256 796d6781f3e862d557ef335317bf8637538b0cc79de010f63b192ac00d5bbd2e
MD5 957fa163995879b7c0a19b1fc9e4b445
BLAKE2b-256 72c1856abcdb02db1a240536f7d8ede70b238e37b6f42c9b7a3b394af9373e70

See more details on using hashes here.

File details

Details for the file finflo-1.9.3-py3-none-any.whl.

File metadata

  • Download URL: finflo-1.9.3-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for finflo-1.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a4cbbc7b0bf8c8591f1c1bc45dd81f393e6915b71c843767a881b629c72cfe2b
MD5 e257f58ef66c06752f621da86f272b1c
BLAKE2b-256 cb504430ccf1a77b09d7b0c83314c2a9059fd21af140243f9b8013aedad3d12d

See more details on using hashes here.

Supported by

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