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.1.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 2 before a claimed dispatch. Schema-version-1 requests remain strictly readable for persisted compatibility.

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.1.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.1.0
File Size Uploaded
healthassure_messaging-1.1.0.tar.gz 86.7 kB Details

Built distribution (wheel)

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

Total release size: 130.4 kB

Release files / healthassure_messaging-1.1.0.tar.gz

Download URL healthassure_messaging-1.1.0.tar.gz
Size 86.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b319a0947f6e58b6c457edb609e3a77854af6bbcdc763575cf98116279dadb92
BLAKE2b-256 checksum
How to use checksums
603690efe44b90c94d5c631e4dd5e62c0a5cdb661f44e299ca005b0b447371cd
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 11, 2026.

Transparency log

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

Download URL healthassure_messaging-1.1.0-py3-none-any.whl
Size 43.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
95127ceb42aafbba32317ac1ac17a3349b7fe10899f24d671782b41475fe2e3f
BLAKE2b-256 checksum
How to use checksums
1f38ca094a2fe1167b77a08ec92efa991c96095371f576bd7e766d3e92c59ece
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 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

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