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

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

Total release size: 120.0 MB

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

Download URL baml_bridge-0.20.2.dev2026092400-cp310-abi3-win_arm64.whl
Size 15.2 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
c5a305c28cac1f5136beaeaa9f55b38f22cd1254bc43186d5ab2c7278b7efb06
BLAKE2b-256 checksum
How to use checksums
7671c837abef6abccfb6bfa24f4753bbe7d86640833ec47be704deb574973d66
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 25, 2026.

Transparency log

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

Download URL baml_bridge-0.20.2.dev2026092400-cp310-abi3-win_amd64.whl
Size 16.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9fad87262b9d43b9ccd1b5b73722a81b36ecea29e9b29ffa8c66294274095e6e
BLAKE2b-256 checksum
How to use checksums
66b9d0d8b3ae5a06df7f1721faf5900850605ecad4aafc85bffc1118aa656cbe
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 25, 2026.

Transparency log

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

Download URL baml_bridge-0.20.2.dev2026092400-cp310-abi3-musllinux_1_1_x86_64.whl
Size 15.5 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
80c2249c06d01a1238b77305fe648aeda732a7d15130e6136a29e44f4fad066f
BLAKE2b-256 checksum
How to use checksums
cc133969e6eb9daa16b4d2e7be9f06b06ddf6f23b428b4e20df61033aa13f8a6
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 25, 2026.

Transparency log

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

Download URL baml_bridge-0.20.2.dev2026092400-cp310-abi3-musllinux_1_1_aarch64.whl
Size 14.5 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
3bce183234ec44006a88aaf0d38a326cf4ee0bda97b125b40d7ef2aa1329e0e7
BLAKE2b-256 checksum
How to use checksums
e8c58bc0561968fe2e6f770eff38190c9ec75a544330dcc00d95b58b1cc0e45e
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 25, 2026.

Transparency log

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

Download URL baml_bridge-0.20.2.dev2026092400-cp310-abi3-manylinux_2_24_aarch64.whl
Size 14.3 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
ec69d6ea93a29aa65e89ceea93990d8100d628e76eb89697eb9788bd4b2eec0a
BLAKE2b-256 checksum
How to use checksums
b27fe66df9741ab9e8f0788f517919e470541b74d6da41f5c89f698bba0e3386
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 25, 2026.

Transparency log

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

Download URL baml_bridge-0.20.2.dev2026092400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 15.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
a257f6008d91702a93473cff502797f042af284b9ff718d2a024141744f43941
BLAKE2b-256 checksum
How to use checksums
afdf983582546a5dc294cf21857494148902fe22341455e4ffb4cd96898e10cc
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 25, 2026.

Transparency log

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

Download URL baml_bridge-0.20.2.dev2026092400-cp310-abi3-macosx_11_0_arm64.whl
Size 14.1 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
12614a08f4965c52e052c63a1fc803bc66e01f6ea5e46f5309311c24f459bc08
BLAKE2b-256 checksum
How to use checksums
58e09a9b927f7d1215db31f351152286931dda5f1e9bfc3defc9c6c96995820e
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 25, 2026.

Transparency log

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

Download URL baml_bridge-0.20.2.dev2026092400-cp310-abi3-macosx_10_12_x86_64.whl
Size 14.9 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
60d5f5f2dcb4b5da464d7b6b9071089aef8bd4a2d77fccdbefed480a47244c96
BLAKE2b-256 checksum
How to use checksums
7f04885f567c228bfec897272956d8090518578d3e99086f7beb8248424c98ab
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 25, 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