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.1.dev2026060402

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.1.dev2026060402
File
baml_core-0.11.1.dev2026060402-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details
baml_core-0.11.1.dev2026060402-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
baml_core-0.11.1.dev2026060402-cp310-abi3-musllinux_1_1_x86_64.whl CPython 3.10 abi3 Linux musl 1.1+ x86-64 Details
baml_core-0.11.1.dev2026060402-cp310-abi3-musllinux_1_1_aarch64.whl CPython 3.10 abi3 Linux musl 1.1+ ARM64 Details
baml_core-0.11.1.dev2026060402-cp310-abi3-manylinux_2_24_aarch64.whl CPython 3.10 abi3 Linux glibc 2.24+ ARM64 Details
baml_core-0.11.1.dev2026060402-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.1.dev2026060402-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details
baml_core-0.11.1.dev2026060402-cp310-abi3-macosx_10_12_x86_64.whl CPython 3.10 abi3 macOS 10.12+ x86-64 Details

Total release size: 44.4 MB

Release files / baml_core-0.11.1.dev2026060402-cp310-abi3-win_arm64.whl

Download URL baml_core-0.11.1.dev2026060402-cp310-abi3-win_arm64.whl
Size 4.9 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
650eddb119c2480f5544756c67f4ffabaa2f2c42a2bfc45b85ee832ace506c46
BLAKE2b-256 checksum
How to use checksums
708d24ee59988f60ab1801807d5cf91c3cd7efcf0277adf999b47ae4b7253bf6
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060402-cp310-abi3-win_amd64.whl

Download URL baml_core-0.11.1.dev2026060402-cp310-abi3-win_amd64.whl
Size 5.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
28e2b1ff4855d06cd2d45690d43805f630ba6e4597dd7cc15d4fc1c7e8e32d2f
BLAKE2b-256 checksum
How to use checksums
e6590699e35d8e1038ffb0a3b3b90f6b210f56ccfafe02c87eaf2ea6a165866e
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060402-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.11.1.dev2026060402-cp310-abi3-musllinux_1_1_x86_64.whl
Size 6.1 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
bc3ceaf1ff9557c92bce2d1eb69cd25c49e6f172a761bb1a24af855eb379ebe8
BLAKE2b-256 checksum
How to use checksums
ca238e183d4cfe0a27020e6c11322ab9938f6a20fae52782e8e8013333b5ca7d
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060402-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.11.1.dev2026060402-cp310-abi3-musllinux_1_1_aarch64.whl
Size 5.7 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
d0efc824fc36e09b5550a00cf2f65aef3ed78582b893b37f4d0cbb4bea065e7a
BLAKE2b-256 checksum
How to use checksums
01b0fd1aeb27cf1da3a9b79870c65282d34c1087a8f9e8d4d10cc11e05efe779
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060402-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.11.1.dev2026060402-cp310-abi3-manylinux_2_24_aarch64.whl
Size 5.5 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
8c98200776a4a2915a3284eca0271c6ae99597b1cdafeb0fd36077420d9fe47a
BLAKE2b-256 checksum
How to use checksums
b0ad18e8ae896888e6e626f6687cd398bb5bff878f076a52ddf0f79b93b40a81
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060402-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.11.1.dev2026060402-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
792c5f530725291bfacb3929d34ba7527ef12386071eaaff80ed8b3398b0cd80
BLAKE2b-256 checksum
How to use checksums
9e574b72d467a1dc0a3c7f970681bb4c45cf0a383414de762de223b25049827e
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060402-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.11.1.dev2026060402-cp310-abi3-macosx_11_0_arm64.whl
Size 5.2 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c480190792e835b49062740138499f28b09e760473e5674adf49dbaec081ab10
BLAKE2b-256 checksum
How to use checksums
fc0036d540eebdd4f577722e591a7206043ea23b5dd5428f072747f246f88eb9
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060402-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.11.1.dev2026060402-cp310-abi3-macosx_10_12_x86_64.whl
Size 5.7 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0a8448b211ec402872ed92509b8697c70ea9e6a0be8eb8d4a06fad34962eecd9
BLAKE2b-256 checksum
How to use checksums
26ca2116c8aa19486b9352c3df5eca5a2d702fe439fe8985ba213b566d60c7d8
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 4, 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