First release of the modernized websum package.
Install
pip install 'websum[ollama]' # local Ollama backend
pip install 'websum[openai]' # OpenAI backend
pip install 'websum[ui,ollama]' # with Gradio UI
pip install 'websum[all]' # everythingHighlights
- New typed, importable Python API:
Summarizer,SummarizerConfig,LLMBackendProtocol. - Pluggable LLM backends: built-in
OllamaBackendandOpenAIBackend, custom backends via Protocol. - Modern Typer-based CLI:
websum summarize | translate | ui. - Gradio UI moved behind the
uiextra (lazy import). src/layout, PEP 561py.typed, strict mypy, ruff lint+format.- GitHub Actions CI across Python 3.10-3.13, PyPI trusted publishing.
Breaking changes
The 0.1.x scripts under app/ are gone. Project renamed from easy-web-summarizer to websum. See the migration table in README and full notes in CHANGELOG.