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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026070400-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.dev2026070400-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.dev2026070400-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.dev2026070400-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.dev2026070400-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.dev2026070400-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.dev2026070400-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070400-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 942f650acc1609f8a1f9c286382a06c69e2a0038da74fbdd2bbb1367a29afe0b
MD5 3eb99cb3b0b0e31bc41ec1ed5e8eb95f
BLAKE2b-256 2b3f3c869adedb8eb26ff1c8d5b76d7d32fac12a531b7e714f7a988abe0f25f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070400-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 beac7ab48ad68bb4fbe6e3f18441b1572486f7a269e69d6ec72af5bba452a222
MD5 07db497b4a1b33917b8c6638041bf3b4
BLAKE2b-256 ade450a487cf77e76e3757c9ab92d7b64e996ce1ea13fe8e223aee4b5859bb95

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070400-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 1a993fdf75c17996142277285a0b65ec1bc1aa2da5e9520a56d7e69d12182caa
MD5 823e61056f4391ea98c987ee52891558
BLAKE2b-256 164e56f1321df86a8c3f4b2df33158d222471fcee6e31d256108eb13010f8031

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070400-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 4e8d4a47be6df825da842a4b6e53cb86d398208bed9d1e80fd2850c664e4286f
MD5 ac6e561436dfcd03f277771758b05e0a
BLAKE2b-256 123764748d748e5136b278de8956c6737902e5d26224eca4497db0c2683fe7dc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070400-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 4d17208bf5201e8652bb22c6a36881f658816532bd95e76e65aa62ea02b48c4b
MD5 01d399cfae34ba909f00932028a70832
BLAKE2b-256 edab9baa5ff3744c36dd1508a23011986e428ab84756e2b5323b6936475453fb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5bc1b3cde484fc46f9921208e04bb439bfed67829fd7db3d6e6a8b546d45e44b
MD5 abb99ab4266fac669a439ee0e4cb29e0
BLAKE2b-256 c848c5faccf09287c71e7fa0f358ad20860e2e341d36f0396c7c0d31cae84393

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070400-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6b1a9b91d74983e575258803e954cea19a287d7ae4e6ee09262e3914ff00b27c
MD5 c260bb02de4a22d7553e9452c6d91a29
BLAKE2b-256 c8c1e1607147754aed6bd72fc4d879699fd952058bcbb43be2cce5a80fa6b271

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026070400-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d281d5476f4f3fa4dae4f0a7cc82acf8073859ea5acc5281d29c4ee22490ce8d
MD5 6eccc14587b3bf7c1bee37fcc37f122a
BLAKE2b-256 5e596740431c98c80817e51bd30e953cc565a602885bb174cc30c23dd737f1e6

See more details on using hashes here.

Provenance

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