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

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

Total release size: 63.4 MB

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

Download URL baml_core-0.12.2.dev2026062400-cp310-abi3-win_arm64.whl
Size 7.8 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
1ef000550ae25674f12e40baf55b6ef5b120c87372fd162c2007c2d3b25b8bd3
BLAKE2b-256 checksum
How to use checksums
5723ea5c0d1d9cf13606a59bca050f73d75ac0da15126fba6e0a7568ed19a736
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 24, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026062400-cp310-abi3-win_amd64.whl
Size 8.1 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
fde14c948558c557fe92f2551a084d6b32cecb23f184c9c05968ba513512a322
BLAKE2b-256 checksum
How to use checksums
f9c74c3c46e43b945132304eb4e75d182210a6f29850e2dd810a306ddaffb33c
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 24, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026062400-cp310-abi3-musllinux_1_1_x86_64.whl
Size 8.3 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
f02e79005c65619c78bc17ec9a0f825c44b33742b337d7d7d9566a7dc5d33001
BLAKE2b-256 checksum
How to use checksums
564322f4e1bd3d07faf2ee00c26145c434af84e25cf4917349c28568ab0f6500
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 24, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026062400-cp310-abi3-musllinux_1_1_aarch64.whl
Size 7.8 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
8ff92ef245acd242edced52362cd5f7c0d449c5059c5aae96665559f0e8c6a73
BLAKE2b-256 checksum
How to use checksums
56a50baa067f3818ff04f0b9e6fe4980a9f20afbdd9a3d38a850e24021aaa957
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 24, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026062400-cp310-abi3-manylinux_2_24_aarch64.whl
Size 7.6 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
f0e524d1d8e5a1c85345bf82acecff245be86c337af1328548b9a4bcc188fff1
BLAKE2b-256 checksum
How to use checksums
c72ffd89bdc60ee624c572e448a7085cdaf92a085c2aa5811340b17ac23588ed
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 24, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026062400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 8.2 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
61689f2711db93ae3774192b70c871188298497e973360a5d6382e1c37e27203
BLAKE2b-256 checksum
How to use checksums
a95f61128986c1a5d5dd6dae8e8d2c2562e966a8e6655e48e41d661ec12d2052
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 24, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026062400-cp310-abi3-macosx_11_0_arm64.whl
Size 7.6 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
54e195a23f247224190a5990c211e313a998bfbf27ae41582ff920068abf3212
BLAKE2b-256 checksum
How to use checksums
c0166c5a417a133a812ee51abcc1e2d5afa5be101ef6aad600086b2c42b2302b
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 24, 2026.

Transparency log

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

Download URL baml_core-0.12.2.dev2026062400-cp310-abi3-macosx_10_12_x86_64.whl
Size 7.9 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e279057d6339af842ffaba7d2c388036310665f988ef69537abb332f245ee438
BLAKE2b-256 checksum
How to use checksums
14be1fc545039826bb9e566c69cfce0e136353913c307b0d50ab99022c0b3d5e
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 24, 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