ToolRegistry Hub Documentation
中文版 | English version
Welcome to the ToolRegistry Hub documentation! This document provides detailed descriptions of all tools in the project.
Ecosystem
| Package | Description | PyPI | Docs |
|---|---|---|---|
| toolregistry | Core library — tool registration, schema generation, execution | Docs | |
| toolregistry-server | Server adapters — expose tools via OpenAPI & MCP | Docs | |
| toolregistry-hub | Ready-to-use tools — calculator, web search, file ops, etc. | Docs |
📚 Documentation
For detailed documentation, please visit our ReadTheDocs pages:
- English Documentation: https://toolregistry-hub.readthedocs.io/en/latest/
- 中文文档: https://toolregistry-hub.readthedocs.io/zh-cn/latest/
Tools Overview
ToolRegistry Hub is a Python library that provides various utility tools designed to support common tasks. Here are the main tool categories:
- Calculator Tools - Provides various mathematical calculation functions
- Date Time Tools - Handles date, time, and timezone conversions
- File Operations Tools - Provides file content manipulation functions
- File System Tools - Provides file system operation functions
- Web Search Tools - Provides web search functionality
- Unit Converter Tools - Provides conversions between various units
- Other Tools - Other utility tools
- Server Mode - REST API and MCP server
- Docker Deployment - Docker containerization deployment
For detailed information about each tool category, please refer to the online documentation.
Quick Start
To use ToolRegistry Hub, first install the library:
pip install toolregistry-hub
Then, you can import and use the required tools:
from toolregistry_hub import Calculator, DateTime, FileOps
# Use calculator
result = Calculator.evaluate("2 + 2 * 3")
print(result) # Output: 8
# Get current time
current_time = DateTime.now()
print(current_time)
Documentation Structure
This documentation is organized by tool categories, with each tool category having its own page that details all tools, methods, and usage examples under that category.
Changelog
Web Fetch Tool — Major Update (PR #140)
Structured return value
fetch_content now returns a structured dict instead of a plain str:
{
"content": "...",
"url": "https://example.com",
"strategy": "readability",
"quality": "high",
"content_type": "text/html",
"cached": false,
"elapsed_ms": 123,
"metadata": {"readability_score": 174.3, "content_length": 12345}
}
strategy parameter
A new optional strategy parameter lets you specify the extraction strategy (default: "auto"). Available choices:
| Strategy | Description |
|---|---|
auto |
Recommended — tries each fallback in order |
markdown |
Cloudflare content negotiation |
readability |
Local readability extraction |
soup |
Local BeautifulSoup fallback |
veilrender |
Remote headless browser (requires VEILRENDER_ENDPOINT) |
cdp |
Self-hosted Chrome DevTools Protocol (requires CDP_ENDPOINT) |
jina |
Jina Reader API (always available; optional JINA_API_KEY for higher rate limits) |
Available choices are narrowed at runtime: veilrender and cdp appear only when their respective endpoints are configured.
Updated fallback chain
markdown → readability → soup → veilrender → cdp → jina → local_fallback
VeilRender fallback
VeilRender is a new optional remote headless browser fallback for JS-heavy pages and SPAs. Configure via environment variables:
VEILRENDER_ENDPOINT=https://your-veilrender-instance
VEILRENDER_TOKEN=your_token_here # optional
Contributing
If you want to contribute to ToolRegistry Hub, please refer to the GitHub repository.
Metadata
Release files for toolregistry-hub 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| toolregistry_hub-0.10.0.tar.gz | 243.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| toolregistry_hub-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 478.1 kB
Release files / toolregistry_hub-0.10.0.tar.gz
| Download URL | toolregistry_hub-0.10.0.tar.gz |
|---|---|
| Size | 243.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea00b551254e7b30316db955aadd6c9cded5ce5a9cb54d9c3fd4bc1bdee01ee1
|
|
BLAKE2b-256 checksum How to use checksums |
72fdce66eecb89d5b9e97c50919a39d803c1ed01da9b6c5f279ee56210c7a618
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logRelease files / toolregistry_hub-0.10.0-py3-none-any.whl
| Download URL | toolregistry_hub-0.10.0-py3-none-any.whl |
|---|---|
| Size | 234.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b924a4776360eff79aae75279a1ffcddbfdf5bcbde6960c44f215806c3df569
|
|
BLAKE2b-256 checksum How to use checksums |
6aaa319d47925570d42cf42af6d2f6120a8337d612a64ffd6a1d9f0f1daa7793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency log