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

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-2.19.10.tar.gz (39.4 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.19.10-py3-none-any.whl (51.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cacahuate-2.19.10.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7

File hashes

Hashes for cacahuate-2.19.10.tar.gz
Algorithm Hash digest
SHA256 aaea8cebeb69011f12c8b43efc75c4517f50e4d8eb4c4f3e360f76582cb33739
MD5 516c121c9b7822aa02f74bacfbd7fe7e
BLAKE2b-256 51d31fd0514e9656602f673da568ba50e6ec8fad0e596174b2f342d4f97eb609

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cacahuate-2.19.10-py3-none-any.whl
  • Upload date:
  • Size: 51.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.7

File hashes

Hashes for cacahuate-2.19.10-py3-none-any.whl
Algorithm Hash digest
SHA256 e80599344e74a7809b036b49b670397671d5674b5c9d4292fe3e2ea6dc1116c7
MD5 fa8613423503a3fec274ea7ddef951f3
BLAKE2b-256 87ed8e72ef88a183a46cc6b6032d4c733711300f2dba8db18f7cf3283942c7fd

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