Skip to main content

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

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

Total release size: 64.5 MB

Release files / baml_core-0.13.0-cp310-abi3-win_arm64.whl

Download URL baml_core-0.13.0-cp310-abi3-win_arm64.whl
Size 8.0 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
bfecca1db8614b76a1814db24ffa9d15985ca68e68982ced117e260962488cda
BLAKE2b-256 checksum
How to use checksums
0dabce5cb424f761a8d774e50027a1c0c3b7ebc32ecc14b1b6312b37a05e29b5
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 28, 2026.

Transparency log

Release files / baml_core-0.13.0-cp310-abi3-win_amd64.whl

Download URL baml_core-0.13.0-cp310-abi3-win_amd64.whl
Size 8.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c889123dacde2b4a1e8f8c78df0c8c6aa5004a1e4f76fc180ac82d8a5ad1bfc8
BLAKE2b-256 checksum
How to use checksums
59e98b17db529b7af36d0d38a0b0c538cb6fe6c3a87f12079601fa3a739ab68a
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 28, 2026.

Transparency log

Release files / baml_core-0.13.0-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.13.0-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
17452daaf5cbfeaa28ce379a2dbbef429c73130c73c23e8ccb4dd6fc9186ca30
BLAKE2b-256 checksum
How to use checksums
6f3de91a5d3176245be21d1987182892b5006b08cdcfd10e2913ece7906bc3e7
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 28, 2026.

Transparency log

Release files / baml_core-0.13.0-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.13.0-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
49a089bcffe0309e71558815ea009100a399b01595fa8ea54f38bab7d226e014
BLAKE2b-256 checksum
How to use checksums
ee88fc12a1d15402859b7f5b902ca6bf75c4e6ba945521744f71ac7d43559f8f
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 28, 2026.

Transparency log

Release files / baml_core-0.13.0-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.13.0-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
f67afb6215dd58326fcd338b0665777cb12586b8321bcf829e78745926418c32
BLAKE2b-256 checksum
How to use checksums
9e1fa924d7a79855e3684686f92f39af3e0ec20e255c14bf1dc975f399c66b3e
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 28, 2026.

Transparency log

Release files / baml_core-0.13.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.13.0-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
ae8cfecbf967cd4c0fb9b728e8b7a595f6152a9803ba96203623955f2837d44b
BLAKE2b-256 checksum
How to use checksums
e029a45c940db9cb5aa59326808aa7fda64c094fdc15378594b2211e34b80b08
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 28, 2026.

Transparency log

Release files / baml_core-0.13.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.13.0-cp310-abi3-macosx_11_0_arm64.whl
Size 7.7 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8c966b9e19e6e17b77e0acaa105a81790ede2e1b188e82d74c22438644fda119
BLAKE2b-256 checksum
How to use checksums
9d85eba3180c64504a60576243ab16fcbe2edaac9d03120aa97af5a657be7f0e
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 28, 2026.

Transparency log

Release files / baml_core-0.13.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.13.0-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
93914c027aeadbcc7696f35ebcfb4c00c94a083ff1732812b6c628a407e12a68
BLAKE2b-256 checksum
How to use checksums
08bb7a7e081acceb68c7aae8ca6eb8ea38536c516670d79b4b3ef5332bcd5cc5
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 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.13.0 This release

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