Release 0.1.0
Initial release. Extracts shared framework-agnostic logic from django-apcore
and flask-apcore into a standalone toolkit package.
Added
ScannedModuledataclass — canonical representation of a scanned endpointBaseScannerABC withfilter_modules(),deduplicate_ids(),
infer_annotations_from_method(), andextract_docstring()utilitiesYAMLWriter— generates.binding.yamlfiles forapcore.BindingLoaderPythonWriter— generates@module-decorated Python wrapper filesRegistryWriter— registers modules directly intoapcore.Registryto_markdown()— generic dict-to-Markdown conversion with depth control
and table heuristicsflatten_pydantic_params()— flattens Pydantic model parameters into
scalar kwargs for MCP tool invocationresolve_target()— resolvesmodule.path:qualnametarget stringsenrich_schema_descriptions()— merges docstring parameter descriptions
into JSON Schema propertiesannotations_to_dict()/module_to_dict()— serialization utilities- OpenAPI utilities:
resolve_ref(),resolve_schema(),
extract_input_schema(),extract_output_schema() - Output format factory via
get_writer() - 150 tests with 94% code coverage
Dependencies
- apcore >= 0.9.0
- pydantic >= 2.0
- PyYAML >= 6.0