plating 2025-10-22
Reorganized modules into schema and templating subpackages
36 files · 226+ · 229-

Schema subpackage

5 files changed
  • __init__.py New 35-line package init with exports
  • formatters.py Moved from schema_utils/formatters.py
  • helpers.py Moved from core/schema_helpers.py
  • processor.py Moved from schema.py
  • __init__.py Deleted old schema_utils package
  • Moved src/plating/schema.py to src/plating/schema/processor.py decouple internal
    1 file
    • processor.py
  • Moved src/plating/schema_utils/formatters.py to src/plating/schema/formatters.py decouple internal
    1 file
    • formatters.py
  • Moved src/plating/core/schema_helpers.py to src/plating/schema/helpers.py decouple internal
    1 file
    • helpers.py
  • Added src/plating/schema/__init__.py (35 lines) with package exports decouple internal
    1 file
    • __init__.py
  • Deleted src/plating/schema_utils/ directory decouple internal
    1 file
    • __init__.py

Templating subpackage

7 files changed
  • __init__.py New 27-line package init with exports
  • engine.py Moved from async_template_engine.py
  • filters.py Moved from template_filters.py
  • functions.py Moved from template_functions.py
  • generator.py Split from templates.py
  • metadata.py Split from templates.py
  • processor.py Split from templates.py
  • Added src/plating/templating/__init__.py (27 lines) with consolidated package exports instantiate internal
    1 file
    • __init__.py
  • Moved template engine, filters, functions, and templates into the new templating subpackage decouple internal
    6 files
    • engine.py
    • filters.py
    • functions.py
    • generator.py
    • metadata.py
    • processor.py

Package and type cleanup

6 files changed
  • __init__.py Updated package exports for new subpackage structure
  • types.py Simplified by extracting type definitions into subpackages
  • CLAUDE.md Updated with new architecture information
  • defaults.py Minor adjustments
  • runtime.py Minor adjustments
  • plating.py Updated imports for new subpackage paths
  • Updated src/plating/__init__.py with revised exports for new subpackage structure decouple internal
    1 file
    • __init__.py
  • Simplified src/plating/types.py by extracting type definitions into appropriate subpackages decouple internal
    1 file
    • types.py

Test and build updates

8 files changed
  • conftest.py Updated imports
  • test_adorner.py Updated imports
  • test_foundation_integration.py Updated imports
  • test_modern_api.py Updated imports
  • test_plating_discovery.py Updated imports
  • test_schema.py Updated imports
  • pyproject.toml Dependency adjustments
  • uv.lock Lock file refresh
  • Fixed imports across all test files for the new subpackage structure qualify internal
    6 files
    • conftest.py
    • test_adorner.py
    • test_foundation_integration.py
    • test_modern_api.py
    • test_plating_discovery.py
    • test_schema.py
  • Updated uv.lock with reresolved dependency versions baseline internal
    2 files
    • uv.lock
    • pyproject.toml