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

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

Total release size: 46.9 MB

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

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

Transparency log

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

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

Transparency log

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

Download URL baml_core-0.11.3.dev2026060700-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
74b0e589337f5b7b2557c63c6b8706c907075cfbcaa8069d3dfa5d881fe4bc48
BLAKE2b-256 checksum
How to use checksums
63cf6789877f20b570822905ed02aa767a5a76bf79e2537ee71a13249dc34728
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 7, 2026.

Transparency log

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

Download URL baml_core-0.11.3.dev2026060700-cp310-abi3-musllinux_1_1_aarch64.whl
Size 6.0 MB
Tags CPython 3.10 Linux musl 1.1+ ARM64 abi3
SHA-256 checksum
How to use checksums
a5ce0791d87bee9b7a558da9aa0a1f31575bf16882398104a63f17d749a6228a
BLAKE2b-256 checksum
How to use checksums
53cba35bb03d1ba57868aa90d13254f8335d4646eb58c819329f17149dae1e75
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 7, 2026.

Transparency log

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

Download URL baml_core-0.11.3.dev2026060700-cp310-abi3-manylinux_2_24_aarch64.whl
Size 5.8 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 abi3
SHA-256 checksum
How to use checksums
537c8b8cb0a830c3085fac4a4d011aadd7b1aac39a7e5113e29fa606d6b35a68
BLAKE2b-256 checksum
How to use checksums
36297d5d153b37d2914ddfc38107a016accec1802f3fee207db21cd362a0d878
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 7, 2026.

Transparency log

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

Download URL baml_core-0.11.3.dev2026060700-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
083c800c892cd3c3850c52cc1987ff1e007906815dcc6fa2c71a461f3f994c1f
BLAKE2b-256 checksum
How to use checksums
39e209be3a776f285cb8b0d16b33b33032560b6aec551330826d78ec2ff4181b
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 7, 2026.

Transparency log

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

Download URL baml_core-0.11.3.dev2026060700-cp310-abi3-macosx_11_0_arm64.whl
Size 5.5 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
205bf900d0437373525c0e2f4fb6412ee647d685c393a2b3e30d7671158183c2
BLAKE2b-256 checksum
How to use checksums
aeabe9a63b6bb1d796b2b663adee502ec7e997192a0ce4677c61892c713ed577
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 7, 2026.

Transparency log

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

Download URL baml_core-0.11.3.dev2026060700-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
9e9969ba949090571a03aa717d11009093fcc804dbce4de463876372884a618c
BLAKE2b-256 checksum
How to use checksums
08b7435981d3052dc4d1dd6d498b5dd231b07e86e136c344d5cf4a442ec74ee8
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 7, 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