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.2.tar.gz (196.4 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.2-py3-none-any.whl (53.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: angzarr_client-0.1.2.tar.gz
  • Upload date:
  • Size: 196.4 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.2.tar.gz
Algorithm Hash digest
SHA256 255bc02e751614c943a33b2412c4a77b9d75d87bcbbff214ae4539ae0cf60f9e
MD5 37ac1f80392d7c60f3eec663bb17b129
BLAKE2b-256 1043ac83b4ed010e38e7fdfb53b1a7ae90df48cd04e37762ee822ceeb087e29c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: angzarr_client-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 53.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 014ac9c30b74d66aef59350776b6eb9705b5d5449885a9333a2a87d359dcc595
MD5 236080532c797e6acaaf3275cddee0cb
BLAKE2b-256 50181497634cf09ef69965e6ab8735b1c61d2910296c4b81ac6b7c3b328fbb5e

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