Skip to main content

BAML python bindings (new system, bex_engine)

Project description

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

Project details


Release history Release notifications | RSS feed

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

Uploaded CPython 3.10+Windows ARM64

baml_core-0.12.1.dev2026061204-cp310-abi3-win_amd64.whl (6.0 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.1.dev2026061204-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.1.dev2026061204-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.1.dev2026061204-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.1.dev2026061204-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.1.dev2026061204-cp310-abi3-macosx_11_0_arm64.whl (5.9 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.12.1.dev2026061204-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.1.dev2026061204-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061204-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 ad026f702d5d07654bdc6340c1c0b9cab89920d3bed993bacf543d5c90f8d9d1
MD5 796cb5ac6dc39ae9ff11864dcc17dde8
BLAKE2b-256 1039c3676d52d0e8a67b9da21bd0a754117aeaaf9dcf934dc8a8efb7e9351895

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061204-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 50936e64c073024ef2185e7b1093789bec6ec2befe16401213fe25227e0ef99b
MD5 d563338479afcf5c14ae0c4e52de8e5d
BLAKE2b-256 17c5ba54444e57c2b1808330e2d93c1fbf7dbb814759a549573a6243c0d91d6f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061204-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 9893213ebf00eb93f70ff51f14531a034f88f6961f42b5a5ae3e20d3212e84dd
MD5 2fbbf19ba2d3f7bdf49666701168cc2e
BLAKE2b-256 bfee72992f4033979c31a20c13d3beb32912130fe1792da331abb90be78df0c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061204-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 e23c6037a5b595358d4db276963256ec8e0ee1f3bfdd48bcea97335f6c5017a8
MD5 5aaa54a303b68074631b97d6508bf69d
BLAKE2b-256 7bad0dc94f9064f6742869dac6944b171cb82fe815e7493bd03ddaef357b6735

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061204-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 3cc00987c66dc35024b756e183995d6116d1bddc0870d4681ece2d12900902a0
MD5 a1b479753f9f89127ab880fd5ab581a2
BLAKE2b-256 0f8dd47cb15a87c3194cef2d8f78362adb180c61fbeab4863bfeb6b20a1a0997

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061204-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 288570032f320fb68b11d591189b0427ae0fab491bd6ce903c417d6929a0355e
MD5 dfc83b9e7fdd26c37a1125eb33f726c7
BLAKE2b-256 de30ee938eeea255363cbe26fc3c69788216e554d7127b10988a6fada9066a13

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061204-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 57026cd497389c2a47779445c4048f9dd8d20a5d6520ac8559d6ef1b5d542089
MD5 9f810c46c6cede742da1414945955fbd
BLAKE2b-256 890bdbe711808ae33c03f2cbe4a43b4c58b16d0225eeeb266294a8cd0384d389

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061204-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 00b622a7b863492c621302442e7ea9aae68aab51ca0314f7ca53fa49aa211d0b
MD5 8ca9f4915fc872f2711827e95d34cc4f
BLAKE2b-256 17c82a6883d06592fac4c6020b8f0ad4184b8893fe514f2b2bd48a0aefc8f3be

See more details on using hashes here.

Provenance

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page