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

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

Total release size: 65.3 MB

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

Download URL baml_core-0.13.1.dev2026070700-cp310-abi3-win_arm64.whl
Size 8.1 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
28ea2aaeb7e1ae43d9ae57c5e62bf3014d6a49f79b16cd341b89b8d3b93ce5e4
BLAKE2b-256 checksum
How to use checksums
19027230c844ac5b217dc04140786fd0cd8f7352b7df515001f80d20aadaf145
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 Jul 7, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070700-cp310-abi3-win_amd64.whl
Size 8.4 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7fca0308dbfe61032821249947b8f78d9ac591ae3b3770a6fc4728a03871f348
BLAKE2b-256 checksum
How to use checksums
0a94baa9361f068bd17c189b3d8735137689ee978e0031c339e72e9fb6604bdb
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 Jul 7, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070700-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
3df4f23f0bbf243d6ffa79eaf90a2b37db5e8e62db8e8d5986cd2462face0951
BLAKE2b-256 checksum
How to use checksums
d483197e12395220ce5ca96c2480ffdaa1dd3d296c979f3440f4f451085ec9c0
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 Jul 7, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070700-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
4db009d0c946cd207969574ae8af696b4aa6976c8c9d8adb573095a63bffb985
BLAKE2b-256 checksum
How to use checksums
136ca4edbf9be72ea6f9b2d4ef8d10ae7525cd10f92faa8d5a6aedb0a3324a2c
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 Jul 7, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070700-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
569a09d59ab7b660a7b103a5affcce4b2e0f38da606e830e03ec5d32ef249058
BLAKE2b-256 checksum
How to use checksums
8098d79f70b1ccd5a3cf15e8fcc5a16999b9df642af4ae8b2b6616d77ea207c4
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 Jul 7, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 8.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
7a48adcd874348bb2d97b45f590b9de3503b2031e2ab86e97a09a60b46e390e5
BLAKE2b-256 checksum
How to use checksums
c6948bfa3022a83916e5bbc4910b5027fcf2be3f7024f087be95fc9da5d29c12
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 Jul 7, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070700-cp310-abi3-macosx_11_0_arm64.whl
Size 7.8 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fe0bb46bd0426e8f7b43cce0e4f041459d1fc697f51645bf86df00029ccd6e2e
BLAKE2b-256 checksum
How to use checksums
177d3a4ecb503ee8c53e4f53b1d62313ab70214fcd0f1e560b49aac9456c2c62
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 Jul 7, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070700-cp310-abi3-macosx_10_12_x86_64.whl
Size 8.2 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
7413a69526476269bb0cf9f854512146754e7d1c774fefc902913dadc4483a41
BLAKE2b-256 checksum
How to use checksums
239962dd02455c1945482d6e3440d4a51f7529416521e6b81fafc708331f4cdb
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 Jul 7, 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