Provides Python APIs to build OCI-compatible images using various backends.
# Source: https://github.com/bentoml/BentoML | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""
User facing python APIs for building a OCI-complicant image.
"""
from __future__ import annotations
import logging
import os
import shutil
import sys
import typing as t
from simple_di import Provide
from simple_di import inject
from ._internal.configuration.containers import BentoMLContainer
from ._internal.container import build as _internal_build
from ._internal.container import (
construct_containerfile as _internal_construct_containerfile,
)
from ._internal.container import get_backend
from ._internal.container import health
from ._internal.container import register_backend
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key