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

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

Total release size: 64.8 MB

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

Download URL baml_core-0.13.1.dev2026070103-cp310-abi3-win_arm64.whl
Size 8.0 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
7cfd8983aaf99acc299fbedc1a4a11df11f71b6400c3725d6997474bebe210b7
BLAKE2b-256 checksum
How to use checksums
d68de00b2d9739eff86d8a533ab0036b4ed55f63f30efbe033c07e409c45b855
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 1, 2026.

Transparency log

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

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

Transparency log

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

Download URL baml_core-0.13.1.dev2026070103-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
16d1cae87822d424309a8d4be4b475c047106cad0444b2b72a90ec5ef661fb6d
BLAKE2b-256 checksum
How to use checksums
ed290094681f75cc2328e35ff419dd611c8fd7ca34f69a7c08729ea3da3dc379
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 1, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070103-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
9b3e1b97a8d8c40f864fccb3534941aa644deb31719818bfd0044af71d72625d
BLAKE2b-256 checksum
How to use checksums
c286233cb9c98f0d5cba045a083e785d1a966410c55760b4592a908b3ad8fcde
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 1, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070103-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
fc8b61a2d774bfe09aa5d3d3abcdc063b8f67eb7935201323c79b472cd615bd8
BLAKE2b-256 checksum
How to use checksums
5335783c9c0216d6dc8c9af31255c72819ff2a9dea3c3b056002495adf62a946
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 1, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070103-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
dee3698dddd4298fbc414b6847fcb5c1670d595d456543f9435007222cd24e34
BLAKE2b-256 checksum
How to use checksums
3a5f384344484bd240796091390796f2ba69b1847c0adbb49dbd32ee82e5e5ec
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 1, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070103-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
1dd03ba9eb963a0871bf3a2458eb465e6867fbb1b1c223209ec6d964e6ab216a
BLAKE2b-256 checksum
How to use checksums
b5c3d8004ec40664986e6829699f77c24e23cb9e9cc21f75869e335a626fede9
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 1, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026070103-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
d5118f5d079c3bbcc45187ce0ac59f6e45d98b3953a1456bd558aabbc4b3b29a
BLAKE2b-256 checksum
How to use checksums
cdfafe495d4ca52e807d94ecdb3e9cdfbb06bf54911014d60290948b076ff6cb
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 1, 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