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.11.0.tar.gz (34.6 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.11.0-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cacahuate-2.11.0.tar.gz
  • Upload date:
  • Size: 34.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.3

File hashes

Hashes for cacahuate-2.11.0.tar.gz
Algorithm Hash digest
SHA256 8aa9d72e57103c83c1a74f6a48d8c82a9c7eb90084e4f87e98552274e5bb9df8
MD5 bec994ada4aea8e715e91b84f0556da6
BLAKE2b-256 97ed4772963f58f7d44f7420efcede31afaa71e61144779c2c08cbc95b858138

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cacahuate-2.11.0-py3-none-any.whl
  • Upload date:
  • Size: 45.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.6.3

File hashes

Hashes for cacahuate-2.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91dbe5284594d62e49421551b313fe0606362bc4e42d01c47c685be0fce9f178
MD5 a3aa57b02c6d971864a049e3705dba5b
BLAKE2b-256 bc8a8a4dd6e56028aa985b96faf09273bda179174fe117344aaf8e52bc190d49

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