Skip to main content

healthassure-messaging

healthassure-messaging is a typed Python SDK for durable business-messaging orchestration. It provides provider-neutral requests, explicit provider routing, consent and session policy ports, idempotent dispatch state, and optional Mongo persistence. A Meta Cloud API provider and Meta delivery-webhook parser are included.

Stable version 1.0.0 requires Python 3.10 through 3.13.

Installation

python -m pip install healthassure-messaging

Install the optional caller-owned Mongo persistence adapter with:

python -m pip install 'healthassure-messaging[mongo]'

Provider-neutral orchestration

from healthassure_messaging import (
    FakeMessagingProvider,
    MessagingGateway,
    MessagingService,
    ProviderRegistry,
    SendDisposition,
)

Applications supply policy, session, template, and intent ports to MessagingService. Provider selection is explicit: the service does not retry or fall back to another provider automatically. Requests are serialized with schema version 1 before a claimed dispatch.

The optional MongoMessagingPersistence accepts a caller-owned PyMongo Database handle. It never creates a client, loads credentials, reads settings, or connects during import. Index creation occurs only through an explicit ensure_indexes() call. Policy and session event arrays are intentionally unbounded in this release; production adopters need an archival or compaction design. Mongo command construction is covered with deterministic fakes, while real-server atomicity and index compatibility remain an integration evidence gate for adopters.

Supported external platform

The included MetaCloudProvider supports outbound text and template requests to the Meta WhatsApp Business Platform, plus signature verification and delivery status parsing for Meta webhook payloads. Consumers own credentials, configuration, consent records, template mappings, routing, and operational controls. The library makes no provider or database call during import.

Meta and WhatsApp are trademarks of Meta Platforms, Inc. This project is not affiliated with, sponsored by, or endorsed by Meta Platforms, Inc.

Security and contributing

Report vulnerabilities privately as described in SECURITY.md. Development and synthetic-data requirements are in CONTRIBUTING.md. Changes are recorded in CHANGELOG.md.

License

Copyright 2026 HealthAssure. Licensed under the Apache License, Version 2.0.

Release files for healthassure-messaging 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for healthassure-messaging 1.0.0
File Size Uploaded
healthassure_messaging-1.0.0.tar.gz 74.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for healthassure-messaging 1.0.0
File Interpreter ABI Platform
healthassure_messaging-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 116.7 kB

Release files / healthassure_messaging-1.0.0.tar.gz

Download URL healthassure_messaging-1.0.0.tar.gz
Size 74.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8c4bcba46e61fc78f34b01a2d7aea760426fa144cd16376014a85df5ab6b17fa
BLAKE2b-256 checksum
How to use checksums
92fa02bc30a1644fc6eaccbf65a8b0b39324be4ce924baf1e2248be323a00573
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / healthassure_messaging-1.0.0-py3-none-any.whl

Download URL healthassure_messaging-1.0.0-py3-none-any.whl
Size 42.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f83d08696d27faa58f75d9f88e844bffd6f5fcb7099acfe1120b4c7b56bf8dc8
BLAKE2b-256 checksum
How to use checksums
6fc3697be8d81d432673460837dbbbf9aed51982c61645efaf5b78cb21f1ad98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release history Release notifications | RSS feed

1.1.0

2 release files

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page