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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026061901-cp310-abi3-win_amd64.whl (8.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061901-cp310-abi3-musllinux_1_1_x86_64.whl (8.2 MB view details)

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

baml_core-0.12.2.dev2026061901-cp310-abi3-musllinux_1_1_aarch64.whl (7.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026061901-cp310-abi3-manylinux_2_24_aarch64.whl (7.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026061901-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.dev2026061901-cp310-abi3-macosx_11_0_arm64.whl (7.5 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026061901-cp310-abi3-macosx_10_12_x86_64.whl (7.8 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061901-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 84b6b1d78a09224747483f1f98734219e766c8917bfe497af717e640106029a6
MD5 1accac72903a438d5d9fa2d01b3142d2
BLAKE2b-256 380207c988cdd2fe4241a8e203c48257c05e20e0492ced9fd804c47ad1bc29b9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061901-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 e86adf3db785c2d65e5563c737127282ec052aee006ae1f04557d6e26385ff3a
MD5 f5b69f6b5bb80f3227f9d99d8b526925
BLAKE2b-256 de01b35082f656cab5a8328ab492da1905d0287430d1efdc079c6dfb5007f476

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061901-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 f3ec3c8a7014bbf7d7c73f0470fac639fe99c1225dea887130278a1d877926b2
MD5 48a14e15a039d4c85f4e0ee24577019e
BLAKE2b-256 98c9b7a67180a5c9e7adb5caa61852c9f5743efec7618e9d85bc2ae489c6f4ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061901-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 f3d139c91469dab8081d1757ab700bea74f271151e3d8d1e0e6db5c7aa688413
MD5 1313f26bb9bf2fa565eeb456ea81e360
BLAKE2b-256 95d55dd7dadb013ace44dc80c80bcc02948ba7569be7375569c3300ff715f9f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061901-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 dd922de9070d3bc408f3a0d98f1e43f44722bbd1b5985212c9f70868e2f735fd
MD5 5e142dcfde1d578b9e8764936acbb452
BLAKE2b-256 d8c4dcf4130722bca41779989fecc99c301a2fe123a4df636be6a455908f36f8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061901-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4bbfb3e2fe46add20f933d841242bb480fafb134d4a91792fd6769b0b655a26f
MD5 8e693ea3fddc585825c2a208c5f9ede6
BLAKE2b-256 d6fc78f8b75db8c91bf6fc1a03dfce34835ac49722d631f98d01fc605cc56371

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061901-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4b1ba10d88bf57b21df54acf5e154d673b7c51e07b807cf5a28c1020f33dab25
MD5 03a0e3433f609848db152d0c9f341d0e
BLAKE2b-256 7673dcdc8994ae758d1e7fd32ad8816f48d8f79ff5d7cf7fb5bde03ad4f07d0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061901-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b4baaa1b86b01e37b93f6f357b0d17eba09b04340212c47690f470cb5c122542
MD5 9eb4460bd6f1e8824d1833cc15496f9f
BLAKE2b-256 f66a4d57bab15b04de4f4a99729a10f7f8f5b82b10b901ad67e511f9f3f2336a

See more details on using hashes here.

Provenance

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