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

Uploaded CPython 3.10+Windows ARM64

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

Uploaded CPython 3.10+Windows x86-64

baml_core-0.12.1.dev2026061200-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.dev2026061200-cp310-abi3-musllinux_1_1_aarch64.whl (6.4 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.1+ ARM64

baml_core-0.12.1.dev2026061200-cp310-abi3-manylinux_2_24_aarch64.whl (6.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.24+ ARM64

baml_core-0.12.1.dev2026061200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.7 MB view details)

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

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061200-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 5bcb222b9b2338d798b9207def1ae66150744159886790bd4decc8c68ab33269
MD5 e5e7ca38a502933a2c7ec9425d6f5372
BLAKE2b-256 9358e76f657fa3c2835ec9f231099d7e1ca18f4244d934025bd7a303b26f1e21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061200-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a16b2d046d14b8440c4f95e622c9e093aac606b4606b6a726082784216376bbd
MD5 9956975179b6d878f61e377e8488b25c
BLAKE2b-256 38f83af18d90de49f9e77e212642d63d10e12097152d692b49ed513ac953df77

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061200-cp310-abi3-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 a4f543ae4c165bad28894a9edf6a20b544eecef03d0ff2e6dc1e3c7798009557
MD5 e2d973b30e670992ffc8f7af009368f4
BLAKE2b-256 709fda0a22fbd7ff9df1e7cef63d07a5a9629090dc911b7d3df9ab4018bdae28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061200-cp310-abi3-musllinux_1_1_aarch64.whl
Algorithm Hash digest
SHA256 2b64edd0e1185a0173528474149168c8f787d28e07aa35d05d6c743a9ee5a926
MD5 e9826f01e2aa42282a1d44afab7fc2ed
BLAKE2b-256 e38d59a0a28bdb754874817805832d975641dcc29d6373c9f388bcdde41f8d9d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061200-cp310-abi3-manylinux_2_24_aarch64.whl
Algorithm Hash digest
SHA256 077c07171cc568fcf160ef77dcc1bad43b8111f6325bbc59375f5bc8048ea5a1
MD5 d55d92d3a361a99f6d3b9de3395e3b58
BLAKE2b-256 7975458c092643b48326053233ff2a139f849e5d60a23d0a700bbee3b24c0015

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061200-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 00117a930bb6c7a819134da3a4467c689236a67d963b8553f9d5aa14575691f9
MD5 c2488d67957542ec86328c7cd466b858
BLAKE2b-256 09654b28376ca35fb5d13811b81dad9a7a2e761420d1c64d2bc6e18df082b5a6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061200-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a28026995c1badc82a7890c9dfeb93f8f7a9f6e703c27dffad6ef7cfe9e737bd
MD5 6084c8f7367db60dd3cb919df282688d
BLAKE2b-256 4e4fa98d21735a22b5494e547fcd57dab67848b92d84008682deb4bdd8fdc4c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for baml_core-0.12.1.dev2026061200-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 3eb32751ae132662e29fe0a17d2fecc950a3aa349f286b7aec1dc85a326be58d
MD5 17a26e05765df16df1b254f642dc1fee
BLAKE2b-256 ae83af5702bbe9b0a69616967534b919fe6e09405d33e0a5bbf0869ca2a0a94d

See more details on using hashes here.

Provenance

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