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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.13.1.dev2026063003-cp310-abi3-win_amd64.whl (8.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.13.1.dev2026063003-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.dev2026063003-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.dev2026063003-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.dev2026063003-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (8.3 MB view details)

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

baml_core-0.13.1.dev2026063003-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.dev2026063003-cp310-abi3-macosx_10_12_x86_64.whl (8.1 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063003-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 97c35efef3bc0789156a6a7112107c3c7bf8ad0c34a38d315a79037cb047d84f
MD5 0062e621304bf49d37d0fd58dfb700ca
BLAKE2b-256 902164c2dcde3175a5b7727ab8c2ea0253da33b2b845eb8125f741441533e231

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063003-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 27dd8f400ab6172425097dc42cdcb667cace9cbba44972a5b3e1a534146f8162
MD5 e9d13e2588b8723b48965d27d1977bfa
BLAKE2b-256 d0c4573a08db3d420441a815d6779b267e3cd7dda587430d8fa1cf90cbc07fb6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063003-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7ea209f70625b981c486dc6abceb65462123afacd02f88e5c2ba193ead98e127
MD5 7c4786d56f0faafc1ff5dbc406a66a66
BLAKE2b-256 a01ff01f7997e261c95ecf7102ed26cb80c74d3305b2e64a886fad2917a0b71d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063003-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 235a8a12439498782bf164ba55128b19cb53b1bd0680b08b6b7531df479d1ad6
MD5 1fd23f5e757df8a79dd4a69f82228c9f
BLAKE2b-256 a3c7ca6e96ee333504ccfaafa81dca3120337d36ee8c0ea919c4dc3bc22fbd78

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063003-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 c6847e0bee353d175fe94cae0bcde3b06afa20b27eeeca3dc9d8416238295dde
MD5 6fca55d0c1fa91c70eca84433e942fbc
BLAKE2b-256 e237a5d35645c26d9ec2f6ffef05d38c17cdc34cfd46fb189f4330aa59cc01f3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063003-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0becde0d86f4d0ede6b78b6498cbc8766a335f8343638252c44a7b3c069ed1ad
MD5 b1b04dcb1e26f8dec10e4139c077006e
BLAKE2b-256 432f116f659a0387f9cdf6fcc033b718ddf57aa85ba322e0aac6b88e686506f7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063003-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95cb663772f26c72337e8d7279abad4e7fb34e5bf07d02b1ec261718f0fd4075
MD5 7a9952187534280b775bd18041dc8fab
BLAKE2b-256 b430ca5e72569ca94d7d40f907fe5872900d67b89fe1e2c183abe297f845da2b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.13.1.dev2026063003-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1e6e31843bb0cf2e84edd0478e06141e87984e62a5123d618ba9753b79495952
MD5 818cfcc34eb654bfafee8ff4f912fdd2
BLAKE2b-256 b6e55b8032a26d0cdfb05df8692bb04ff61b177f48d4424b6683f7749d5a1770

See more details on using hashes here.

Provenance

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