The process virtual machine
Project description
The process virtual machine
This project defines storage for an abstract _process_ in a company, and implements a virtual machine that keeps track of the execution of instances of the process.
Develop
You will need the redis and mongo databases, and rabbitmq for this to work. I recommend using pipenv or virtualenv in your python projetcs ;)
clone the repo
install the requirements listed in requirements.txt
run the tests (pytest)
you can control your cacahuate installation using this three environment variables: CACAHUATE_SETTINGS, FLASK_APP, FLASK_DEBUG.
Installation
pip install cacahuate
Cacahuated
This is the daemon in charge of moving pointers in the process, run with:
cacahuated
The Cacahuate REST API
In this same repository you will find a flask application that exposes a REST api for controling Cacahuate.
How to run
FLASK_APP=cacahuate.http.wsgi flask run
You can use any wsgi-compliant server, like gunicorn, to run this:
gunicorn cacahuate.http.wsgi:app
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
Built Distribution
Hashes for cacahuate-2.8.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e7b6d71beeba93e694c46af5cff84e57022508caf51c2f350bb352be0f6e173 |
|
MD5 | 1d9ef8e0f49242ef74aab620993cee39 |
|
BLAKE2b-256 | 6bd5da3449209b11eb44b9f705a2227c5df94f9501d8cb6072b4c6d51ffea470 |