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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061801-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5508bbb65b868a46f9177e7c8c38ebbf36d0d68541300b067ed1919c40139904
MD5 10fd59881bdc887c6d83f72baa75ad95
BLAKE2b-256 b62d3b54c89e165e008232b59e07b1e98ea6d0a1548ff23d7282858081d13180

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061801-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 db81610f8d211041f1db7aed721e311efaf2afe0083810e989e1bff313058542
MD5 014049ea28fcf4d416ee8e5b4cd03759
BLAKE2b-256 1285bf0e55a9080b83e092bd1d71d882e581c8df1f33032874d178d3ffefff11

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061801-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 217c274108d47bac95625c159e68c134fd10eecfd71da680eff8e64b1592f45c
MD5 77b878434ca356ac498f12f8e3533c54
BLAKE2b-256 530f7de20cff1c1f877fa7c8e176ced6003335032a5ad3743fe25a50fdffc1b5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061801-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 abdcc4df68dfdbdd2062aaecac02de9f956119a9457109e9f9fb990554906631
MD5 8836edb11762fd55d22dd899277c126f
BLAKE2b-256 b7ec8f33f18c992cc8be9b81a108b905f583ef0ae7bde8cc3908d3cf18780c5c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061801-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 883335bf0555fb82ffa2aa4847a848a03d4fe3a729c6ae2f3ec315e41958b1a0
MD5 f0fbff1fabcc622ddc9ee6ed789c844b
BLAKE2b-256 c1c7a65d14edf95461acea3f856ca47661497d19a7918d6757b5cc0cfbbcf19f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061801-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f6d3146a4cada7b593b3e5aed116690a106e4f5881eb41f90dc368a63c002e93
MD5 63b93994070904f174976b024aea5ad5
BLAKE2b-256 dfe0567132353cc4a50336ba90efebdb65be512875a2dc02661ea8a62e136d75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061801-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 048d05d56945a0c26a3d5299acf45fbd40ef35eeaebde77b52ff2fabc0bde21b
MD5 186d5bdabbedecb563e2f2d419e34b91
BLAKE2b-256 c5f5b765d448c49601dcda1b87a5121b3817965a5cabd458dd710fb64bc56b14

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.2.dev2026061801-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 a7e37126709090a805211d3e0986594f4bd6e7bdcdbb076425542441e0dd99b8
MD5 b24ad81c52cf7bac04616619bcb5e65b
BLAKE2b-256 d84e4b5cabee88ff7a1cdf1c0d1dc2eb3db43b248055828feb6c2d8bcb3e89f3

See more details on using hashes here.

Provenance

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