Download Latest Version TorBot 4.3.0 source code.zip (2.1 MB)
Email in envelope

Get an email when there's a new version of TorBot

Home / v4.3.0
Name Modified Size InfoDownloads / Week
Parent folder
torbot-4.3.0.tar.gz 2026-07-28 2.1 MB
torbot-4.3.0-py3-none-any.whl 2026-07-28 2.1 MB
README.md 2026-07-28 905 Bytes
TorBot 4.3.0 source code.tar.gz 2026-07-28 2.1 MB
TorBot 4.3.0 source code.zip 2026-07-28 2.1 MB
Totals: 5 Items   8.5 MB 3

This release makes the page classifier much cheaper to use during crawls.

What's changed

  • Trains the NLP classifier lazily from the packaged CSV and caches it for the process.
  • Stops retraining the model for every crawled page.
  • Returns prediction confidence for the selected category instead of the old misleading random-split accuracy value.
  • Keeps normal classification from generating a training_data/ directory at runtime.
  • Removes process-wide directory changes from the NLP helpers.
  • Adds direct NLP coverage for text extraction, CSV loading, classifier scoring, and path-safe training-data export.

Install

:::sh
pip install torbot==4.3.0

Checks

  • .venv/bin/python -m pytest tests/test_nlp.py
  • .venv/bin/python -m pytest
  • .venv/bin/python -m flake8 src/torbot/modules/nlp/main.py src/torbot/modules/nlp/gather_data.py tests/test_nlp.py
  • scripts/publish.sh
Source: README.md, updated 2026-07-28