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

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

Total release size: 50.5 MB

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

Download URL baml_core-0.12.2.dev2026061605-cp310-abi3-win_arm64.whl
Size 5.7 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
eab5d01112fcf362e2f9238bd7af0e29ba43834c9c8a8edea204bd0c20ff97b5
BLAKE2b-256 checksum
How to use checksums
ae446145e5e68dd2539d1ff84fbf2ca778e403ae8cb9d2e3ffb50f69b46247a5
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 16, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061605-cp310-abi3-win_amd64.whl
Size 6.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
99063f220e34b1bfb38837c156e980fedd6dfe4b9fa98a20a078912bd3a3f6c3
BLAKE2b-256 checksum
How to use checksums
6a5a866375e53f891cf035f61fc148fde38740f5803eb8c108da81e4fee34c2d
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 16, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061605-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
d41d2ff9769826bdef4439bd758aea125a4f38b8722a14f3467786f475f23d1f
BLAKE2b-256 checksum
How to use checksums
1298c1c59434f88d365651ee730c19a859060ba2f21d3352e196aed8ff754e67
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 16, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061605-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
2b09f12435717d72f4b5d2bce6e1643c7ced5a7dee6e40d31d4685c8dc89ea42
BLAKE2b-256 checksum
How to use checksums
9ad297e443fdb23c7a10a9a72c4dd6e1efe74d2bda5e31c96a81d737bf3a4d0f
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 16, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061605-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
a11843138505b1d74a601ad8d6ee6d19f99aea328d10c2f2ce0bd095f8163828
BLAKE2b-256 checksum
How to use checksums
5e2d03ca2de7576d24c3068413cb3901a6791c939c213a4c23cabb3aae7eff05
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 16, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061605-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
5a6282e1e74ddf8cb198ade8cc1356ad3bf2636e4c5ddd61a9113e53f3376a6a
BLAKE2b-256 checksum
How to use checksums
7645e71a514a5bbfce2585415ae6746c68ea60dae130728b80bd498cff63944e
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 16, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061605-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
6a0cdb5577da58c9d2cc5884e7baca9a76984a5cf36190c9a67b05dd6eaab6e3
BLAKE2b-256 checksum
How to use checksums
08b543948928c8b75b6bd31ff857622e19219079392f5d91df14a89f7799884d
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 16, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026061605-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
3bf8a4413a865239ecdd989e7a79095c62f9dc769ad63957418e605a31b7e0d3
BLAKE2b-256 checksum
How to use checksums
d21060a6e9029158730916b6a9c02b3f822d5158178ba4741b2a0c48c18f49d6
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 16, 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