No project description provided
Project description
pyprexor
The python process executor.
What Does Pyprexor Do?
Pyprexor helps create traceability between your process inputs and process outputs.
Parameter sets are stored in a datastore and pyprexor seamlessly passes the required parameters to your annotated processes (a.k.a python functions).
Process outputs are added to the datastore complete with execution metadata and traceability back to your parameter set.
See example.py for basic usage.
Installation
Pyprexor can be installed from PyPI using pip ($ pip install pyprexor
) or your favourite package manager; we like poetry! ($ poetry add pyprexor
)
Running From Source
Dependencies are managed with poetry.
pip install poetry
poetry install
Contribution Guide
The project is linted with ruff, styled with black and type checked with mypy.
Datastores
Pyprexor ships with an InMemoryDatastore. This allows parameter sets to be loaded into memory on initialisation. Process data is added to a list in memory and can be read out on command. See the example.py for usage.
MongoDB
A basic wrapper around the MongoDB API is provided in pyprexor_datastore.mongo. It requires that pymongo is installed separately (i.e. pip install mongo
). If running the package from source, you an use :
poetry install --with mongo
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
Built Distribution
File details
Details for the file pyprexor-1.1.0.tar.gz
.
File metadata
- Download URL: pyprexor-1.1.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40bca2b64e8d01fdb9889b560e3b7caaf41f6e7c29db1fab0fe04c7b335b33bd |
|
MD5 | 7510c2401d062397ee4de3bfaa9343b8 |
|
BLAKE2b-256 | 2cf2d49d03118521ef4c6176b116d6982cb69ca939375819787e2e57748d9f53 |
File details
Details for the file pyprexor-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: pyprexor-1.1.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.11.4 Linux/5.15.0-1041-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c34df7013cf5c223a27030c0b7245b8ee671cf0a6a0494fb2e20934dcb26a9e6 |
|
MD5 | 8a6d5037eba50cb8744270871c12b315 |
|
BLAKE2b-256 | e0bcc0a208a328d5e26b3f3f19588e7593ab81c7f017a731587def79dfb812b7 |