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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

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

Uploaded CPython 3.10+macOS 11.0+ ARM64

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

File metadata

  • Download URL: baml_core-0.11.1-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.1-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 b860c057d6b6e04c7a0c7b02b98d952e401aafea1654b6fa6da7803d1c7b3091
MD5 c1bf05ccb65ef67b45e08891e8824457
BLAKE2b-256 831a616cd79a2ba1a237da7dce7d8c9d37c0faea6dc0965752457540fbcd4602

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: baml_core-0.11.1-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.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 40cac99d1e17cd39a680bec262b28b994ee30153e083059e0b87ad1de75099c8
MD5 1507b343f4c5062d6ea42c7de9a82b0d
BLAKE2b-256 b1332c749a52ab70ab7b53882932393fb0a4b46626b883e0df0a26089ee6c0aa

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 88edec22f7583cefd050d15cd3745d7952adba77b923d5d28b701794246658ff
MD5 d3b07e09d175a468b08e961ef0d11b40
BLAKE2b-256 cd5de26e6babdb2f80533130bcd68be18adea74d9bd4805a3df3de291abaf79c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 060e601b7630ba80b0e373ffe083ee8cc203455ed260885226ac9eb2d59a9559
MD5 407f780c163958b71a4aa90cebcfdcac
BLAKE2b-256 32b86f98749bbfa710aabc97521e43f104033c02a3cff9931ae027cdc74edd98

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 f6a0dc220c3bc3f4b8e17f3fe3baef010acd6c15dc92b0a5799c79985fc601bf
MD5 638fe711baff8576d776415a3c967f72
BLAKE2b-256 1f97240d3a7f5e17ed13b776b8adc41c5ebf13047af58e9b4c16d5c701790c4c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 81eada47d1e7e6417ff2617c87e2843741560ac92977671a0561babfbe480b98
MD5 0f668ddf1fddafa9098ae1513bb931de
BLAKE2b-256 a9bb080c06d89fe7911a76c0f7cd1a7e482e91f4b851370a9bdaad9d87186955

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28bb0657e99a59bdfbbfebcadcde8d54902c8b4919223b29ed6bc78e9c34306d
MD5 15a79bd07f5b5c468c7e99bc655bdadb
BLAKE2b-256 de819029e1ad875d3037e0ac53fdb1cca849e09e4e062471ba9b287c7e73baed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.11.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ecc8ef79dadcd5258220d35d9ae9bbf46f9f73f6eae7d09dd0c4a6f37b47feca
MD5 d309d724632cb2f6b75885b501851c2c
BLAKE2b-256 4df34ec7959e0141853fcc7f8858fed780b61f6271aab87ee0ec7907235149ce

See more details on using hashes here.

Provenance

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