Skip to main content

dstate is the library for distributed finite state machines

Project description

dstate - distributed state machines

Test dstate

dstate is the library for distributed finite state machines. Library's mission is to add more clarity and maintainability to distributed applications, which can go finite state machine approach. It adds persistence and locks on the powerful python-statemachine. With future releases timers support will be added.

Install

./shell/install-local.py
# or
poetry install --with dev --with python-statemachine --with driver

Usage

Pretty unstable. No examples yet.

Tests file

Dev

./shell/ruff.sh
./shell/black.sh
./shell/pytest-smoke.sh
./shell/flake8.sh
./shell/mypy.sh

Also the same set is supported with pre-commit:

pre-commit install

Fast smoke pytests with watcher:

./shell/ptw.sh

Full environment tests require docker compose:

./full_tests/shell/beg-mongo.sh
./shell/pytest-full.sh
./full_tests/shell/end-mongo.sh

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

dstate-0.1.0.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

dstate-0.1.0-py3-none-any.whl (5.5 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