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: absolute path to a settings file

FLASK_APP: import path to wsgi module (cacahuate.http.wsgi)

FLASK_DEBUG: set to 1 to turn on flask’s debugging

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

cacahuate-3.9.2.tar.gz (44.1 kB view details)

Uploaded Source

Built Distribution

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

cacahuate-3.9.2-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cacahuate-3.9.2.tar.gz
  • Upload date:
  • Size: 44.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.7

File hashes

Hashes for cacahuate-3.9.2.tar.gz
Algorithm Hash digest
SHA256 987f50b9dfef3eea425137fc419e04a2f3fbf28b3b3eee0ded8fd91f60ac176d
MD5 b185b4b5abbd7a4493c5e59a27c82851
BLAKE2b-256 a89f079c751db662731e640a02b859d0b5029095793c2c42cfbba65545fe72b4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cacahuate-3.9.2-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.7

File hashes

Hashes for cacahuate-3.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 066ab8241d102ee44ccf577392fda5fb35cf11b3997aeba5d5b8d4824f701537
MD5 e6f67b32fea687ba12332c0c073a1106
BLAKE2b-256 c9ce56abcee717cf7594d06c24f032dbf03b27d6689d00d56e4d00e51d6cf05e

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