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.10.0.tar.gz (42.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-3.10.0-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cacahuate-3.10.0.tar.gz
  • Upload date:
  • Size: 42.6 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.10.0.tar.gz
Algorithm Hash digest
SHA256 8b87d93d3be81ee8f8b1c7e1d22fe70ca464637f13dfc5292c3e3e8c7639755f
MD5 362d87e6863d93547ed4840f48c355e9
BLAKE2b-256 8fe2211aeb53f25cf14afb4298ca8d7b63c465daf5f94cb4fccf2c1376f49513

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cacahuate-3.10.0-py3-none-any.whl
  • Upload date:
  • Size: 53.0 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.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 588950c2b4891aa3da42f7eeb90983afda75e24335ba9e4cf7093b38a740ccaa
MD5 81ae3366564068391b11326d25307b38
BLAKE2b-256 822c17885ef7ed7aeafef7b6d20c7e11c625d466321ca119076bc0828b9907fd

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