Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Metadata

Release files for baml-core 0.11.3.dev2026060903

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for baml-core 0.11.3.dev2026060903
File
baml_core-0.11.3.dev2026060903-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details
baml_core-0.11.3.dev2026060903-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_x86_64.whl CPython 3.10 abi3 Linux musl 1.1+ x86-64 Details
baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_aarch64.whl CPython 3.10 abi3 Linux musl 1.1+ ARM64 Details
baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_24_aarch64.whl CPython 3.10 abi3 Linux glibc 2.24+ ARM64 Details
baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details
baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 47.8 MB

Release files / baml_core-0.11.3.dev2026060903-cp310-abi3-win_arm64.whl

Download URL baml_core-0.11.3.dev2026060903-cp310-abi3-win_arm64.whl
Size 5.4 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
20cece70fcb7394b381c5d3732604ff856236e98c5f03e26062e8c79e6ef01ea
BLAKE2b-256 checksum
How to use checksums
16110fe22186707afdcfb2051f35a7e9398221a2cf14da55d49370d7d13198de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060903-cp310-abi3-win_amd64.whl

Download URL baml_core-0.11.3.dev2026060903-cp310-abi3-win_amd64.whl
Size 5.7 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e9d3a2f8d902c2881dd45e3c4499f48a6d617857c7dc0d89dd4489b6b1730d94
BLAKE2b-256 checksum
How to use checksums
76738912be188a3ea4a23242bb12fedc4ecba8f86bd2c3af19bef8860837e752
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_x86_64.whl
Size 6.6 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
e065474ad85a6271ce626444a0901e72a149178a7c1cd58a2c65ab3980bcef26
BLAKE2b-256 checksum
How to use checksums
6fb87070138bf0203aee30326154f6ce897d9cb3271c51e12ae7634edd109508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.11.3.dev2026060903-cp310-abi3-musllinux_1_1_aarch64.whl
Size 6.1 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
bc7350dd5bf6693c5cc0e3d20b6092266f921ec3552db8cf619af2e8a769efbc
BLAKE2b-256 checksum
How to use checksums
852b076a0310598dde0321c0a33d1d6e226e167dadaf40498fdc38250f66e805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_24_aarch64.whl
Size 5.9 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
e2b20313b1110ed13d703485f2d7113803c45ec53d8e9fe63f87ca6c4da966e1
BLAKE2b-256 checksum
How to use checksums
f943657f5f776886f14b75ee8af92f7884da04ca308ed70d4c203d73f7cb9900
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.11.3.dev2026060903-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
b2abf3e1735ab5f47b2738db76d35567662f962a71fa338f31bc0d21b28f745e
BLAKE2b-256 checksum
How to use checksums
b2c98191c20bebf97aed342054d10478f993981f3acd4aeb86550f0bc9637630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_11_0_arm64.whl
Size 5.6 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
228b9328a370c8f8711449722cfbe9db6093b94318af0f9a4df1d07837d8387e
BLAKE2b-256 checksum
How to use checksums
46ef2582ef83cd19f208cad24bbf660a889a12f83fbd71f6485291499282704c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.11.3.dev2026060903-cp310-abi3-macosx_10_12_x86_64.whl
Size 6.1 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
89fb63e3ca26075993e99deb145056f37e6629aec3d8cd90c9927ad8c841ff81
BLAKE2b-256 checksum
How to use checksums
7d9733de233318cdffe818931583848f510ff49dc30649bc8bef9eaa305456e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 9, 2026.

Transparency log

Release history Release notifications | RSS feed

0.13.0

8 release files

0.12.1

8 release files

0.12.0

8 release files

This release

0.1.2

8 release files

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page