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.1.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.1-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: angzarr_client-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e023d40452e9771a2b2556f7ace6d268f27a171b5a7ea6eec9cfd4d7daa042b0
MD5 898e0168acc116d3a216257608408c4e
BLAKE2b-256 91723efb695d6b7d481156cc21d5821a1dd4c1fc002bfab99a932701b228afe4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: angzarr_client-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 53.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0252d7bbb3bd736308c0cf417c34b46ce681473ef19d29df239d887d6848ff9d
MD5 d331149d7dacb03abc18ae3584f61082
BLAKE2b-256 e689fab2899301dac9ce5f9876feb9aa7c759bee05c5b26aff826178794bf339

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