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.24.6.tar.gz (43.0 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.24.6-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cacahuate-2.24.6.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for cacahuate-2.24.6.tar.gz
Algorithm Hash digest
SHA256 19669dd2e3f9a475182eec8e73ea01457e02880a4722e2d6eb8d551482865d3c
MD5 f14233c5c75181303f69a2461dbba3ca
BLAKE2b-256 88cdfbac2d70e476c4b603b60d2a4dae7710d8a777736eabd59e4f36cb11b7ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cacahuate-2.24.6-py3-none-any.whl
  • Upload date:
  • Size: 52.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.0

File hashes

Hashes for cacahuate-2.24.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b16fe399837b3ea279cb9cb61650f2e142301e54b12804b919cbfefe1dd29960
MD5 6246dafe4f5da52ee2f20a588f2a4c12
BLAKE2b-256 4204444e836fb78a9fd94e5db1b770e875011b65bbc06441e7fa9745293decc8

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