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.21.6.tar.gz (39.9 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.21.6-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cacahuate-2.21.6.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for cacahuate-2.21.6.tar.gz
Algorithm Hash digest
SHA256 802c7bd3a9e2eb2a1c3e33577f450242756ad8168ace8522cb4ef6defba05695
MD5 f5253f446950d25f55f223d2d292b215
BLAKE2b-256 a63d0b05cb46a38539ff0d86f455df386f990ac67dda729793a345d372f1fbf9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cacahuate-2.21.6-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.7

File hashes

Hashes for cacahuate-2.21.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7f9f0a7f3975f1249e86664bb2e7ce98369296d7509e0cd6556056b513c98f85
MD5 7d3f34482c4f52e3f1417f7a6426ef81
BLAKE2b-256 3f01dbb9a8486f7d6ba53f604de59c47ac99fd24bd0b06b1ce842a1fba25aac1

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