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.8.1.tar.gz (43.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.8.1-py3-none-any.whl (53.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cacahuate-3.8.1.tar.gz
  • Upload date:
  • Size: 43.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.7.1

File hashes

Hashes for cacahuate-3.8.1.tar.gz
Algorithm Hash digest
SHA256 6efa5d50f283ba810b3fd4b32b9f945c9fae9ec35099b84152b6e170fc5f580d
MD5 448508fb4ff5d1311d2fe83cc72a7903
BLAKE2b-256 5a92f88c2bade0d0103694846bb18c41de42c6c4068ed9a4009f6163da4980b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cacahuate-3.8.1-py3-none-any.whl
  • Upload date:
  • Size: 53.7 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.7.1

File hashes

Hashes for cacahuate-3.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dbf9f26bf52ba7f62c4305da40822033eaa2eca68575ae019f6f80f3170ae8c5
MD5 792b55507a92dc048b24e545369d7abc
BLAKE2b-256 694bb66a1f1162d19ac88e8dc68fa361282cf19b6f512d966a3c84316c3177cb

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