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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.11.2-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.2-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.2-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.2-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.2-cp310-abi3-macosx_11_0_arm64.whl (5.2 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

baml_core-0.11.2-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.2-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: baml_core-0.11.2-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: CPython 3.10+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for baml_core-0.11.2-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b0569ec31dea47c2d601c3310e3e3b7982ce0bd61e9213d36860cacb898078ad
MD5 6a1d8d5c205b663950e3b172c5336b38
BLAKE2b-256 b16e1c4f76951415b8fd069b6874b69b802362520b80021b24ee171b095568f8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: baml_core-0.11.2-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 5.2 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for baml_core-0.11.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4b50d24953f715dcb1e1daf561f3656c17a9481015d947b0ba72058c799537ad
MD5 3b0d1bc6426ba4e8ba10ea53b06da835
BLAKE2b-256 cdf2635d7b7aadd10715f1a628b805dbf68c26ba05c7f995ce1f979af1856641

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 ae05336c9b470c1f2b85c5bef2b195b1da6e5108e42875dfd18d8610b1475b43
MD5 59f338e6d96ab3d0d283a0a64b11143d
BLAKE2b-256 811760acd915bb99cafced5b0b2ff67d5c12b95ee6238f0c3373d47354bd23f5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 3293552f2cf55c366c8ca4842562e21b9a240bd546fcf45d09c7191a397e73b2
MD5 4e827b051563ec040e35fff0d48b1e3a
BLAKE2b-256 6e1abaae715a4dc009d68b196647aa141d12c4830aa81f1b53a93fe84454d6d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 6e0a9bed75ff7390c2663b6bbf2243bc0103e9d137d7942ef671b19efc608c79
MD5 06e4794b6356d24ede7c1710b0639222
BLAKE2b-256 7b52120771ea53d1dd8cfc47afdb12c37a750453f814742bb5d38e50304eb347

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a53d1e7422d1a0694102848b6fe73ddd143bb2c8b7823f592d1512122e3e788
MD5 02023a3fd0b262f62c60015730624285
BLAKE2b-256 95ced8e7d8f9f3cb1ee7bc300f8d0a4298c74568c818f9052a24e8ae0d6004fc

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 847a3b6f78f496efcb11843eb433c528c437ab5fbeb786824fed80f10486b375
MD5 34f79671486172185964fe9aca164afa
BLAKE2b-256 0e71db3f0557ae76921c79d19bc06d4a9a1802bc7bc441a5bf8ad352b4cdc083

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 cfc7b362410e3f9e04b6314c49a740ecad885f6a3a198fb34987c97aae9bb5dc
MD5 323fa28d6a01aaf4af49dff30bf0ac94
BLAKE2b-256 23368a2e7b39b2b306b97085267edb95110c68b32f77f6104abe8b128615920a

See more details on using hashes here.

Provenance

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