Skip to content

DocLayout v2.1.1

Choose a tag to compare

@pypi-ahmad pypi-ahmad released this 24 Sep 17:16
· 49 commits to main since this release

DocLayout v2.1.1 packages the changes on main since v2.1.0, including bounded document processing, the authenticated HTTP API, safer GUI previews, and updated exports.

Compatibility

HTTP conversion now requires a separate DOCLAYOUT_API_TOKEN sent as Authorization: Bearer <token>. Filepath requests also require an operator configured DOCLAYOUT_INPUT_ROOT; uploads do not. Failed requests use HTTP error statuses and a detail field instead of a successful status with success: false. Existing API clients must update their authentication and error handling. See the API setup guide.

Changes

  • Bound document, archive, image, worksheet, embedded resource, upload, page selection, and model generated table expansion.
  • Release provider resources deterministically and restrict referenced HTML and EPUB resources to embedded data.
  • Sanitize Markdown previews and keep GUI launchers on loopback; the Windows launcher no longer terminates an existing port listener.
  • Add launch folder credential loading, estimated Sol/Luna API costs, timestamped exports, interactive architecture diagrams, and updated guides.

Install

The wheel and source archive are attached below. For the base CLI without Git:

uv pip install "https://github.com/pypi-ahmad/DocLayout/releases/download/v2.1.1/doclayout-2.1.1-py3-none-any.whl"

The gui, server, and full extras add the browser app, HTTP API, and office/HTML/EPUB converters respectively. PyPI publication is deferred.

Verification

214 offline tests passed; 1 skipped. Ruff correctness and uv lock checks passed. A clean checkout produced both distributions. Fresh Windows Python 3.14 installs of the wheel with base, gui, and server dependencies passed consistency checks; CLI help, GUI/API imports, all four prompt resources, and an isolated uv tool install passed. No live model requests or Modal deployment checks were performed.