dstate - distributed state machines
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.
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
Release files for dstate 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dstate-0.1.0.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dstate-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / dstate-0.1.0.tar.gz
| Download URL | dstate-0.1.0.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
abc2e30baed247bda85da4cdb5401a3125408cd0b9dff3177acb375371966c20
|
|
BLAKE2b-256 checksum How to use checksums |
b94109a32521aaaa21b5a31eb8a47d1bf94e6a099f9ef981c958bc52006040f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
|
Release files / dstate-0.1.0-py3-none-any.whl
| Download URL | dstate-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1681b7ee630f5aa8f6788a1679f6b83570a9dd701f7731a02018a854fed49adb
|
|
BLAKE2b-256 checksum How to use checksums |
a9f9e95351ebc9980afde47ee24b80f7bc8dd1f1627a128759202c1e74cea99c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.8 Darwin/21.6.0
|