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.13.1.dev2026062902

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

Total release size: 64.6 MB

Release files / baml_core-0.13.1.dev2026062902-cp310-abi3-win_arm64.whl

Download URL baml_core-0.13.1.dev2026062902-cp310-abi3-win_arm64.whl
Size 8.0 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
b2875431762387729b6bc217774e11b5ae4d060d658147f0f8eab064ef365ee7
BLAKE2b-256 checksum
How to use checksums
3224a58142819cf38091b3131191ce68ce318127668d8f9fd74e681921168ce3
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 29, 2026.

Transparency log

Release files / baml_core-0.13.1.dev2026062902-cp310-abi3-win_amd64.whl

Download URL baml_core-0.13.1.dev2026062902-cp310-abi3-win_amd64.whl
Size 8.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2ad96012a69fbc6161bfec84042a8798d0e5693ba32fe17582b4531a2eaca7e0
BLAKE2b-256 checksum
How to use checksums
d980375d519053178ac8218fdd68e11f1d10053dd03b0193da4ae790abf674bc
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 29, 2026.

Transparency log

Release files / baml_core-0.13.1.dev2026062902-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.13.1.dev2026062902-cp310-abi3-musllinux_1_1_x86_64.whl
Size 8.5 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
4b8ef1cb5b41b22676c881576da79c964334b67be65b7a0e250f65ca0b077202
BLAKE2b-256 checksum
How to use checksums
5b1708c7a7dfbef0004107f921459d6c00e98d6f780285f1be9603ec9b72d936
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 29, 2026.

Transparency log

Release files / baml_core-0.13.1.dev2026062902-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.13.1.dev2026062902-cp310-abi3-musllinux_1_1_aarch64.whl
Size 8.0 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
65554b5b49c3701d2fed88e036017e0c08244e2f41bb826980dfda7afc71eff7
BLAKE2b-256 checksum
How to use checksums
e2c8b47b740fa0c3a8ec5e70fd5bb53101876437368c3a6269f399b41167c646
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 29, 2026.

Transparency log

Release files / baml_core-0.13.1.dev2026062902-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.13.1.dev2026062902-cp310-abi3-manylinux_2_24_aarch64.whl
Size 7.8 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
3fabee9140f50a6bc1314d6f9956f953488af5e75b8e20f0528924f65570d606
BLAKE2b-256 checksum
How to use checksums
e724fa0a4a5aad29da0413f846f7b3a7eaf1f353a4e190bfdb36f08c45189783
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 29, 2026.

Transparency log

Release files / baml_core-0.13.1.dev2026062902-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.13.1.dev2026062902-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
d2f6e759484f8cf84c10c600129e782b57a1d4d60eed5b6a997898e8c6d76455
BLAKE2b-256 checksum
How to use checksums
cfbf976bc837a21e8e620a212368626f85b06b501e3a6134d85a0a007aa5825b
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 29, 2026.

Transparency log

Release files / baml_core-0.13.1.dev2026062902-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.13.1.dev2026062902-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
82c4a8f59806db96fd2bccd549244d004b974f53f9babd6273b2f16c0306873e
BLAKE2b-256 checksum
How to use checksums
70c9a7f1321faadd87429cf240f1cfa44f641c8e6bdd2eb3cc779edb87cd9a48
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 29, 2026.

Transparency log

Release files / baml_core-0.13.1.dev2026062902-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.13.1.dev2026062902-cp310-abi3-macosx_10_12_x86_64.whl
Size 8.1 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
7804e6c45ce1567a43049a182e8a6c3336de3b4c054718df35110c37feb889ca
BLAKE2b-256 checksum
How to use checksums
6fe33eef2abee16da5251bc53e7ded8d71a9d1415ef8784442c48981d973ac45
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 29, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.13.0

8 release files

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