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] `
Metadata
Release files for cacahuate 3.14.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cacahuate-3.14.1.tar.gz | 43.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cacahuate-3.14.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 97.5 kB
Release files / cacahuate-3.14.1.tar.gz
| Download URL | cacahuate-3.14.1.tar.gz |
|---|---|
| Size | 43.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0378e8ef02c479466502878f9fdb4a088b72fc6b36d2506a1cb9f4fe760eccfd
|
|
BLAKE2b-256 checksum How to use checksums |
73c5a4cadb84367e90311a6b121c9f90449abd89be649982fdd44e33d857efab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.1
|
Release files / cacahuate-3.14.1-py3-none-any.whl
| Download URL | cacahuate-3.14.1-py3-none-any.whl |
|---|---|
| Size | 54.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3cd1191b04f7b2d2d81367acebb0c85d13c2f500961adec39a89d33a41d340ed
|
|
BLAKE2b-256 checksum How to use checksums |
85f11a00b48ed83cdc3a892bd5845a9632da91b749677d20ee1117ef0b038336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.1
|
Security for cacahuate 3.14.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.