Skip to main content

The process virtual machine

Project description

Build Status

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

cacahuate-2.12.8.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

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

cacahuate-2.12.8-py3-none-any.whl (46.3 kB view details)

Uploaded Python 3

File details

Details for the file cacahuate-2.12.8.tar.gz.

File metadata

  • Download URL: cacahuate-2.12.8.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cacahuate-2.12.8.tar.gz
Algorithm Hash digest
SHA256 c6f9ae33de0f85a684bdb9cf314a3a1f2db1720d6524167e6377996b260b6d51
MD5 547698a4ee3dc2820fedd12f80686ed3
BLAKE2b-256 e5f7315080cc3efbedc0f6c434ee7e3bcad43a284463dec39d1129810d10d1f5

See more details on using hashes here.

File details

Details for the file cacahuate-2.12.8-py3-none-any.whl.

File metadata

  • Download URL: cacahuate-2.12.8-py3-none-any.whl
  • Upload date:
  • Size: 46.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for cacahuate-2.12.8-py3-none-any.whl
Algorithm Hash digest
SHA256 c27f9af29d127db280e90019848829e0ed86a4d5dc362bc84c08163a6a7b91aa
MD5 5851efc3774476cd0b19eec1baea2230
BLAKE2b-256 3397461e9bf24590f0d29b14ead573c85d921bf9470d35ed6a682ad772da59ab

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