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.12.2.dev2026062602

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

Total release size: 64.2 MB

Release files / baml_core-0.12.2.dev2026062602-cp310-abi3-win_arm64.whl

Download URL baml_core-0.12.2.dev2026062602-cp310-abi3-win_arm64.whl
Size 7.9 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
8fa3375130fefdfdce6df84318b5df5cb161b5a37add75d2e111a2e526eacbec
BLAKE2b-256 checksum
How to use checksums
6e3f6c0ab3ba3da9e5c94352e7e37bb58f1d38c1029f000fe2f90df6b6e14037
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 26, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026062602-cp310-abi3-win_amd64.whl

Download URL baml_core-0.12.2.dev2026062602-cp310-abi3-win_amd64.whl
Size 8.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
fa117524e7a8adc7f72411a77e20f132d41d2043f974acd34d911e5dba7ef9ed
BLAKE2b-256 checksum
How to use checksums
f5e59c1db4422cd1e4738c8d6d710b4e041818fb916532bc841e4063ecb3043f
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 26, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026062602-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.12.2.dev2026062602-cp310-abi3-musllinux_1_1_x86_64.whl
Size 8.4 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
760261935fcc3c8d912f72c9934ce675ad430cdba88cd6605b83d7d2dd6b4d9d
BLAKE2b-256 checksum
How to use checksums
7c93ba586f4dfbdb2850085e014f534db47698d620eb0840c69179aad1f52e07
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 26, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026062602-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.12.2.dev2026062602-cp310-abi3-musllinux_1_1_aarch64.whl
Size 7.9 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
fd84ba8ab126c1d71cb2aba82eac3af36ff305c71e18a0d445390ba99bdb6450
BLAKE2b-256 checksum
How to use checksums
9b617d20079fc7f1783a5c946130ee8c8194af315fffadda3039e1bcf475627c
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 26, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026062602-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.12.2.dev2026062602-cp310-abi3-manylinux_2_24_aarch64.whl
Size 7.7 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
2ab7dbe14e89f5f44a6c0d52411c6e473da30eef3f510b6a83e9066f4707b425
BLAKE2b-256 checksum
How to use checksums
ca8ae566a38add5d93e6a3e319751d2b3d986a4cb4fe34e751d02ca2a8a622b2
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 26, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026062602-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.12.2.dev2026062602-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 8.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
dbc1e21ad27331842c311d509d472003141b59de026abcbda3a02e927bebcb0a
BLAKE2b-256 checksum
How to use checksums
186b9bbf91c6662c50d9cc0c678a01bbff0eabbacf99ac7df29c709c1a4ee5bb
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 26, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026062602-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.12.2.dev2026062602-cp310-abi3-macosx_11_0_arm64.whl
Size 7.7 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
35e2f7649804f73dd1615e170e86bf30147ab2e8ebdba746de0afeaa24a888b5
BLAKE2b-256 checksum
How to use checksums
31ecba8ee3db709f7fe5a8cfccfce2a03e9e90a027eb100ad6f0a01345990f0b
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 26, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026062602-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.12.2.dev2026062602-cp310-abi3-macosx_10_12_x86_64.whl
Size 8.0 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b9d306df7657819e9712fad1c0e11a4ce7f564cb601c3ee8a090682c4fbd7099
BLAKE2b-256 checksum
How to use checksums
e11afe878bd353aece7af5ae094b4a405b7a2b8085f8e6a8ce33c37df8d9c055
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 26, 2026.

Transparency log

Release history Release notifications | RSS feed

0.13.0

8 release files

This release

0.12.1

8 release files

0.12.0

8 release files

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