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.11.3.dev2026060400-cp310-abi3-win_arm64.whl (4.9 MB view details)

Uploaded CPython 3.10+Windows ARM64

baml_core-0.11.3.dev2026060400-cp310-abi3-win_amd64.whl (5.2 MB view details)

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.3.dev2026060400-cp310-abi3-musllinux_1_1_x86_64.whl (6.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ x86-64

baml_core-0.11.3.dev2026060400-cp310-abi3-musllinux_1_1_aarch64.whl (5.7 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.11.3.dev2026060400-cp310-abi3-manylinux_2_24_aarch64.whl (5.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.11.3.dev2026060400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB view details)

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

baml_core-0.11.3.dev2026060400-cp310-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.3.dev2026060400-cp310-abi3-macosx_10_12_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file baml_core-0.11.3.dev2026060400-cp310-abi3-win_arm64.whl.

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060400-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 4b03b7e1a3ed774c0923c3aebf42b5d5c0c85618d3f13eb5edd34e7cca2c0f80
MD5 1ae5098c521cdd870763119261a8111c
BLAKE2b-256 854eb27c5936e757688010d7e6bc2ce570af1df11a67726d10ae1a566d0bddfe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060400-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 fa74a4a805fa33b76e24e510c9601d8bb25e8d5a56fd137e739a2ad922e6de25
MD5 6158034c066f03cbe11d79ef2743848c
BLAKE2b-256 14cfc327ca55bcbb829655f818dbbc8c5795643bf24b708af25e26ceb64e5c3b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060400-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 71498e6b2e84b550e9ca10dd6aca1b33949d8564d6f653eabe5ca12ca4cb9bf7
MD5 02cf7d796bcf06b58955030f135afb49
BLAKE2b-256 7fd3d042493a3053a7b8b5f77d69b9a92b178fd5e649664cbdcfa55aaea5d0be

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060400-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 37b6b3462d35408405c424eda0d78fcc7d1a0775796ac4fbbf772316ba391a26
MD5 488395c81831b45ad6d2add4045d6820
BLAKE2b-256 5cfdaca308665964507caf9804ead86fc9c31fa930551dd46d1a30d2775b7d64

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060400-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 0f509a7feb4c2fc6f3b54717e6f3895b1554bcea691847bdf630d718d830355a
MD5 90b6e35d2dd89384790affa00266152b
BLAKE2b-256 b1e1f430b870346b44e8422577a11ce2e625eb570aa2dcd28e3fe00292044925

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 101d399ba33bf74c187bf23f3bcdf104f23bf103177b668fed6c95b77f58a171
MD5 15f6c6c0f7e08bbf8501fd67f8e23554
BLAKE2b-256 c7945e5c225f2aaf784450d8317848f5028065d9f3351745f8c8c730257ed80f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060400-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d72af632db7a3605d23fb78f6a5639f899a230a1d14af3d07d25f28a8d7c1e8a
MD5 cf8f9831c6f5f238d214878cc9e19230
BLAKE2b-256 fbfca627391d2cd955f3168b7879ad16948caf095a0b9033e4c54d94343098ab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.3.dev2026060400-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 68e82d1f897c7c6db55c19ecb95179c2df9927bf36cb376537f7274d672e4711
MD5 9e2f651c12f339f7bcd988d15cb4d0f2
BLAKE2b-256 2b5f575525616ec453dd683576271b4979a97cdc6170000cb9242d94f3d9c187

See more details on using hashes here.

Provenance

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