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

Total release size: 44.4 MB

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

Download URL baml_core-0.11.3.dev2026060400-cp310-abi3-win_arm64.whl
Size 4.9 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
4b03b7e1a3ed774c0923c3aebf42b5d5c0c85618d3f13eb5edd34e7cca2c0f80
BLAKE2b-256 checksum
How to use checksums
854eb27c5936e757688010d7e6bc2ce570af1df11a67726d10ae1a566d0bddfe
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.3.dev2026060400-cp310-abi3-win_amd64.whl

Download URL baml_core-0.11.3.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
fa74a4a805fa33b76e24e510c9601d8bb25e8d5a56fd137e739a2ad922e6de25
BLAKE2b-256 checksum
How to use checksums
14cfc327ca55bcbb829655f818dbbc8c5795643bf24b708af25e26ceb64e5c3b
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.3.dev2026060400-cp310-abi3-musllinux_1_1_x86_64.whl

Download URL baml_core-0.11.3.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
71498e6b2e84b550e9ca10dd6aca1b33949d8564d6f653eabe5ca12ca4cb9bf7
BLAKE2b-256 checksum
How to use checksums
7fd3d042493a3053a7b8b5f77d69b9a92b178fd5e649664cbdcfa55aaea5d0be
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.3.dev2026060400-cp310-abi3-musllinux_1_1_aarch64.whl

Download URL baml_core-0.11.3.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
37b6b3462d35408405c424eda0d78fcc7d1a0775796ac4fbbf772316ba391a26
BLAKE2b-256 checksum
How to use checksums
5cfdaca308665964507caf9804ead86fc9c31fa930551dd46d1a30d2775b7d64
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.3.dev2026060400-cp310-abi3-manylinux_2_24_aarch64.whl

Download URL baml_core-0.11.3.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
0f509a7feb4c2fc6f3b54717e6f3895b1554bcea691847bdf630d718d830355a
BLAKE2b-256 checksum
How to use checksums
b1e1f430b870346b44e8422577a11ce2e625eb570aa2dcd28e3fe00292044925
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.3.dev2026060400-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL baml_core-0.11.3.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
101d399ba33bf74c187bf23f3bcdf104f23bf103177b668fed6c95b77f58a171
BLAKE2b-256 checksum
How to use checksums
c7945e5c225f2aaf784450d8317848f5028065d9f3351745f8c8c730257ed80f
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.3.dev2026060400-cp310-abi3-macosx_11_0_arm64.whl

Download URL baml_core-0.11.3.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
d72af632db7a3605d23fb78f6a5639f899a230a1d14af3d07d25f28a8d7c1e8a
BLAKE2b-256 checksum
How to use checksums
fbfca627391d2cd955f3168b7879ad16948caf095a0b9033e4c54d94343098ab
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.3.dev2026060400-cp310-abi3-macosx_10_12_x86_64.whl

Download URL baml_core-0.11.3.dev2026060400-cp310-abi3-macosx_10_12_x86_64.whl
Size 5.7 MB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
68e82d1f897c7c6db55c19ecb95179c2df9927bf36cb376537f7274d672e4711
BLAKE2b-256 checksum
How to use checksums
2b5f575525616ec453dd683576271b4979a97cdc6170000cb9242d94f3d9c187
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