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 you application:

from lite_bootstrap import FreeBootstrapperConfig, FreeBootstrapper


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

Read more about available configuration options here: