Skip to main content

No project description provided

Project description

Saga Orchestrator SDK

Python Version License

A gRPC-based implementation of the Saga pattern for distributed transactions.

Features

  • Transaction orchestration
  • Automatic compensation
  • gRPC interface
  • Pluggable storage backends

Installation

pip install grpc_orchestrator

Quick Start

from saga_orchestrator import SagaClient

client = SagaClient(orchestrator_host="localhost")

response = client.start_saga(
    saga_id="order_123",
    steps=[{
        "service": "payment:50051",
        "method": "ChargeCard",
        "compensation": "RefundPayment"
    }]
)

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

grpc_orchestrator-0.0.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

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

grpc_orchestrator-0.0.1-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file grpc_orchestrator-0.0.1.tar.gz.

File metadata

  • Download URL: grpc_orchestrator-0.0.1.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for grpc_orchestrator-0.0.1.tar.gz
Algorithm Hash digest
SHA256 bafc756f19aed29aebfcf81a67697f0242d891026f43eb9ac3bdd36d874e3f5f
MD5 7f2ea4bfce49eb1a448465f04cdb27c0
BLAKE2b-256 02a7061905f13fbaa037375eefce2fdfa840ee269a8ae075bd29fd782910ec8d

See more details on using hashes here.

File details

Details for the file grpc_orchestrator-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for grpc_orchestrator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8feb6fb28a935d89094643e5892628261ce1e2cb86f243a91063a411d3762b11
MD5 a8b89661fd9eb7379fa8b493f3ab6843
BLAKE2b-256 48d9a3ad2d9fce950a5889175eaa458347174e2fded20de508c354067b86898c

See more details on using hashes here.

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