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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.2.dev2026061605-cp310-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.2.dev2026061605-cp310-abi3-musllinux_1_1_x86_64.whl (6.9 MB view details)

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

baml_core-0.12.2.dev2026061605-cp310-abi3-musllinux_1_1_aarch64.whl (6.5 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.2.dev2026061605-cp310-abi3-manylinux_2_24_aarch64.whl (6.3 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.2.dev2026061605-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

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

baml_core-0.12.2.dev2026061605-cp310-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.2.dev2026061605-cp310-abi3-macosx_10_12_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061605-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 eab5d01112fcf362e2f9238bd7af0e29ba43834c9c8a8edea204bd0c20ff97b5
MD5 95b789cc3567d3f86afc8569fd4e950d
BLAKE2b-256 ae446145e5e68dd2539d1ff84fbf2ca778e403ae8cb9d2e3ffb50f69b46247a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061605-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 99063f220e34b1bfb38837c156e980fedd6dfe4b9fa98a20a078912bd3a3f6c3
MD5 21b9f3c85fe1d0961d6de989202a5569
BLAKE2b-256 6a5a866375e53f891cf035f61fc148fde38740f5803eb8c108da81e4fee34c2d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061605-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d41d2ff9769826bdef4439bd758aea125a4f38b8722a14f3467786f475f23d1f
MD5 e4fc601783037218b5610ff6f44729d4
BLAKE2b-256 1298c1c59434f88d365651ee730c19a859060ba2f21d3352e196aed8ff754e67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061605-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 2b09f12435717d72f4b5d2bce6e1643c7ced5a7dee6e40d31d4685c8dc89ea42
MD5 7763ab48d42503f689b691185583bd9d
BLAKE2b-256 9ad297e443fdb23c7a10a9a72c4dd6e1efe74d2bda5e31c96a81d737bf3a4d0f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061605-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 a11843138505b1d74a601ad8d6ee6d19f99aea328d10c2f2ce0bd095f8163828
MD5 67fd85ddeaee5da8c981db1371003bae
BLAKE2b-256 5e2d03ca2de7576d24c3068413cb3901a6791c939c213a4c23cabb3aae7eff05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061605-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a6282e1e74ddf8cb198ade8cc1356ad3bf2636e4c5ddd61a9113e53f3376a6a
MD5 4ae80a4a06eb3834b46200557cc9aa33
BLAKE2b-256 7645e71a514a5bbfce2585415ae6746c68ea60dae130728b80bd498cff63944e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061605-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6a0cdb5577da58c9d2cc5884e7baca9a76984a5cf36190c9a67b05dd6eaab6e3
MD5 fdc2e87d51c71049cf632dd12f697e27
BLAKE2b-256 08b543948928c8b75b6bd31ff857622e19219079392f5d91df14a89f7799884d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061605-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3bf8a4413a865239ecdd989e7a79095c62f9dc769ad63957418e605a31b7e0d3
MD5 7a32bc69fa75785f96c0c3ba45d54ef1
BLAKE2b-256 d21060a6e9029158730916b6a9c02b3f822d5158178ba4741b2a0c48c18f49d6

See more details on using hashes here.

Provenance

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