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.13.1.dev2026070604-cp310-abi3-win_arm64.whl (8.1 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.13.1.dev2026070604-cp310-abi3-win_amd64.whl (8.4 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026070604-cp310-abi3-musllinux_1_1_x86_64.whl (8.5 MB view details)

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

baml_core-0.13.1.dev2026070604-cp310-abi3-musllinux_1_1_aarch64.whl (8.0 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.13.1.dev2026070604-cp310-abi3-manylinux_2_24_aarch64.whl (7.8 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.13.1.dev2026070604-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.4 MB view details)

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

baml_core-0.13.1.dev2026070604-cp310-abi3-macosx_11_0_arm64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.13.1.dev2026070604-cp310-abi3-macosx_10_12_x86_64.whl (8.2 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.13.1.dev2026070604-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070604-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 979c7bfa1fce5bdfe3dea452c5c8839112f0fe7a44c643f7506dfd66002b8a2e
MD5 40ca7dda6267bf2906181dea28110859
BLAKE2b-256 9bdae5a1283ba114833ac2e62bc7cd9bca0f53040c3a0894e45bcb6dd4cb6131

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070604-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9ae5a7372f4b2151094d57c2efde3ec2a2d91d5bef96d7777f7abd2fba205825
MD5 478a2da5d1d553d395700f5ea20da77f
BLAKE2b-256 a5263a5cd6c86e45fcb6d3e3dddd4eea9b29804d77e8940c47f5f336ff4834bc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070604-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3e3b7858e9d86411240c9cce081a6e40fd28bba690375f2d4876ee41429490c2
MD5 0a97dc2d7250699e8285e5585de579fb
BLAKE2b-256 b1190ff3b9496c77247f7ad032bd10d767116d8042204617c84fc799b51a950e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070604-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 accc46716707ee190a0ada4247e8a0b1140cd6ab903df813169fb7e7c676ee08
MD5 80406556b93e5f85660ef3487281f034
BLAKE2b-256 57543e6a20825119d0752f1bb2a856b698b36b211a2cff0175005fe45667bce1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070604-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 63f9b4b24f945912c806832b975aa9d78cef5f189edb00887fadf9516eea0a97
MD5 f85bf9376cbb2ec21f00310126272e57
BLAKE2b-256 f3688ae036160d90f9e41cc06f99f825b965934aecd2a7da8a33cc4a2aae4e2b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070604-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c4e8da5bdd3e0878f3267746eeaca0b760ecad2e61f052a017b2b471d1f4add
MD5 ebc930818f35dced85bdb813341f009d
BLAKE2b-256 3126e0190c070f869439208341743f7db009748989334ddcb70d0c070ec14128

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070604-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 091ec90bccd76a35c8ca49f3184110138e384904e6326d4cf83519140c6429b6
MD5 3ea6bbfd3d920d86717f795966aa7f95
BLAKE2b-256 0eaae553152c49eccc8f0261a1204b0a1f1108f1b46566168bb9ab0ce6e2b4c9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070604-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 57a2be9c09ac8854b404b02ac9d66c93ecebe30173b3266099a8f45aae7775e8
MD5 f53f3009d37d08934c9ff7c5d0868fd6
BLAKE2b-256 3ae347843322bad5848ce2ae6064d71c12eaa58a26fde7c0388dfdb42fe1c72c

See more details on using hashes here.

Provenance

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

This release

0.13.1.dev2026070604 This release

8 files

0.13.0

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