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

Release files for baml-bridge 0.20.2.dev2026092100

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.20.2.dev2026092100
File
baml_bridge-0.20.2.dev2026092100-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details
baml_bridge-0.20.2.dev2026092100-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
baml_bridge-0.20.2.dev2026092100-cp310-abi3-musllinux_1_1_x86_64.whl CPython 3.10 abi3 Linux musl 1.1+ x86-64 Details
baml_bridge-0.20.2.dev2026092100-cp310-abi3-musllinux_1_1_aarch64.whl CPython 3.10 abi3 Linux musl 1.1+ ARM64 Details
baml_bridge-0.20.2.dev2026092100-cp310-abi3-manylinux_2_24_aarch64.whl CPython 3.10 abi3 Linux glibc 2.24+ ARM64 Details
baml_bridge-0.20.2.dev2026092100-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.20.2.dev2026092100-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
baml_bridge-0.20.2.dev2026092100-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 83.2 MB

Release files / baml_bridge-0.20.2.dev2026092100-cp310-abi3-win_arm64.whl

Download URL baml_bridge-0.20.2.dev2026092100-cp310-abi3-win_arm64.whl
Size 10.4 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
944aa103a9d8262733c081c6cf255f2a5365740ffb59c1c5da46718776b2aa75
BLAKE2b-256 checksum
How to use checksums
03b302c6fb1b601849b05a81b66d67f72550bc4efc943ee0c17be3d8c8f65800
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 22, 2026.

Transparency log

Release files / baml_bridge-0.20.2.dev2026092100-cp310-abi3-win_amd64.whl

Download URL baml_bridge-0.20.2.dev2026092100-cp310-abi3-win_amd64.whl
Size 10.7 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
3771e3b84390fc60787655dca4fd93a317cead4ffcc7b4dc3f8220ce83f0335b
BLAKE2b-256 checksum
How to use checksums
ffaa462c52b25c6718b2e7bf7a1cfa207135b53c5760bde25bfe25a9ecfea63a
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 22, 2026.

Transparency log

Release files / baml_bridge-0.20.2.dev2026092100-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_bridge-0.20.2.dev2026092100-cp310-abi3-musllinux_1_1_x86_64.whl
Size 10.8 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
9eb637da4e2b86ca3ecb810100155be4f7d85d24f88c82e25bae85a77eef58f0
BLAKE2b-256 checksum
How to use checksums
eea4a90fc7586ea0fb52bd2ad3c294e5a78a49efb6101cc940344fa8c2024fd5
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 22, 2026.

Transparency log

Release files / baml_bridge-0.20.2.dev2026092100-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_bridge-0.20.2.dev2026092100-cp310-abi3-musllinux_1_1_aarch64.whl
Size 10.2 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
311ca8fd7db4704361d19e553cb437783fa7aa53f7a0e3ba3a04390b5c3cc99a
BLAKE2b-256 checksum
How to use checksums
12d10371209fff66aad859fa9c5f84f5a89c8e5998d22661ad26cf0e400e64a9
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 22, 2026.

Transparency log

Release files / baml_bridge-0.20.2.dev2026092100-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_bridge-0.20.2.dev2026092100-cp310-abi3-manylinux_2_24_aarch64.whl
Size 10.0 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
dd2bf62811c95a4acf4d3172b9fa8839fda33b083501085949403b691b618e77
BLAKE2b-256 checksum
How to use checksums
b835856b2db676f2a9e995346247f1b6cdf39c8448cf902293431026c0eed6c4
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 22, 2026.

Transparency log

Release files / baml_bridge-0.20.2.dev2026092100-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_bridge-0.20.2.dev2026092100-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
19942d4012813da1ca75c2c9667664e43e955b8979332ea37db2cab4c9840179
BLAKE2b-256 checksum
How to use checksums
4bfa9e8c9a79e639a22350890f4db8095fd17d7057a0fe75de5e2b1ece2b729f
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 22, 2026.

Transparency log

Release files / baml_bridge-0.20.2.dev2026092100-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_bridge-0.20.2.dev2026092100-cp310-abi3-macosx_11_0_arm64.whl
Size 10.1 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
534cf269e219bfc524d214796925138d34a8ee5bf3d9e9765e685d3990b34e6b
BLAKE2b-256 checksum
How to use checksums
a0fe354004eae6bb08375e2feb00b3c2dc68f0a84796747e41f0513a4b3b43d4
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 22, 2026.

Transparency log

Release files / baml_bridge-0.20.2.dev2026092100-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_bridge-0.20.2.dev2026092100-cp310-abi3-macosx_10_12_x86_64.whl
Size 10.4 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
bcc6520b057d35176026125dc8f03b00701f7fb130483a610e214f661cc7f730
BLAKE2b-256 checksum
How to use checksums
588bb9a8e405de1febd61c4ae124dac8ea856b67584c3f67d34855e8069c7c0e
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 22, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.20.1

8 release files

0.20.0

8 release files

0.19.0

8 release files

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