Skip to main content

No project description provided

Project description

pyprexor

The python process executor.

Tests Coverage PyPI Latest Ruff Black

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyprexor-1.1.0.tar.gz (16.3 kB view hashes)

Uploaded Source

Built Distribution

pyprexor-1.1.0-py3-none-any.whl (17.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page