Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

baml_bridge

Python bindings for the BAML runtime (powered by bex_engine).

baml_bridge is the bridge layer that generated baml_sdk packages import at runtime: it provides the BamlRuntime singleton, the protobuf encoder/decoder, the function/method factories, and the Collector / BamlCtxManager observability primitives.

from baml_bridge import BamlRuntime

rt = BamlRuntime.initialize_runtime(
    root_path=".",
    files={"main.baml": baml_source},
    sdk_root="my_sdk",
)

This package is generally consumed indirectly via the code generated by baml-cli generate --target python — direct use is reserved for runtime authors and bridge tests.

Requirements

  • Python 3.10+
  • protobuf >= 6.31.1

License

Apache-2.0

Metadata

Release files for baml-bridge 0.17.1.dev2026081500

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

Built distributions (wheels)

Table of built distributions (wheels) for baml-bridge 0.17.1.dev2026081500
File
baml_bridge-0.17.1.dev2026081500-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details
baml_bridge-0.17.1.dev2026081500-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
baml_bridge-0.17.1.dev2026081500-cp310-abi3-musllinux_1_1_x86_64.whl CPython 3.10 abi3 Linux musl 1.1+ x86-64 Details
baml_bridge-0.17.1.dev2026081500-cp310-abi3-musllinux_1_1_aarch64.whl CPython 3.10 abi3 Linux musl 1.1+ ARM64 Details
baml_bridge-0.17.1.dev2026081500-cp310-abi3-manylinux_2_24_aarch64.whl CPython 3.10 abi3 Linux glibc 2.24+ ARM64 Details
baml_bridge-0.17.1.dev2026081500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
baml_bridge-0.17.1.dev2026081500-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
baml_bridge-0.17.1.dev2026081500-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 73.7 MB

Release files / baml_bridge-0.17.1.dev2026081500-cp310-abi3-win_arm64.whl

Download URL baml_bridge-0.17.1.dev2026081500-cp310-abi3-win_arm64.whl
Size 9.1 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
2b3002a05df4386d000460867502678319f969bca6628e7ab595ccb74a6c9838
BLAKE2b-256 checksum
How to use checksums
9d4046c5f8ab24b846d2846caad5e3d49a76fcfbd391b4da1a5718b5a1f48176
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 Aug 16, 2026.

Transparency log

Release files / baml_bridge-0.17.1.dev2026081500-cp310-abi3-win_amd64.whl

Download URL baml_bridge-0.17.1.dev2026081500-cp310-abi3-win_amd64.whl
Size 9.5 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
73f363e6e2d6216ffb8cd64f0a31fd077fabd84874d884a1d5b2b7f003b82733
BLAKE2b-256 checksum
How to use checksums
53a45beae0bfd85d95ed727bc957f3ccb99763c69edecaf1f2aa6c17889a8726
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 Aug 16, 2026.

Transparency log

Release files / baml_bridge-0.17.1.dev2026081500-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_bridge-0.17.1.dev2026081500-cp310-abi3-musllinux_1_1_x86_64.whl
Size 9.6 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
ff2970bec61e606edf6b3821b32abc315baaea16aeb9c76c13678f97a1108d2e
BLAKE2b-256 checksum
How to use checksums
2d15c382a6b6e7d1c50c2df73a73239257ddc49f4c93468dc558d3bbbe0968d1
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 Aug 16, 2026.

Transparency log

Release files / baml_bridge-0.17.1.dev2026081500-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_bridge-0.17.1.dev2026081500-cp310-abi3-musllinux_1_1_aarch64.whl
Size 9.1 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
e8ee047ca3f6254313ed90c7d87839a75f4ac951e2708086fc64e21035c3487b
BLAKE2b-256 checksum
How to use checksums
bd825cf53390507b412acac3205a24db6e6dce8072f9d4b8ee3667e977d6acd3
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 Aug 16, 2026.

Transparency log

Release files / baml_bridge-0.17.1.dev2026081500-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_bridge-0.17.1.dev2026081500-cp310-abi3-manylinux_2_24_aarch64.whl
Size 8.8 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
377b37318553cbe858409b12a15e0aa9ef0a6b4ea6f58c7007af6c4bb9366a8a
BLAKE2b-256 checksum
How to use checksums
82dcd23283c88f0b0763d14b608f476a4d845fc5c11fb6475575351a67c26cb0
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 Aug 16, 2026.

Transparency log

Release files / baml_bridge-0.17.1.dev2026081500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_bridge-0.17.1.dev2026081500-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 9.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
f8e9876df838ec34baed6dfd2ec4fc2f320e8d977986d8070247c8126a788772
BLAKE2b-256 checksum
How to use checksums
07634e6dc04d5e53fa50d4cefcf4662acbeecc6eec9e43f2cc0a42b162e96329
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 Aug 16, 2026.

Transparency log

Release files / baml_bridge-0.17.1.dev2026081500-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_bridge-0.17.1.dev2026081500-cp310-abi3-macosx_11_0_arm64.whl
Size 8.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4fc77bc14d8d8dbb6f6d46811ef9512b73f8d08f12c174f0a53cffda8a4751e2
BLAKE2b-256 checksum
How to use checksums
a88f5b686202abd4f5eb351792b09197d022c40e32b5c0b0942384678647b6b4
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 Aug 16, 2026.

Transparency log

Release files / baml_bridge-0.17.1.dev2026081500-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_bridge-0.17.1.dev2026081500-cp310-abi3-macosx_10_12_x86_64.whl
Size 9.2 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
36f1b6a88c734509506fec6fa301cce601b444f5b4049912445302938c4d7033
BLAKE2b-256 checksum
How to use checksums
bd98ce12657da74cde60591fb76ea21a944cc6723bed4e9bda069f3ad9bedb1b
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 Aug 16, 2026.

Transparency log

Release history Release notifications | RSS feed

0.22.2

8 release files

0.22.1

8 release files

0.22.0

8 release files

0.20.1

8 release files

0.20.0

8 release files

0.19.0

8 release files

This release

0.17.0

8 release files

0.16.0

8 release files

0.15.0

8 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