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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026062708-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026062708-cp310-abi3-musllinux_1_1_x86_64.whl (8.4 MB view details)

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

baml_core-0.12.2.dev2026062708-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026062708-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026062708-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_core-0.12.2.dev2026062708-cp310-abi3-macosx_11_0_arm64.whl (7.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026062708-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062708-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 3193e789d31aad513d527f7631ffcd8dc3a54ab83e963f43c0cfd7e284b16d4c
MD5 cf7212efcdf34dc5be4fe8bcb244a55c
BLAKE2b-256 64025308a20670961ef6b73969db129b7a784fa23f35d1588ce4ce19e1bb5b1f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062708-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8c9c93d2001bfec831ad0fe0155356f74dcc61e29a1d0fd6487ec861a878f759
MD5 1d1815a9f706219fda41ca62a5d1aa38
BLAKE2b-256 b65ea12eab264164a5c8725cf6c33c0641ca725dfdaa047f2de8f32358c5f25f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062708-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c21ef759c4bba0b518010914dde20ad7ea44295b957dd68222163419b81212a6
MD5 0f870034697f06e02ad459daa4e79d67
BLAKE2b-256 17be33cf913c5d82a063adde9b2addfc3e5e06827c95f3f0b16fd7ade56c7cd8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062708-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 6bf61389954b9ba60f7103e8aeb73fa044b2938364377ddb9b3a861d6adbd990
MD5 fcf5f8e0ef7f84ab2c879f0718cafaf9
BLAKE2b-256 c602c990e107f2f3b8d93909dfbc5fa5af9047890b3731f4c7c487792027e0c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062708-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 41dcbceb2be428b882bef19946c138dc9796848e5fee75ee6cea2af7c91d86f4
MD5 6378f3ff8503e7e84d59811f74167803
BLAKE2b-256 1716f7930fb75af0c65bc11ad096a4486ba8380ea1aacda9053daecc6da6beaf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062708-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7f684b698d710f3b6048e13b76aca59016f9fd8d2e12cb09f4a16390165fc99
MD5 d20190a3f684ed52aea45993a1a1c04f
BLAKE2b-256 a8ca0edfa0e77a2a8efeccd388126c1b184c5668b602c706ea83dc4332288a9b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062708-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a9a1874a00420ff7dcf052e0e5510e7ad97417440a09f271600e4d29a25cdde0
MD5 824cad903a140e53fac6d8ac995c2b3a
BLAKE2b-256 064594a96141ec2eff718b4a77d9a6a9bf04d5016793491619e543d7bb9e8a6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026062708-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 392336ffcef8c4ea3a867bedef61dbfd782f0b229ba3f8e977e577fd3b91dda3
MD5 09b077d39417cda74f6f498ead6776e7
BLAKE2b-256 91c4e965fe41c45bc0bc69699e3373771052bac402302d2928a2d37d5c3c5cc0

See more details on using hashes here.

Provenance

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