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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061906-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b1b775aa4a7d8dff6eb94712f4f03bb7733280b62aa9f3715bb7bd64c4f10f2c
MD5 da2a8c580628ce43768b7463bdbc6baf
BLAKE2b-256 82f8028ef5f937710cbd5cf8f635ae29b73b5d8c7b71c40de12e04d00a00e85e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061906-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 0eb3601accb292108ce3847ac80a8af729e7de7622a2ecae9abe0d48929eb5b1
MD5 db0da5e64f1ce2fb5471da9b08f6a93e
BLAKE2b-256 7395b02b6a3311cbce41dbda7d3cfccd07216843cb5446777abaaafc3d3108dd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061906-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 c6067448842855efef14a487baec16f492c9c685191e74a4360cdc2fe856eb96
MD5 3ba375ab4ae581e4c903a7b780d9dda4
BLAKE2b-256 e550c2611b957e674289bcbe906bdb4fb01b825319a785f121da2b8f23e487d2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061906-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 0fd4569145995a76864d93623de73d837636322cff693e5f5cf88879d726d200
MD5 0a84b5f61f7fb2510306d69bc58dedc7
BLAKE2b-256 f96374cb102c71ec7faedbd3424762051259a7f5f63d6d94bbe75fc36ecd1c4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061906-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 9deac07bf91aaba84f02e6a66383cb57e4145d493cc14e7bb727f64599702466
MD5 aa4f425c85dd7a28a306825fc2f1b624
BLAKE2b-256 f27c8127c2e9ec1b33197cf4436204782b024ff3082d0bae2277955775b54e0d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061906-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5cf405f3a6c65ecb0f8699ff9e1c3abeb21009c0e90b0da56487cb1515ffb5e7
MD5 d0c7d9a01d7da5a1ba40985dd239ccab
BLAKE2b-256 6168c9ccc08725aae090178ffa6927a0dabaf451dbd35a9250b52156e792b858

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061906-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0b2e1e97641a81a3d0d7349606b8cc61121a60442ecdb877b72350cbc2d8501d
MD5 028e034e1808cc58b9e6173b083ef915
BLAKE2b-256 e5002e47df557748cb09e6774973361a9881893c67469d57b46b71b1e242a404

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061906-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1f50eb660a4f153e7f4ac8f43302e59fd67d48b8c5392b9eec405d30725ec86d
MD5 d3995bad6e82a4edcb3e54b1eddff029
BLAKE2b-256 6500b7335deae724eb5eb4c6bb532684b9df614c2fd909d9e6d2e396c7749cda

See more details on using hashes here.

Provenance

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