Back to Home
· product · apcore-toolkit
apcore-toolkit logo

apcore-toolkit

Shared Utilities for building apcore adapters

apcore-toolkit provides shared utilities and base classes for creating apcore framework adapters. It includes scanner primitives, schema extraction for supported model libraries, binding helpers, and validation utilities. These shared building blocks reduce duplicated integration code while each adapter remains responsible for its framework-specific behavior.

· 01

Features

01Universal Scanner Base: Robust framework-agnostic logic for discovering endpoints and modules
02Schema Extraction: High-performance extraction of JSON schemas from Pydantic and Zod models
03Binding Generation: Automated creation of apcore-compatible module definitions
04Shared Adapter Semantics: Reuse common scanning and binding rules across integrations
05Boilerplate Reduction: Minimizes code needed to build new framework integrations
06Validation Utilities: Helper functions for runtime input/output contract verification
07Pydantic V2 Support: First-class integration with modern Python type validation
08Rust Edition 2021: High-performance toolkit implementation for Rust web frameworks
· 02

Get Started

Python · Implementation

Python utilities for building apcore adapters (Pydantic, Django, Flask).

Install
$ pip install apcore-toolkit
Quick Start
python.py
from apcore_toolkit import UniversalScanner, SchemaExtractor

# Create a scanner for a new web framework
class MyFrameworkScanner(UniversalScanner):
    def discover_endpoints(self):
        pass

# Extract schema from a Pydantic model
extractor = SchemaExtractor()
json_schema = extractor.extract(MyPydanticModel)
· related

Related Products

apcore logo

apcore

The schema-driven module development framework that the toolkit helps integrate.

View Product
apcore-mcp logo

apcore-mcp

Automatic MCP Server & OpenAI Tools bridge for any apcore-based project.

View Product
apcore-a2a logo

apcore-a2a

A2A adapter for projecting apcore modules to Agent Card and task interfaces.

View Product
apcore-cli logo

apcore-cli

High-performance CLI adapter for apcore modules.

View Product