Py-Daga: Saga DAGs Made Easy
Project description
Daga - Saga DAGs Made Easy
A simple, standard library-based tool to create and run Saga pattern mission DAGs. Need an atomic way to create real world objects? This is the way. No more try-excepts and nested logic - focus on your bussiness.
Docs & Usage
See the package generated documentation at https://river-studio-net.github.io/py-daga/
Contributing
Documentation
The project includes comprehensive auto-generated documentation that is updated automatically on every push to the main branch.
Auto-Generation
The documentation in the docs/ folder is automatically generated using pdoc whenever changes are pushed to the main branch. The GitHub Action workflow (.github/workflows/docs.yml) handles this process.
Viewing Documentation
Open docs/index.html in your web browser to view the generated documentation.
Documentation Structure
index.html- Main documentation page with module overviewaction.html- Documentation for the DagaAction classesflow.html- Documentation for the DagaFlow orchestratormeta.html- Documentation for the DagaMeta metaclassutils.html- Documentation for utility functions and classes
Development
To contribute to the project:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Ensure all tests pass:
uv run pytest - Submit a pull request
Rejected Ideas
Implmenting DagaAction as a context manager
Trying to use said context manager proved to be confusing beyond any standard, and so it has been decided to drop the implementation. Another concern against the idea was that it added significant complexity to the codebase, adding a lot of functionality that was not used otherwise.
Implementing rollbacks with Python results module
I didn't want to add extra dependency and added complexity on top of everything.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_daga-0.1.0.tar.gz.
File metadata
- Download URL: py_daga-0.1.0.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4db4c58cafa5faf2301481902a8372c0170a64785db1e42fb284e9db4663800f
|
|
| MD5 |
6fbbffae986f15033db07399736244a0
|
|
| BLAKE2b-256 |
0ef0ba6c12ae860d0d26bce3f2cf3af61e8743122a26edf206f74c9d1c3adfa1
|
File details
Details for the file py_daga-0.1.0-py3-none-any.whl.
File metadata
- Download URL: py_daga-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3da53e124c0fcc95cf250df1a7c953dbc406afacca5d4cfd9d936c92224b4195
|
|
| MD5 |
7684dbc5cfa2ca2d1d67bf94ee8f8ad1
|
|
| BLAKE2b-256 |
d0581d529fe75cdba180fe90ede524277b3982a2d23242280d19d3839054be5f
|