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.dev2026060302

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

Total release size: 44.2 MB

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

Download URL baml_core-0.11.1.dev2026060302-cp310-abi3-win_arm64.whl
Size 4.9 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
a4c13a43a304684612ccae8dff83f07aca091dc8c529d386fbcbf58532b8cb9b
BLAKE2b-256 checksum
How to use checksums
cc51beccd83cbce9b3f3067ac74b21339f6e06db3c3d6eeae5515a04fe3d9606
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 3, 2026.

Transparency log

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

Download URL baml_core-0.11.1.dev2026060302-cp310-abi3-win_amd64.whl
Size 5.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f54fe969df13b51d4be9d1bbb73356bf0f2c7a6d2c49344b7c0d3cc9f9b7f772
BLAKE2b-256 checksum
How to use checksums
153c4158329672859a9cd10f2624e7ccb99bdf994bafed7e1a8a7e2a9ee2af6d
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 3, 2026.

Transparency log

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

Download URL baml_core-0.11.1.dev2026060302-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
6a786b75a9fb6852f20b03d856e32382bf0cb457af5277818061c691191ef6e3
BLAKE2b-256 checksum
How to use checksums
51777e8cf200aa7374d551b7e880289acd58f8fae9fca118d1a87c02676cb5e8
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 3, 2026.

Transparency log

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

Download URL baml_core-0.11.1.dev2026060302-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
ea674106aab26fc2bee5c97e11547038d60be96916051afa0098c6b2edb9b7e2
BLAKE2b-256 checksum
How to use checksums
f1291ca5f8220adc8b77a5f91fb47c7559d91a54fde7778f9b2bda550ddee35a
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 3, 2026.

Transparency log

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

Download URL baml_core-0.11.1.dev2026060302-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
e1431f022f7f384049b55fcc45ed3d0e5aa8a5c570bfb77b231b553046acdbc3
BLAKE2b-256 checksum
How to use checksums
ffd10c4b1b51609db84435d5c079f9048be027395743f86fa48e208f3a67c3b7
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 3, 2026.

Transparency log

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

Download URL baml_core-0.11.1.dev2026060302-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.9 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
21c5670b82685d1501cd71d102f5c9112af078badcf60b195ac24b65e5737396
BLAKE2b-256 checksum
How to use checksums
f6e4b9ab1d5b92d3ca2951d61683448aa5c508fe5d6ac815ffe4ff1c6fbd05d3
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 3, 2026.

Transparency log

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

Download URL baml_core-0.11.1.dev2026060302-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
b31cc9c092b0856618dbc23cb65ee2cbb069d8b8d67e4893ea71b5fb1bb62b46
BLAKE2b-256 checksum
How to use checksums
2716d7cb218a3d48535b206ee9068e673c15e672b37069c553997ee5afda7e8b
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 3, 2026.

Transparency log

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

Download URL baml_core-0.11.1.dev2026060302-cp310-abi3-macosx_10_12_x86_64.whl
Size 5.6 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3a923215b935c1b07de8f96ac4cb8095d224512ac655ba1508d12f716fe72bcb
BLAKE2b-256 checksum
How to use checksums
0795c1397d7aaa13487dba2581018f0d9df08cfb4274cdc44781398ca6ef6f67
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 3, 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