pyvider 2024-12-26
Added dependency injector and core services layer with gRPC logging
25 files · 667+ · 173-

Created dependency injection container for service lifecycle management

1 file changed
  • injector.py Dependency injection container managing service lifecycles with typed service resolution (133 lines)
  • Created dependency injection container with typed service registration and resolution for managing service lifecycles instantiate behavioral
    1 file
    • injector.py

Added core services layer and gRPC logging

4 files changed
  • services.py Service interface definitions (24 lines)
  • protocols.py Protocol definitions (6 lines)
  • grpc_logging.py gRPC-specific log formatting and interceptors (36 lines)
  • capabilities-vs-services.md Documentation comparing capabilities and services patterns
  • Added core service interface definitions and protocol definitions instantiate internal
    2 files
    • services.py
    • protocols.py
  • Created gRPC-specific log formatting and interceptors for server logging instantiate internal
    1 file
    • grpc_logging.py
  • Added documentation comparing capabilities and services architectural patterns specify internal
    1 file
    • capabilities-vs-services.md

Improved registry discovery with capability mapping

3 files changed
  • discovery.py Expanded with capability mapping and improved component scanning (48+ lines)
  • decorators.py Updated with Callable type for registration
  • keystone.py Updated registry
  • Expanded registry discovery with capability mapping using Type/Set tracking and improved component scanning streamline internal
    3 files
    • discovery.py
    • decorators.py
    • keystone.py

Updated entry point and file content resource

2 files changed
  • __main__.py Integrated injector (31+ lines)
  • file_content.py Better attribute handling with schema debug logging
  • Updated main entry point with injector integration streamline internal
    1 file
    • __main__.py
  • Improved file content resource with better attribute handling and added schema debug logging streamline internal
    1 file
    • file_content.py