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 details)

Uploaded Source

Built Distribution

dstate-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file dstate-0.1.0.tar.gz.

File metadata

  • Download URL: dstate-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for dstate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 abc2e30baed247bda85da4cdb5401a3125408cd0b9dff3177acb375371966c20
MD5 d61c09015d29d40edb9377c5f44783e1
BLAKE2b-256 b94109a32521aaaa21b5a31eb8a47d1bf94e6a099f9ef981c958bc52006040f8

See more details on using hashes here.

File details

Details for the file dstate-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dstate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0

File hashes

Hashes for dstate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1681b7ee630f5aa8f6788a1679f6b83570a9dd701f7731a02018a854fed49adb
MD5 cbd304fc705455a794dc2ac73eb8a9f5
BLAKE2b-256 a9f9e95351ebc9980afde47ee24b80f7bc8dd1f1627a128759202c1e74cea99c

See more details on using hashes here.

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