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.1.dev2026091800

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

Total release size: 83.0 MB

Release files / baml_bridge-0.20.1.dev2026091800-cp310-abi3-win_arm64.whl

Download URL baml_bridge-0.20.1.dev2026091800-cp310-abi3-win_arm64.whl
Size 10.3 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
2c63185fcc135d89b91ee0162bdeee0ba58bf11e710c6340efdb207cb49db6aa
BLAKE2b-256 checksum
How to use checksums
6aa6d03fadf5f95df518b2ec9ee200730d717419bc3a5ace7b839d468506bbd3
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 19, 2026.

Transparency log

Release files / baml_bridge-0.20.1.dev2026091800-cp310-abi3-win_amd64.whl

Download URL baml_bridge-0.20.1.dev2026091800-cp310-abi3-win_amd64.whl
Size 10.7 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
142bbfcf7e1b9604c999810b8664c31aac0dca79708c6ffcd947dcc3537996cd
BLAKE2b-256 checksum
How to use checksums
c05b7fa979e170d964c0bd177afafa47740e88da1a676a3b8786867751fa0939
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 19, 2026.

Transparency log

Release files / baml_bridge-0.20.1.dev2026091800-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_bridge-0.20.1.dev2026091800-cp310-abi3-musllinux_1_1_x86_64.whl
Size 10.7 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
fb7b181aceaec7b77ac6f0b89a25219fc3a89a97d9177682021c6768cff0143a
BLAKE2b-256 checksum
How to use checksums
7764351322b4dbc58f2c88df2ed9ff2ee64735bbc332108f718d7965974987ee
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 19, 2026.

Transparency log

Release files / baml_bridge-0.20.1.dev2026091800-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_bridge-0.20.1.dev2026091800-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
dc850b035a7fe5f59bcfe6c6b40a8953352f7b984aab894d42c208b242a30a34
BLAKE2b-256 checksum
How to use checksums
71edd4247b9d33b0ef3ac6fee19f2da1ed9733a19653df867519fafafc3ae782
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 19, 2026.

Transparency log

Release files / baml_bridge-0.20.1.dev2026091800-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_bridge-0.20.1.dev2026091800-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
53cbe3224f76dc86c3454b8084ac5a7428291e75d75d2a6df4041a1552f1a1b7
BLAKE2b-256 checksum
How to use checksums
2233a820c21e7fb5d8abdd7e2300a077fb786053e2f6b8115fa1947f9bdb37f7
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 19, 2026.

Transparency log

Release files / baml_bridge-0.20.1.dev2026091800-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_bridge-0.20.1.dev2026091800-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
ebb574550a9f94ea822aa053d938066435b04606f569aaf81e3b7904e44ce937
BLAKE2b-256 checksum
How to use checksums
90789c1c71427867ff2ba7eb5cb04ea9aa9f85a83fbc6d267f2fe3bd656cc56b
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 19, 2026.

Transparency log

Release files / baml_bridge-0.20.1.dev2026091800-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_bridge-0.20.1.dev2026091800-cp310-abi3-macosx_11_0_arm64.whl
Size 10.0 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
743008398e9469e1ab37dc59cd2233bf02d9c53ec95c8deaf96b87095980481a
BLAKE2b-256 checksum
How to use checksums
3ddea87eca054dc2a393b770f5db3f055634b2bac4b67ba74cb583aaadbd0dbc
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 19, 2026.

Transparency log

Release files / baml_bridge-0.20.1.dev2026091800-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_bridge-0.20.1.dev2026091800-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
ba7d4f436e436bcd31718f6e473573922e073e451643a989aebb727dd6425920
BLAKE2b-256 checksum
How to use checksums
f8447eab460803280432f22943784b90707279fef7675917a29c5e8d4c236575
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 19, 2026.

Transparency log

Release history Release notifications | RSS feed

0.20.1

8 release files

This release

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