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.1.dev2026061101

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

Total release size: 49.6 MB

Release files / baml_core-0.12.1.dev2026061101-cp310-abi3-win_arm64.whl

Download URL baml_core-0.12.1.dev2026061101-cp310-abi3-win_arm64.whl
Size 5.6 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
96d10b5413d2959f9129fcb46d42f1618a9f7fce4a541af284b681061634fde2
BLAKE2b-256 checksum
How to use checksums
f9b59e0920017f645554f88ea4e3fc12b21d7e9f96f7cdf47bdadf303699f184
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 11, 2026.

Transparency log

Release files / baml_core-0.12.1.dev2026061101-cp310-abi3-win_amd64.whl

Download URL baml_core-0.12.1.dev2026061101-cp310-abi3-win_amd64.whl
Size 5.9 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
92f52d691e2740e4cb8f604e514968a00a3ea673828c6f82ea7b6ea2162826df
BLAKE2b-256 checksum
How to use checksums
02f3c64907b690f494bd666ee4952980e787609a65d4a2393176496a9406c1a0
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 11, 2026.

Transparency log

Release files / baml_core-0.12.1.dev2026061101-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.12.1.dev2026061101-cp310-abi3-musllinux_1_1_x86_64.whl
Size 6.8 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
886b9d5699b6526d20ca8e2e7189533621f0e0782ff7a3897fb70fddf42a78eb
BLAKE2b-256 checksum
How to use checksums
0465b5aaea1ef0237bb806c8cbad8e295606ac6419d11dfa3a4b86fa11a1e503
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 11, 2026.

Transparency log

Release files / baml_core-0.12.1.dev2026061101-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.12.1.dev2026061101-cp310-abi3-musllinux_1_1_aarch64.whl
Size 6.4 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
f5e81dc25b02eb0ae109260866ebaa790ba56a76999df680ed96f96245a272bf
BLAKE2b-256 checksum
How to use checksums
e95ddf0c1d7a29457df108599cb0b6ba4a880396b7fd5308e52d79e9b5ee3437
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 11, 2026.

Transparency log

Release files / baml_core-0.12.1.dev2026061101-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.12.1.dev2026061101-cp310-abi3-manylinux_2_24_aarch64.whl
Size 6.2 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
8772985781be69ea0a40e8bad497b3439e90a9dcd1bc48442819413b3764f062
BLAKE2b-256 checksum
How to use checksums
b4e311df8eae1ce920ab2440e5150042fea8e8480e5896e8f372150947967d28
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 11, 2026.

Transparency log

Release files / baml_core-0.12.1.dev2026061101-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.12.1.dev2026061101-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.6 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
ba14651609677b30b0060b2a27f3ca2a85b3cca07410f7e06b0f8434f554c744
BLAKE2b-256 checksum
How to use checksums
23f694d6b5d147c249f723449bda6ed68d3f81e2083b132c827fd0f0741005d5
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 11, 2026.

Transparency log

Release files / baml_core-0.12.1.dev2026061101-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.12.1.dev2026061101-cp310-abi3-macosx_11_0_arm64.whl
Size 5.8 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
961639ddec620bd710d7b64c31ed2be29ebac4b89c017b81a0c7139d92d43765
BLAKE2b-256 checksum
How to use checksums
92095404d77759cdef495ee952ef03e5ec0c9083b5b8bde95555a8a8d3b57c14
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 11, 2026.

Transparency log

Release files / baml_core-0.12.1.dev2026061101-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.12.1.dev2026061101-cp310-abi3-macosx_10_12_x86_64.whl
Size 6.3 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ad48273ab48c19060d6e719e32768d5459838c43db24725928f6728422899e4d
BLAKE2b-256 checksum
How to use checksums
e51cf61f8369377f8bec212c4e31dbe0b96f098c1372cea2ea56c75932bb03b0
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 11, 2026.

Transparency log

Release history Release notifications | RSS feed

0.13.0

8 release files

0.12.1

8 release files

This release

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