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.2.dev2026061701

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

Total release size: 61.8 MB

Release files / baml_core-0.12.2.dev2026061701-cp310-abi3-win_arm64.whl

Download URL baml_core-0.12.2.dev2026061701-cp310-abi3-win_arm64.whl
Size 7.6 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
f7f1012537d1366fff6a500bcae67462f1d623895fab6f14b7d3f9521433502b
BLAKE2b-256 checksum
How to use checksums
86ae913be69f0ffac9db115ae05358872e88dc575951532edc9fa9ec0ce1106d
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 17, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026061701-cp310-abi3-win_amd64.whl

Download URL baml_core-0.12.2.dev2026061701-cp310-abi3-win_amd64.whl
Size 7.9 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9f16d14514e92d0c2968582efa2bee1439ba2d09d7c15f00e2959d0bcc46391e
BLAKE2b-256 checksum
How to use checksums
6308719a2fd5e39e767455f66bb7beda668f7baf1bc911b8c76965af4a52d3f9
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 17, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026061701-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.12.2.dev2026061701-cp310-abi3-musllinux_1_1_x86_64.whl
Size 8.1 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
fbec48babd3f518f0f03687b65e5f5de688da21a450f028dc62bc32648b37ae4
BLAKE2b-256 checksum
How to use checksums
6cefe64568c5b91ba4b83aceb027bb9e394fbd76cbbe3b4c57a7dcf858721a49
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 17, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026061701-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.12.2.dev2026061701-cp310-abi3-musllinux_1_1_aarch64.whl
Size 7.6 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
31550c28d9efcdbfdff2403deb3bb0380c4fef401cb18a89b1bab5dedc4764ef
BLAKE2b-256 checksum
How to use checksums
524ebd335f0cdeb7f53101caa9c5381d6dd1088c00eb31b69add5417d51ba4f3
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 17, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026061701-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.12.2.dev2026061701-cp310-abi3-manylinux_2_24_aarch64.whl
Size 7.4 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
e205875156bf7ec52af2c5ffa6c9f0a2959d777fe03f00f85af006c1a6dbe920
BLAKE2b-256 checksum
How to use checksums
3eb8da797fd00cc74031203f5e035b2dbd860311e85a2afa38602194145c095f
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 17, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026061701-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.12.2.dev2026061701-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 8.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
0c68dd0d7fa5927e397f9ef99bb25a4ade8a2d17c2c797e6e6cc5207ab38c3bc
BLAKE2b-256 checksum
How to use checksums
317940032243da62c7bc604229af4ad163e13deee5d06772e76146fba31bfcfc
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 17, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026061701-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.12.2.dev2026061701-cp310-abi3-macosx_11_0_arm64.whl
Size 7.4 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6d667df00943d49cdb5aaeb06b856e479cd1ab720b21bcd148afa4dab25152c0
BLAKE2b-256 checksum
How to use checksums
840f08b7a09ba587e8da0f094aced13e992a11f9cddf3fc72f03831cac66676c
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 17, 2026.

Transparency log

Release files / baml_core-0.12.2.dev2026061701-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.12.2.dev2026061701-cp310-abi3-macosx_10_12_x86_64.whl
Size 7.7 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e17bfbc833bf17fe65b57d8e3d3d8e2b601ad62cc6bc96ed32589e0053b89b67
BLAKE2b-256 checksum
How to use checksums
2e0881091aefc9dcb6513c25e953b57e0454b35b93c12c699fd4e1a99817a7f8
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 17, 2026.

Transparency log

Release history Release notifications | RSS feed

0.13.0

8 release files

This release

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