Skip to main content

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 overview
  • action.html - Documentation for the DagaAction classes
  • flow.html - Documentation for the DagaFlow orchestrator
  • meta.html - Documentation for the DagaMeta metaclass
  • utils.html - Documentation for utility functions and classes

Development

To contribute to the project:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Ensure all tests pass: uv run pytest
  6. 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


Download files

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

Source Distribution

py_daga-0.1.1.tar.gz (20.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_daga-0.1.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file py_daga-0.1.1.tar.gz.

File metadata

  • Download URL: py_daga-0.1.1.tar.gz
  • Upload date:
  • Size: 20.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_daga-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dda5ac9031505fc7127b50e97eca2a5e16b8051e1010794de03b830935637f44
MD5 cedcf9c9cec11729e0eb667c5a457939
BLAKE2b-256 74d871e0b1ad6f102c36adbaade65544fb62e07fad2c5a19d076ce2dbaf35d34

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_daga-0.1.1.tar.gz:

Publisher: publish.yml on river-studio-net/py-daga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_daga-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_daga-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_daga-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b614b4a05940f8206908793e62f15949f2a8f2c283f611d257900fc7d38544d3
MD5 d6442863047bad056349794f3be93196
BLAKE2b-256 566bd52c03aa4655e46cd4cd9286997845ade8cd9113aba9784d9d0f99eaf665

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_daga-0.1.1-py3-none-any.whl:

Publisher: publish.yml on river-studio-net/py-daga

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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