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
The docs
Docs are built using sphinx and published in https://tracsa.github.io/cacahuate/index.html. To build a local copy of the docs navigate to the docs/ directory and run:
make html
For more options just run make by itself.
Release
`bash ./release.sh cacahuate/version.txt [major|minor|patch] `
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.21.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81cdeeef56dc91a79f8ff101f9bf426e6d56623d63e5c11016566e03521fbaf |
|
MD5 | bc901784899f1805df7cd9afb9a8f345 |
|
BLAKE2b-256 | 377d24e319df62a0b1c407deef9c49e51a22df8801d61ee4856a6e3e965d8134 |