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

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

Total release size: 64.7 MB

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

Download URL baml_core-0.13.1.dev2026063004-cp310-abi3-win_arm64.whl
Size 8.0 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
9571dc88521c6b40c95050077728ae49e423393fe2a9f1ef44fa9c62d93a091d
BLAKE2b-256 checksum
How to use checksums
d2048e69001bd2ecce047ff8d81a9ca491c3ed7f7887f59e80827e692ad6093e
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 30, 2026.

Transparency log

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

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

Transparency log

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

Download URL baml_core-0.13.1.dev2026063004-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
41c5545a4ecd732f063b38e53dcda3f463bf41fccc835b74f56cb8625f99aeeb
BLAKE2b-256 checksum
How to use checksums
965b291d34e49caf0e0bfa9ae690a4656e66522e8f2ae0a7aaf08e4e10a03af3
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 30, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026063004-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
32e45eaa1acef0b768744f5c688834b1759ba2277adf4ac050e176d1b1bc77a5
BLAKE2b-256 checksum
How to use checksums
f76bd3d6ea6f53fcf1a4cf4c2bd896941fb70089de3e413baec341071f94177f
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 30, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026063004-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
970a8cc0ec02c1aa3560d306cd299c1f2be72c0de0698905661e208c9696c4db
BLAKE2b-256 checksum
How to use checksums
14ad8e92711cccf0d1cfc20d0ebddafbd4a46f0629d92655b4131a3f9fd33d65
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 30, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026063004-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
d10305b3247992215f5e296744ad84f21d74ffd3a820d628880206f3945e6f02
BLAKE2b-256 checksum
How to use checksums
319b0918ccf0a75eb81d40cd17aa0883d42249a0803d45a347d23c5624c0586b
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 30, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026063004-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
e7bc3cb0e82947e890c64f731e13f39121677560c073ff33dc8056fd674ff6cf
BLAKE2b-256 checksum
How to use checksums
40e903cd76219989681e6fa9f569f432a73742ca370e7c8573f9c02ce45ef17a
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 30, 2026.

Transparency log

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

Download URL baml_core-0.13.1.dev2026063004-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
7581f0bd4384e4cfa213d6c917fd5628bedbeebfaeef3949e64b3c346b94369b
BLAKE2b-256 checksum
How to use checksums
4589905d03f6a5db8e56598d54a776ec66b137972bd736f01ee01b050ffd9327
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 30, 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