BAML python bindings (new system, bex_engine)
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file baml_core-0.1.1-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: baml_core-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf87c02cda0b1ba8b205c557d03f522850cdb389b87feea4008f04814ab38305
|
|
| MD5 |
259eeac18a8080a14667bf5f9a0b4fac
|
|
| BLAKE2b-256 |
c6098bda8085abeddf9b9506ca595657edc07d2f00930d2d08574ae48d0b5dbf
|