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

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

Total release size: 81.8 MB

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

Download URL baml_bridge-0.17.1.dev2026082300-cp310-abi3-win_arm64.whl
Size 10.2 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
93781f57c62fef6625ff6a5e1d7ff19d1c2a57846a16874524837ee6ee8f4ff6
BLAKE2b-256 checksum
How to use checksums
92562666556de2a81fe3d598f8d513076dd45d863984392432c37f34ce3b41d9
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 24, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026082300-cp310-abi3-win_amd64.whl
Size 10.5 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ace55ae41c152ec37b425e9ee4f837ec5803b24c3cfd6d9c2a13717f988a85cc
BLAKE2b-256 checksum
How to use checksums
3d84071ded8e3a02741ceaa8b184853fa50a504ff8b0a36f1f966088c04adc57
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 24, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026082300-cp310-abi3-musllinux_1_1_x86_64.whl
Size 10.6 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
13c4ec8e44332ae0daa7fb0d4e7ca030caa30b0f61ae4d4fb91727a5aa0307bb
BLAKE2b-256 checksum
How to use checksums
efaa490fcc12a11a2fea237942633d26fb3de39f6ce57ca0f86d04e953e63ed1
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 24, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026082300-cp310-abi3-musllinux_1_1_aarch64.whl
Size 10.1 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
4f74601479790c0ba437c6a77300e14f77f67cb1f668cc85b1100f7c583694a9
BLAKE2b-256 checksum
How to use checksums
5353395aabb5e3dd0caaeab6af790f3cbf63f1f3aa95837083652546aa49c2fe
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 24, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026082300-cp310-abi3-manylinux_2_24_aarch64.whl
Size 9.8 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
ed1fef5fda15230316d6c60d8c30945d0c761a5903a0ff0e2dfadef8f2b4dabd
BLAKE2b-256 checksum
How to use checksums
36d66888eea37fccdbe0997a69998b93d69863ad8f61fa0a8986740310e493aa
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 24, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026082300-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.5 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
5a53b8f236f9c7a55f99c04f5cbb5ddaa4f79e02ad77e661106aa0a21840e0a0
BLAKE2b-256 checksum
How to use checksums
6eecdb05396b6e0485ecea6e7705318072803f91a1d6de487ed6d5777d298b7d
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 24, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026082300-cp310-abi3-macosx_11_0_arm64.whl
Size 9.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1c19a48cc47e89d69b1991a2fcd903950d45bf39cdf0c201ad885a6a9a04e9e7
BLAKE2b-256 checksum
How to use checksums
bbdb21460b6f18699316a03e90e16357cf84e4609a635121b951ac63299d557c
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 24, 2026.

Transparency log

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

Download URL baml_bridge-0.17.1.dev2026082300-cp310-abi3-macosx_10_12_x86_64.whl
Size 10.3 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
36ba0ffbcd85289bdee0f9ef429c86eea3d873acb0e4e485f26e5ead862b1a32
BLAKE2b-256 checksum
How to use checksums
1c3e59b5ff843a182914e7c674630b1507b50723d9562344876da55148dbd583
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 24, 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