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.3.dev2026060900

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

Total release size: 47.5 MB

Release files / baml_core-0.11.3.dev2026060900-cp310-abi3-win_arm64.whl

Download URL baml_core-0.11.3.dev2026060900-cp310-abi3-win_arm64.whl
Size 5.3 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
fafebdce9c252e5fde340c400a5925b68f2b5f9f883bcde3801822f295c3e957
BLAKE2b-256 checksum
How to use checksums
da3a45641bbcb1d7fd3c965d5d8bb80a99a1514310d9509acc653c633de474b9
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 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060900-cp310-abi3-win_amd64.whl

Download URL baml_core-0.11.3.dev2026060900-cp310-abi3-win_amd64.whl
Size 5.6 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7c6cf7c673797f2403a27bc6076ac1de939c0a4b8df64f94f3426a4eae348448
BLAKE2b-256 checksum
How to use checksums
23d14f194e98eb43efb9fbfa7c31f6263e36ec0b8e462c2b2838a5acf308e4bc
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 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060900-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.11.3.dev2026060900-cp310-abi3-musllinux_1_1_x86_64.whl
Size 6.5 MB
Tags CPython 3.10 Linux musl 1.1+ x86-64 abi3
SHA-256 checksum
How to use checksums
8c2e6392b458f6860a862fa26b7aa37ba0ec3f79373af4e77bb472e22e09b322
BLAKE2b-256 checksum
How to use checksums
6f1e2cdcdc843252bbef90c00cbebdd588e3b8031cba82d355d2075f61951f6e
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 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060900-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.11.3.dev2026060900-cp310-abi3-musllinux_1_1_aarch64.whl
Size 6.1 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
3f135a4c9fbb5ed9ad023df223e408399bf4ec5ec8d6e6a7961095e07e814b22
BLAKE2b-256 checksum
How to use checksums
ba3e32ca8ed4dae182c898bb092ca1d2f82b46be69e37ca689563acd7d88a5df
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 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060900-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.11.3.dev2026060900-cp310-abi3-manylinux_2_24_aarch64.whl
Size 5.9 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
5959e69bc31e4f35f26ccfd633e1a1faa914f20aae2ce5880299f326558e2e5c
BLAKE2b-256 checksum
How to use checksums
f04a85771e2e8fdc604ddcf29457fea121db4ebefccf40d265e0e3cf52df2687
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 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060900-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.11.3.dev2026060900-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
36c074c3e81c6d9d48edc2ec9332b609ba43c37d461d87d42d4930a2082f40c4
BLAKE2b-256 checksum
How to use checksums
2bb66561410e9d66b1d167c9f4b89009b954e0d64978398219952d421797d8e2
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 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060900-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.11.3.dev2026060900-cp310-abi3-macosx_11_0_arm64.whl
Size 5.6 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8942520c79a25a3f5615ba97107582164d80893cee57b56cf0fd21f2cce5c65a
BLAKE2b-256 checksum
How to use checksums
0b691d80a4300336d00e18166111149c579eff3e4e207f0005f1f12546f23968
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 9, 2026.

Transparency log

Release files / baml_core-0.11.3.dev2026060900-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.11.3.dev2026060900-cp310-abi3-macosx_10_12_x86_64.whl
Size 6.0 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e4520dd8feafdfc6d4fdecc314498f991a063d2ed659f16061ed283a4a49f97a
BLAKE2b-256 checksum
How to use checksums
4009be68673cc7cab135bbfe4d5db4472515963d31276c7f37be98fc5717a0bf
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 9, 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