Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

baml_core

Python bindings for the BAML runtime (powered by bex_engine).

baml_core 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_core 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

baml_core-0.12.2.dev2026062201-cp310-abi3-win_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062201-cp310-abi3-win_amd64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062201-cp310-abi3-musllinux_1_1_x86_64.whl (8.3 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_core-0.12.2.dev2026062201-cp310-abi3-musllinux_1_1_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062201-cp310-abi3-manylinux_2_24_aarch64.whl (7.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026062201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

baml_core-0.12.2.dev2026062201-cp310-abi3-macosx_11_0_arm64.whl (7.6 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026062201-cp310-abi3-macosx_10_12_x86_64.whl (7.9 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.12.2.dev2026062201-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062201-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 c0d9b489af6480fd7bd601a06d7b53b5c1d84a04de669c015ad841e83f0f70bb
MD5 64325de284b02bd738501f2aefe45198
BLAKE2b-256 3633f0af717260a2bd72910e65daad4988b530cf8343548385c290f5f2c4bf01

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062201-cp310-abi3-win_arm64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_core-0.12.2.dev2026062201-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062201-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 972f4539aabdf0d6ac8c1d0f1508e9110a724fdc7880f45e2749288722bd64ff
MD5 5cf5ed14ef2a3e4d48b346ffda4b6fd8
BLAKE2b-256 f5536297ea1a5e911de4211394c2575b87d41d2792a63f1ca364792a1eea968f

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062201-cp310-abi3-win_amd64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_core-0.12.2.dev2026062201-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062201-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d8b9031ec7ab26ca11e23229ab7ddfd311a4bb0150c32291fd56e16471fe42a9
MD5 0a41e684ff420975f99f83a4a34fb43f
BLAKE2b-256 ea7be045a3fa2e2e2df4e5b49cd805ac5a75bd6515ff0b8c65de6cd1df225cbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062201-cp310-abi3-musllinux_1_1_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_core-0.12.2.dev2026062201-cp310-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062201-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 b1038fc10a5f792f15b97c5baa5a4fad463114f62d345e13e9a75fca30d78819
MD5 2beccf61853b5b67def2e670bf4ca6e5
BLAKE2b-256 09119e9a925270ca579aeeb41719269891dd9486e4576dbfa2ac8f7bad622f03

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062201-cp310-abi3-musllinux_1_1_aarch64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_core-0.12.2.dev2026062201-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062201-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 9b78fcf09bbfbe879130a2fa1239216ee17db5471f9a660bbcd1adb1774cd06c
MD5 ced81c6bc1f4007e4394428da9b25734
BLAKE2b-256 62ebe235d5bb6f4d0450aa9003850b6ad2fcb3c0c32d538c36cba22a294060de

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062201-cp310-abi3-manylinux_2_24_aarch64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_core-0.12.2.dev2026062201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bb45968ea5a891eaeb4f444a7dd33891681a5e513ec14841698f20276d555c74
MD5 f56f1b23e7f554d3cddb5d5b210c88d3
BLAKE2b-256 4709b3b4176b47db4cf1818cde3a83693c6e73fc220590981b479ae7025fa1e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062201-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_core-0.12.2.dev2026062201-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062201-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 93f280871b820152d03122a3e38fa842ea42ed33922ed57335106d117a0ab6f6
MD5 6c1d59b272d3583c4511c5e30eb1dd23
BLAKE2b-256 3fe086c3953acabfc6e10c4ccc4db59b96ddf76f67fdb654665ae70b5daa1af7

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062201-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file baml_core-0.12.2.dev2026062201-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062201-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 fae1db8f8db0633ac31142b436ecc407a931b6a5de9fec7c7996623dd85718c3
MD5 c3579e6367aed045c8bf16c60e66b299
BLAKE2b-256 ffb43f8ee146d441e5a97c488839a8261713c7c682746bac2936fc3c772303f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062201-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release-baml-language.yml on BoundaryML/baml

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.13.0

8 files

This release

0.12.2.dev2026062201 This release

8 files

0.12.1

8 files

0.12.0

8 files

0.11.2

8 files

0.11.1

8 files

0.1.2

8 files

0.1.1

1 file

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page