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.dev2026081700

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

Total release size: 78.4 MB

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

Download URL baml_bridge-0.17.1.dev2026081700-cp310-abi3-win_arm64.whl
Size 9.7 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
c8862140be520511de2a2170dcd3334399fdcaca90c2c2b562dd26e398bfa4f1
BLAKE2b-256 checksum
How to use checksums
f1ef4f24cd91bb336ddc465adf7e81f69e2e03b8ec4afce1767dca84243d071b
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 18, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026081700-cp310-abi3-win_amd64.whl
Size 10.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5c8f24716527ab876079dd89873c5d62b4686388ff990e33a925e4a01fd2989d
BLAKE2b-256 checksum
How to use checksums
08f3611386f88a3e9107be0604f342faf70e8f3da65c63abe98fae12bce0e34e
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 18, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026081700-cp310-abi3-musllinux_1_1_x86_64.whl
Size 10.2 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
073577903cb2f7bd4ffce94f8064db31fe7d0e69cae4249c6e6e5f07df407e9c
BLAKE2b-256 checksum
How to use checksums
6d5a9c625eff6a6ff796d616f8a8451c128aa249c1626614871bec544bbc891f
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 18, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026081700-cp310-abi3-musllinux_1_1_aarch64.whl
Size 9.7 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
48959c9a441788300de53b0dc8df9010ceb1e27ed3d369c33273eda0259bc511
BLAKE2b-256 checksum
How to use checksums
a838536355408fff2888fc9d622f0a4796fcdc68da2b51bda09c48bcb055f05c
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 18, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026081700-cp310-abi3-manylinux_2_24_aarch64.whl
Size 9.4 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
8ee5bfb73e9b585afae7740c7c307ba4c62059b9dad1def6792a84bd23fc9def
BLAKE2b-256 checksum
How to use checksums
b9467a7a0e618879b6f5cbfb3d62070da0d9bda01abbf163a6328547a66623e8
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 18, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026081700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
9357ad5ee8ceb2e5a58d937efea07a54ca616a1b5a12d5323cfaa301e551a7ce
BLAKE2b-256 checksum
How to use checksums
e6b31b0cdc617f63bcb9e4e4acd909f26db73c4510d1fafa91f1c747af1236d9
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 18, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026081700-cp310-abi3-macosx_11_0_arm64.whl
Size 9.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
696d851ca5b76f8acbe8c29876cebf90905ced4d696f63f8027ef031567a4d02
BLAKE2b-256 checksum
How to use checksums
06d48f0272f71e0edf65668d258acf110eece8c75b36e5a41ec702f53caf7eb9
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 18, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026081700-cp310-abi3-macosx_10_12_x86_64.whl
Size 9.8 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
7908d519d6c307687da58b2a256fff186d5d093f43b059cfd55640d5d0c9a12c
BLAKE2b-256 checksum
How to use checksums
879d00120b8e7e0359cfe2f3bcbc98877cc559620addfdc3279d996202d0fd32
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 18, 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