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.18.1.dev2026090200

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.18.1.dev2026090200
File Actions
baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_arm64.whl
baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_amd64.whl
baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_x86_64.whl CPython 3.10 abi3 Linux musl 1.1+ x86-64 Details for baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_x86_64.whl
baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_aarch64.whl CPython 3.10 abi3 Linux musl 1.1+ ARM64 Details for baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_aarch64.whl
baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_24_aarch64.whl CPython 3.10 abi3 Linux glibc 2.24+ ARM64 Details for baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_24_aarch64.whl
baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_11_0_arm64.whl
baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details for baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_10_12_x86_64.whl

Total release size: 82.0 MB

Release files / baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_arm64.whl

Download URL baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_arm64.whl
Size 10.2 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
b23f172f8bac69b69f643a04b8b1cc8ab50c174afdbafe61bd00a69532c2edf5
BLAKE2b-256 checksum
How to use checksums
9e8bb66159611cec86e1cd77c65d749d3f2151e91c7d737d4c3e896f4fbdd2fa
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 3, 2026.

Transparency log

Release files / baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_amd64.whl

Download URL baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_amd64.whl
Size 10.6 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d8eec5e9192f95d04d7b3ca96da2774cc72917f3691a3ddb7460a8d3474fc4a5
BLAKE2b-256 checksum
How to use checksums
56a32612fb66018eb8321d8846ef329e31b1c65fcea2b5dd57cc9ec3d12caee8
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 3, 2026.

Transparency log

Release files / baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_bridge-0.18.1.dev2026090200-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
7729dec24932b9d900bb25313c085afbffb6cb1e2c1a240d7c1cf4f7403812c5
BLAKE2b-256 checksum
How to use checksums
b8979b9321727fad43e3f4be5891677e033432cddd88dcd75578642aaa33d068
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 3, 2026.

Transparency log

Release files / baml_bridge-0.18.1.dev2026090200-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_bridge-0.18.1.dev2026090200-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
5858e3ebf9183d5ab5f9d67492e04a3d11b3ac8f2cf4f05cf9ad9f4357222d26
BLAKE2b-256 checksum
How to use checksums
79c72e3d25f936b44884735af8c8bd763091ef05a4fe2b120de4f0398897e078
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 3, 2026.

Transparency log

Release files / baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_24_aarch64.whl
Size 9.9 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
ba85d9e78997d47c253bb2b607a7662e1e82426528d78aa15d6fb0703a9061bb
BLAKE2b-256 checksum
How to use checksums
529fab97a67660327e1d5f29cc72bbec049156008b86e928ccc9912e879f9be6
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 3, 2026.

Transparency log

Release files / baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_bridge-0.18.1.dev2026090200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 10.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
1c5e86f1a2fd61fb475b80f7dd4945bdc2bf23877dd75d6f2147f91231260d7b
BLAKE2b-256 checksum
How to use checksums
55d495b22b34e28ce1b22ab53e145d4accecfdc7a590e8c9b85c07ea8722dcc3
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 3, 2026.

Transparency log

Release files / baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_bridge-0.18.1.dev2026090200-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
b69fe96bef54d98873fe82387cab7e811f3f6c2f6a512ef8811a291134cff897
BLAKE2b-256 checksum
How to use checksums
71735b853fd940ef6bd6d2975715e7705dcc92f5a2b9c485e5c34d5b7e5ce6d4
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 3, 2026.

Transparency log

Release files / baml_bridge-0.18.1.dev2026090200-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_bridge-0.18.1.dev2026090200-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
3dfd4b18a4181208963eefdaf31129735b111a36a6c8d25680bd7c191fe09654
BLAKE2b-256 checksum
How to use checksums
a1e739ad67b827c78d90872931c8656c7f92239b50dac5495826ecb533b174fd
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 3, 2026.

Transparency log

Security for baml-bridge 0.18.1.dev2026090200

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.

Full provenance

All 8 files in this release have been uploaded with provenance metadata.

Select from 8 files

Attestation for baml_bridge-0.18.1.dev2026090200-cp310-abi3-win_arm64.whl

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 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

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