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

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

Total release size: 47.5 MB

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

Download URL baml_core-0.11.3.dev2026060901-cp310-abi3-win_arm64.whl
Size 5.3 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
0ae1c81ebfa448e6f0955356832d83e198a12f39e8dd95f1b930189021b1e253
BLAKE2b-256 checksum
How to use checksums
f5d5aa867f81ae3356fb6a263abcf58060061bdcd1968934a71599f7014398fe
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.dev2026060901-cp310-abi3-win_amd64.whl

Download URL baml_core-0.11.3.dev2026060901-cp310-abi3-win_amd64.whl
Size 5.6 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9a1c6888aae6f3cda1ea74838e55cd18710ecf4bbdef673aaa5595c57d9b0c54
BLAKE2b-256 checksum
How to use checksums
d2816bf0fdcf5e00ce6de4ca4634147a8b4350b5b8bc99ba7d77a2b140cfe267
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.dev2026060901-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.11.3.dev2026060901-cp310-abi3-musllinux_1_1_x86_64.whl
Size 6.5 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
bd098ebceacb9ff982f3287bd1b748a9c50cc7325e286200a00cb81ee1e7c42c
BLAKE2b-256 checksum
How to use checksums
5bba4e57e875cb6aea689938a1515f5eef894f89152598cbd8a169a03fbb7079
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.dev2026060901-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.11.3.dev2026060901-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
13ea892a98fcab6cab3590623a6586dd9f7c11b6b2704648dc1aeacff7c00387
BLAKE2b-256 checksum
How to use checksums
33e729e1de3fc64e5d581f789c1e4e38c12a70b7487ffb6c49765772eb7b841b
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.dev2026060901-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.11.3.dev2026060901-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
5d190471c23ab8ce346ee5c46e55b9adc84d9fc0e22f7100409ecf774f8796c1
BLAKE2b-256 checksum
How to use checksums
4b6e233c900f5377f90b6b7ed79536f075152d699c15248a10aad8a225c548d8
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.dev2026060901-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.11.3.dev2026060901-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
389e71578779ea64ecf8326277c4830caf77fb6ce1ab6c32d629b68feeb484fe
BLAKE2b-256 checksum
How to use checksums
b3157c593bd1f4441522035ae6702ebfc67e72e0ab7fefcc5e0dfe412c3546d0
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.dev2026060901-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.11.3.dev2026060901-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
ba66e70147df5824b428b23d250cc1662bc9b8b7086e72a3ae4ed35a3d44aa59
BLAKE2b-256 checksum
How to use checksums
872b0a379fd6e899b53f0416ff4b3849a3b5964756efe84d0a1cfa9200f340e4
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.dev2026060901-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.11.3.dev2026060901-cp310-abi3-macosx_10_12_x86_64.whl
Size 6.0 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c288cd05d217483bb23e881422075512c9c1e4f0d2ce79a355d2a2b64445175c
BLAKE2b-256 checksum
How to use checksums
6aba6244c458268989f0a70a38b4d6e5219008415a66974fccad20c237f0ddbc
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