Skip to main content

Python client library for Angzarr gRPC services

Project description

angzarr-client

Python client library for Angzarr CQRS/ES framework.

Installation

pip install angzarr-client

Usage

from angzarr_client import DomainClient

# Connect to a domain's aggregate coordinator
client = DomainClient("localhost:1310")

# Build and execute a command
response = client.command("order", root_id) \
    .with_command("CreateOrder", create_order_msg) \
    .execute()

# Query events
events = client.query("order", root_id) \
    .get_event_book()

License

AGPL-3.0 - See LICENSE for details.

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

angzarr_client-0.1.0.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

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

angzarr_client-0.1.0-py3-none-any.whl (52.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: angzarr_client-0.1.0.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for angzarr_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fc5045dd3e59f47aef6c5c21635c471e881a0b7a779e29789abe788f0c11cfd0
MD5 34b4f826ec78bbda794d3888b5d18bad
BLAKE2b-256 36cb5049f97750bcd4d57adb39a9aafa72c62dfa1c19b47b0faf510c72f516df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: angzarr_client-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 52.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for angzarr_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab8be64292347f1d7d000e7554ba535b5d49cf3c8459e6b8f8a1f99d06769ac9
MD5 03aa653ff11b1f7a7f52cf32af68361d
BLAKE2b-256 e99b231238902a43cf0662349ce755317762a367f26418200d64920d660e5588

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