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.dev2026062502-cp310-abi3-win_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062502-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.dev2026062502-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.dev2026062502-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.dev2026062502-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.2 MB view details)

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

baml_core-0.12.2.dev2026062502-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.dev2026062502-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.dev2026062502-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062502-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 9bd3b8daa2b516b63e87db7a4609b08bdfcd6d418ce9fba8bad98513387f0355
MD5 558ce686f0124e82483d021a6a4fc4e5
BLAKE2b-256 13838263c6528379273253c65c2aa859a7f83a9ca17ee9645c073fc4f992b16f

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062502-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.dev2026062502-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062502-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3bd77826d0d142bc34439c68be49d040b4a80f5d9fe826dcd8da22b479d9a627
MD5 4403b0b6a2ca94ba33fcf9c800ec4e8e
BLAKE2b-256 97e139fb5f36f50cc0fabaacdad6c973784ba74756d780886e5d4fb6f2274f7e

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062502-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.dev2026062502-cp310-abi3-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062502-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fc02ed86fbcce7aa4acc94ba43f3433c4f3534c98c56de872baaaf9fdc64d1bd
MD5 56c8b81d203dd247a135bd2ae26a7a2d
BLAKE2b-256 fc166e7ac3cac9391df0dbea1f40314db12ba77629b0b46c428f7d80dba5b422

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062502-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.dev2026062502-cp310-abi3-musllinux_1_1_aarch64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062502-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 083bafcd85c9b94f8641443deb225dad89b10340537df1ba691f5276e7ac835c
MD5 aa7c8988b0b88f48ca11bc9fa7dab849
BLAKE2b-256 4f0bf8cdb69e4fdb86267a18f4d4841fc9a2744c4dfd960bc9b5d06f0bb6e885

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062502-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.dev2026062502-cp310-abi3-manylinux_2_24_aarch64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062502-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 fa8f0f17c90ebf7f83a4d41ab03cde51e92985ae59b112ca24b040507cd1ff6e
MD5 7c018e1fbde693d478389135a694f0a5
BLAKE2b-256 c7c140010d6898660129fa263f2aa1d9b82fe305d7ccb3aa8c37c150b2d16ee7

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062502-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.dev2026062502-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062502-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5bbb76ed0bff6a931c222004d2b9009cf6195bbea7bb4e2b0e0a1aaf4aa285d5
MD5 7b1e4a515581bcd357edd08d21b6fdac
BLAKE2b-256 2487a23c462841ac72f7174bae41f5fcd675ffb03fbd73f0f43d08d4c80752fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062502-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.dev2026062502-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062502-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 150f68d46809defe92e95ec85e244d58f87773b841c6a96d578e353da3b61933
MD5 a805807ff25caaa2113d72eefc6e3454
BLAKE2b-256 9d6f17c0b180cf87785268ddbbbdf21d11e52178dd1786c2f3ac92ecd934c1cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062502-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.dev2026062502-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062502-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 130e69920d4b64b87852be03886062f5734b04d2013d115d5f4ab1ce45abdf32
MD5 64e9d1cbe19cff17d2a871c016ca489a
BLAKE2b-256 ed245d73afa8e7c5263c72530eee95b6725d1c1f0078d3526ba1be79bafafe9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for baml_core-0.12.2.dev2026062502-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.dev2026062502 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