Skip to content

Usage without frameworks

1. Install lite-bootstrap[free-all]:

uv add "lite-bootstrap[free-all]"
pip install "lite-bootstrap[free-all]"
poetry add "lite-bootstrap[free-all]"

Read more about available extras here.

2. Define bootstrapper config and build your application:

from lite_bootstrap import FreeConfig, FreeBootstrapper


bootstrapper_config = FreeConfig(
    opentelemetry_endpoint="otl",
    sentry_dsn="https://testdsn@localhost/1",
)
bootstrapper = FreeBootstrapper(bootstrapper_config)
bootstrapper.bootstrap()

Read more about available configuration options here.