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.11.1.dev2026060400

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

Total release size: 44.3 MB

Release files / baml_core-0.11.1.dev2026060400-cp310-abi3-win_arm64.whl

Download URL baml_core-0.11.1.dev2026060400-cp310-abi3-win_arm64.whl
Size 4.9 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
10de2381c8f834c5b06597ccef9faa8524da36c9a4b05e0d4851a47304c4fd43
BLAKE2b-256 checksum
How to use checksums
23b10bf8294a91bca1b0f34ca8af63d8f7847355cb854aeed8bca0fda88e882b
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060400-cp310-abi3-win_amd64.whl

Download URL baml_core-0.11.1.dev2026060400-cp310-abi3-win_amd64.whl
Size 5.2 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
306ee0fc7d13f7661586fe7ad607a03a2d6f281c8fa14d5d09adee71b2dc0486
BLAKE2b-256 checksum
How to use checksums
2a253443adb120fa063feb2637989ca72dfe3de97bd0a1a957322e20a525a707
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060400-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.11.1.dev2026060400-cp310-abi3-musllinux_1_1_x86_64.whl
Size 6.1 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
dd347a387cdddbaf689b5cb2901c73f37eb77949f367530b5ce84c80ce343bb5
BLAKE2b-256 checksum
How to use checksums
18942ddc3920405b0329a519c860a56a1f0593a483518b36800c2e9dcc4326a6
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060400-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.11.1.dev2026060400-cp310-abi3-musllinux_1_1_aarch64.whl
Size 5.7 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
65338fb6669ac9ce6b80d82726daba6acbea4db4b0a4854c59637721ab4a7583
BLAKE2b-256 checksum
How to use checksums
3e983bc0a44ae756d7dd8bf087d23fc26191f1b3d6a4a85f6ab4c88bdddc10d2
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060400-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.11.1.dev2026060400-cp310-abi3-manylinux_2_24_aarch64.whl
Size 5.5 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
a6b7203cd62bf3856b870efc991857b87f848d1b98e6de5440ceb21345f05aee
BLAKE2b-256 checksum
How to use checksums
db8c46f1d5532eaa78ba6d5c5be5ea1b80c49908996ffbdc93d7ea923812c166
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.11.1.dev2026060400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
3d1cc5cd16aa7c5a2b6d8703a1a08a7b3badc0913431a7bfd4ba64e17de7602d
BLAKE2b-256 checksum
How to use checksums
e5f852ab2ce926b406dfe4c4ec7a28b594f0c2fcc660687487230d36dcfc1e95
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060400-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.11.1.dev2026060400-cp310-abi3-macosx_11_0_arm64.whl
Size 5.2 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
676e5b61a94d7bafc9fbf336089fba90dfcb77a1b23a6105636b7d81bdfc24e9
BLAKE2b-256 checksum
How to use checksums
add5b85c6e9019f80a536a491d38e4377a04bf447d4636bca9c08567e82863fd
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 4, 2026.

Transparency log

Release files / baml_core-0.11.1.dev2026060400-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.11.1.dev2026060400-cp310-abi3-macosx_10_12_x86_64.whl
Size 5.6 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
7c7331386680fd8191ae58a7f12f2395a1206175592203f37977ced333e57fb3
BLAKE2b-256 checksum
How to use checksums
0259c4119bb7c8f186b52a92e5dd0bdad3549e9d19de896226a06c311b8c9fca
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 4, 2026.

Transparency log

Release history Release notifications | RSS feed

0.13.0

8 release files

0.12.1

8 release files

0.12.0

8 release files

This release

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