Development
The library
Section titled “The library”mlbundle uses uv on Python 3.14, Ruff and Pyright. The default development install includes every extra.
uv python install 3.14uv sync --locked --all-extrasuv run pre-commit installRun the checks from the repository root:
uv run ruff check .uv run ruff format --check .uv run pyrightuv run pytestuv buildpytest measures branch coverage with an 80% minimum. CI runs lint and type checks and tests the
built wheel on Ubuntu and Windows, including clean installs without extras. After changing
dependency metadata, run uv sync and commit the updated uv.lock.
Contributor rules, including the security guardrails and the 300-line file limit, are in AGENTS.md. Report vulnerabilities privately as described in the security policy.
This documentation
Section titled “This documentation”The site is an Astro Starlight project in docs/, part of the repository’s pnpm workspace and run
with Vite+ (vp). Use Node.js 22.18+, 24.11+ or 26+:
vp install --frozen-lockfilevp run mlbundle-docs#dev # http://127.0.0.1:4341/vp run mlbundle-docs#buildThe Format 1 contract and security policy pages render the repository’s
docs/format*.md and SECURITY.md files directly, so the specification has one source. Edit
those files, not a copy.
