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

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

Download URL baml_bridge-0.20.1.dev2026091801-cp310-abi3-win_arm64.whl
Size 10.4 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
7914224ab1e716bb8ba642ade809d4652e2c349e61723915ac9d1e93f27b2b0d
BLAKE2b-256 checksum
How to use checksums
6feabfd06495b6fc1d0bd481e02330885d447ebbc6f1f3cc8e4d58a4c5991729
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.dev2026091801-cp310-abi3-win_amd64.whl

Download URL baml_bridge-0.20.1.dev2026091801-cp310-abi3-win_amd64.whl
Size 10.8 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e907d7d01f2ba4785f48400d878dd59f953e4b7035de40726ef187474066d2c4
BLAKE2b-256 checksum
How to use checksums
b26dcc8059af185abcde3556bdbf6e4f811c5386810f60ca43386ac4083244de
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.dev2026091801-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_bridge-0.20.1.dev2026091801-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
6f50372c4e3a6a1613708ec816e5f213715125416af95c0c3012d6cab1d74cad
BLAKE2b-256 checksum
How to use checksums
398b0b06af3c3acdcb06d6e5b56aa26174b5554c4d6cf3c089fdf146114c2601
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.dev2026091801-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_bridge-0.20.1.dev2026091801-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
7b1017e9063129f2db6c824d871799a58ec8b8e5fab594d1d312a9df8895c9e7
BLAKE2b-256 checksum
How to use checksums
9a13087a9d24b1102eb9cea831cfc4e4825283f2da56f2a54ff9df711af17728
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.dev2026091801-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_bridge-0.20.1.dev2026091801-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
b13fcf3358282d5a684a05361253ee3fe8fae597ba77fb3fd8761c8ed20c32b3
BLAKE2b-256 checksum
How to use checksums
64c8698139153055704a08381140e03a0c63b0658252116f90d061d12d634904
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.dev2026091801-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_bridge-0.20.1.dev2026091801-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
2541faef77f05e002c01db7f7b4f12ff2d97bd470d2497e5c3dddd1048207b36
BLAKE2b-256 checksum
How to use checksums
77e03e00ad8e9c913e005480a60042a9cf3dffa40b787a6cbdc3d78c1a459893
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.dev2026091801-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_bridge-0.20.1.dev2026091801-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
cd917be5b71a3c10100b32c5e5a3caacf3c0fb245487463915702993abf3ae11
BLAKE2b-256 checksum
How to use checksums
03c01db33362d4923e9e2361b925d9c29e00e07cbcfec04bab87f2142fe0ba3e
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.dev2026091801-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_bridge-0.20.1.dev2026091801-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
72d99be34a58c29bf0c93ae3e3eb74ad2151f50163648317a35827c09f80a9a5
BLAKE2b-256 checksum
How to use checksums
0d4f93e9bf807ab4aa9a3c9c7045b6d67ae4402bbabab76b9cdff51109b83eb3
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