Skip to main content

ToolRegistry Hub Documentation

PyPI version Docker Image CI

中文版 | 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 PyPI Docs
toolregistry-server Server adapters — expose tools via OpenAPI & MCP PyPI Docs
toolregistry-hub Ready-to-use tools — calculator, web search, file ops, etc. PyPI Docs

📚 Documentation

For detailed documentation, please visit our ReadTheDocs pages:

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.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for toolregistry-hub 0.12.0
File Size Uploaded Provenance Actions
toolregistry_hub-0.12.0.tar.gz 300.6 kB With provenance Details for toolregistry_hub-0.12.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for toolregistry-hub 0.12.0
File Interpreter ABI Platform Actions
toolregistry_hub-0.12.0-py3-none-any.whl Python 3 none any Details for toolregistry_hub-0.12.0-py3-none-any.whl

Total release size: 570.8 kB

Release files / toolregistry_hub-0.12.0.tar.gz

Download URL toolregistry_hub-0.12.0.tar.gz
Size 300.6 kB
Tags Source
SHA-256 checksum
How to use checksums
638a2dde493498cf3b15436795698def66c60e595e2db05217e0e3fb370d5773
BLAKE2b-256 checksum
How to use checksums
77d8049c4cd8756358f9c05470b19101a8fcdac208cfd5e5126f983ef1b92bae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Release files / toolregistry_hub-0.12.0-py3-none-any.whl

Download URL toolregistry_hub-0.12.0-py3-none-any.whl
Size 270.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b5fdaad0104dad9fe8d4fafbee5a416beb2f87a73df668477b87810ef35c961f
BLAKE2b-256 checksum
How to use checksums
7f3599f883325e2d871a045ea0c4486f60a2b487076a69a1eaff9e04626e9a45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 8, 2026.

Transparency log

Security for toolregistry-hub 0.12.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for toolregistry_hub-0.12.0.tar.gz

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 Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page