| Name | Modified | Size | Downloads / 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.pyscripts/publish.sh