Skip to main content

PyTools

A collection of Pydantic-powered tools for building AI agents.
Includes utilities such as file readers, file listers, private network readers, crawlers, and more — all designed to integrate smoothly with agent frameworks.


🚀 Features

  • Typed Tools — Strict input/output validation with Pydantic models.
  • Reusable Components — Common utilities like file reading, listing, and crawling.
  • Agent-Friendly — Easily pluggable into LLM agents or tool-based frameworks.
  • Modern Packaging — Built and published using uv.

📦 Installation

pip install tools-pydantic

Or, if you’re using uv

uv pip install tools-pydantic

🛠️ Usage

from ToolsPydantic import FileReaderPyTools, ListProjectFilesPyTools, ReadPrivateNetworkPyTools
from pydantic_ai import Agent

# Example usage
tool = FileReaderPyTools().get_tool()
Agent(
    name="Example Agent",
    # ...
    tools=[
        FileReaderPyTools().get_tool(),
        ListProjectFilesPyTools().get_tool(),
        ReadPrivateNetworkPyTools("https://example.private.tech").get_tool()
    ]
)

🧪 Running Tests

uv run pytest

This project uses pytest and coverage.

To check coverage:

uv run coverage run -m pytest
uv run coverage report -m

Release files for tools-pydantic 0.2.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 tools-pydantic 0.2.0
File Size Uploaded
tools_pydantic-0.2.0.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tools-pydantic 0.2.0
File Interpreter ABI Platform
tools_pydantic-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 21.4 kB

Release files / tools_pydantic-0.2.0.tar.gz

Download URL tools_pydantic-0.2.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e3c1807ba711576b80356f1ae36fe107a20810559fcee823132d480418ad35ec
BLAKE2b-256 checksum
How to use checksums
83d5a44f2a9c3f84712d2aca23d906c5e89928355ea485b99ddf6543e62e533b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.5

Release files / tools_pydantic-0.2.0-py3-none-any.whl

Download URL tools_pydantic-0.2.0-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e22badac5e55ead64f4f5f9dfe090ac0fe24a8dfd0b74b5086061abc4ded7c6
BLAKE2b-256 checksum
How to use checksums
1b291783f9ee693d83e1fef8b00a4d926316fbc4c9f86c7f18082f486427aa79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.5

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

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