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

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

Total release size: 50.4 MB

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

Download URL baml_core-0.12.2.dev2026061300-cp310-abi3-win_arm64.whl
Size 5.7 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
2a5da6a02c694e74b1398a6e944071a0f21f5bf38cef496742c801b54ca3e83c
BLAKE2b-256 checksum
How to use checksums
83d7ded09f876f6aa7fdbb0234046fe6785d149f020040da130deedad6a94315
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 13, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061300-cp310-abi3-win_amd64.whl
Size 6.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ec08f4224fce2373e075e9e29aad9cadb4865ecd36f6626a12880f19e546cf9f
BLAKE2b-256 checksum
How to use checksums
975cb841e633e2624500871e15ad7becd6494055f63fd99c0cd6739bd961ead9
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 13, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061300-cp310-abi3-musllinux_1_1_x86_64.whl
Size 6.9 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
f6ea4472ea4bce72bcc48b5a968088990225cbec458d49a3ae086b389c267329
BLAKE2b-256 checksum
How to use checksums
8920b04747953b2ea11271a6c1e0d734945c50bc2808546e8017f1e525d2a15c
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 13, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061300-cp310-abi3-musllinux_1_1_aarch64.whl
Size 6.5 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
fb37713b71673500eaef7d5783bd26d7c198bcc7a52cc12e11e4b6969303bfea
BLAKE2b-256 checksum
How to use checksums
1728034deabec3d95d884c19a079d899f019d37741be2afb61abef0a5d853887
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 13, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061300-cp310-abi3-manylinux_2_24_aarch64.whl
Size 6.3 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
38d284c105f197e29223919fe89dde5a379e0e668512013bdd43237006597fb4
BLAKE2b-256 checksum
How to use checksums
b3755f973c42ea46e4c181166196e25f72c3a3352db1aa99417540e310c43381
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 13, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061300-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.7 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
c5fb56aeb58fd9fa78aff712f63627e1dd5994f6b1d6f7b79aa94c109efa4e5a
BLAKE2b-256 checksum
How to use checksums
c84ea3863fc8acc6b47b62829cede9707ee2eb0d4dde4dfc1eb3e8063fac9a75
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 13, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061300-cp310-abi3-macosx_11_0_arm64.whl
Size 5.9 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e42ca019ae398d6f709e86e54cdb4fec971595bed34c735e12cdde02021920b2
BLAKE2b-256 checksum
How to use checksums
16f740594f2bb717c23d8600075da6a79ffb1d8536bdf0f515ec269ce845c52f
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 13, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061300-cp310-abi3-macosx_10_12_x86_64.whl
Size 6.4 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
faaf395f526b5cd1e896a11dca063c12cbba28f31b257219acc87ca521cb20a8
BLAKE2b-256 checksum
How to use checksums
0db8ebde46087e8f1203a15acb69b8567af42ebc57cbd1fff9123ab7c06c822c
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 13, 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