Skip to main content

coach-app-baml-client

BAML-generated Pydantic models and client for coach-app boundary contracts.

Installation

pip install coach-app-baml-client

Or for development:

pip install -e ".[dev]"

Usage

from coach_app_baml_client.types import (
    ChatRequest,
    ChatResponse,
    EventEnvelope,
    EventType,
    MessageRole,
    ScheduledMessage,
    MessageStatus,
)

# Create a chat request
request = ChatRequest(
    message="Hello",
    conversationId="conv-123",
    conversationHistory=[],
)

# Parse an event envelope
envelope = EventEnvelope(
    type=EventType.MESSAGE_RECEIVED,
    meta=EventMeta(
        timestamp="2024-01-01T00:00:00Z",
        contractsVersion="1.0.0",
    ),
    payload={"content": "Hello"},
)

Generated Code

The baml_client/ directory contains BAML-generated code. Do not edit these files directly.

To regenerate:

# From repo root
baml-cli generate

Version

This package version corresponds to the contracts version. Both Python and TypeScript packages are released together with the same version number.

Metadata

Release files for coach-app-baml-client 2.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 coach-app-baml-client 2.1.0
File Size Uploaded
coach_app_baml_client-2.1.0.tar.gz 77.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coach-app-baml-client 2.1.0
File Interpreter ABI Platform
coach_app_baml_client-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 160.5 kB

Release files / coach_app_baml_client-2.1.0.tar.gz

Download URL coach_app_baml_client-2.1.0.tar.gz
Size 77.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e2a9ead3da81ddbc1dc88658e4c3b794fceab3204826b2babbe4945e43c53a8a
BLAKE2b-256 checksum
How to use checksums
6b6bcd82f9cd3f788a4f6ba11b41c03faa10977320c584f76aee5a903eedb4bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 20, 2026.

Transparency log

Release files / coach_app_baml_client-2.1.0-py3-none-any.whl

Download URL coach_app_baml_client-2.1.0-py3-none-any.whl
Size 83.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6fc61bec44c4fe5f3318f13345b1d9532d87ddfb46914ba48fbb9c40d81b3fb
BLAKE2b-256 checksum
How to use checksums
8e73cd5167910c99a594a0344702ec1076f7c376e905cb0b59b37155595acd9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Jan 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

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