Skip to main content

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

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

Download URL baml_bridge-0.20.0-cp310-abi3-win_arm64.whl
Size 10.3 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
ae083720ab1a4b9780e50540a9432529bd50ada6bdcaaf5e82b92ea0d87f822f
BLAKE2b-256 checksum
How to use checksums
3c87d3c36d14fb689ee521617c4e269f1a4400152d391275b9dbe40fc7bb7455
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 18, 2026.

Transparency log

Release files / baml_bridge-0.20.0-cp310-abi3-win_amd64.whl

Download URL baml_bridge-0.20.0-cp310-abi3-win_amd64.whl
Size 10.7 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
af4923b1fca52044998a6d6dfff687d6cf4ccdba8ebe9e04eeb7a1b780cc960f
BLAKE2b-256 checksum
How to use checksums
ceaf3a3841f2b96ca3f7889592786395aea0f6d0651acd4d90dfb8f6d8f9289a
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 18, 2026.

Transparency log

Release files / baml_bridge-0.20.0-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_bridge-0.20.0-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
e4ce4a0d7574e9dcb9cda7150ee34b164c8fbb9bbc4857ca458d2db4417bfcad
BLAKE2b-256 checksum
How to use checksums
3c388bf3577b5b39673c029d2f6cd6d23653d360fa3efd96bd61986c1d104fb7
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 18, 2026.

Transparency log

Release files / baml_bridge-0.20.0-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_bridge-0.20.0-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
1e86fcc57e945da375dca209bfc563e7a937d91752fd521fb7f6982a9a7611e6
BLAKE2b-256 checksum
How to use checksums
d394823576a1e0b7804ccbc20b18c32ed2828fbef8f10a34f647eda0bd949038
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 18, 2026.

Transparency log

Release files / baml_bridge-0.20.0-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_bridge-0.20.0-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
19e563bba94069ef277daaeac61b38a67b23efb71aedaaddaf59d2f3b6ab44bc
BLAKE2b-256 checksum
How to use checksums
f7bfe542412a450d1b870f9ba907b46df43274d3480d79e2b05c6d12982fe18a
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 18, 2026.

Transparency log

Release files / baml_bridge-0.20.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_bridge-0.20.0-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
86442a9bb8654f2c43f99090596831b8d4078999446ef3391f0b0f180dfee6df
BLAKE2b-256 checksum
How to use checksums
c0099ca9922f4729d9d7a5f2d324a346502993b988e062bb340c1327742c7e76
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 18, 2026.

Transparency log

Release files / baml_bridge-0.20.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_bridge-0.20.0-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
291670d446facc0af2e559187a0f5f2ec4d5121d9ccba054d4ef6c317c697665
BLAKE2b-256 checksum
How to use checksums
5bb8ef3d1f1165a51969203d982e1722fc8d5e34c0ab0ea028a22f9ffe89e2c2
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 18, 2026.

Transparency log

Release files / baml_bridge-0.20.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_bridge-0.20.0-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
d701dbfed38f70a87f7eb717256313548672076e3933930f2dc9894c02d29559
BLAKE2b-256 checksum
How to use checksums
2aeeb97cca2f9402b6808249f0c7b1a2592a0f34436bb182f4bb23992cc38880
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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.20.1

8 release files

This release

0.20.0 This release

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