pyvider
2024-12-08
Built comprehensive component registry system with discovery and decorators
131 files · 3,375+ · 1,599-
Created comprehensive registry system with discovery and decorators
7 files changed
__init__.pyRegistry package initialization with exportskeystone.pyCentral registry managing all component registrations (150 lines)decorators.pyDecorator-based component registration with type inference (254 lines)discovery.pyAutomatic component discovery from filesystem (115 lines)linking.pyComponent dependency resolution and linking (166 lines)registry_metadata.pyMetadata storage for registered components (120 lines)debugging.pyRegistry introspection and debugging utilities (174 lines)
- Created keystone registry managing all component registrations with decorator-based registration and type inference
instantiate
behavioral
2 files
keystone.pydecorators.py
- Added automatic component discovery from filesystem and dependency resolution with linking
instantiate
behavioral
2 files
discovery.pylinking.py
- Created registry metadata storage and debugging/introspection utilities
instantiate
internal
2 files
registry_metadata.pydebugging.py
Restored core interfaces for all component types
7 files changed
__init__.pyInterfaces packagedata_source.pyData source interface (20 lines)diagnostics.pyDiagnostics interface (22 lines)function.pyFunction interface (32 lines)provider.pyProvider interface (66 lines)resource.pyResource interface (65 lines)schema.pySchema interface (46 lines)
- Restored core interfaces for data source, diagnostics, function, provider, resource, and schema
instantiate
behavioral
6 files
data_source.pydiagnostics.pyfunction.pyprovider.pyresource.pyschema.py
Added top-level component directories and type definitions
9 files changed
__init__.pyTop-level data sources packagedata_source_zipcode.pyZipcode data source__init__.pyTop-level functions packagefunction_random_complex_object.pyRandom complex object functionfunction_verify_zipcode.pyZipcode verification function__init__.pyTop-level resources packageresource_file_content.pyFile content resourcetype_definitions.pyCore type definitions__init__.pyFunctions module initialization
- Created top-level component directories for data sources, functions, and resources with implementations
instantiate
internal
4 files
data_source_zipcode.pyfunction_random_complex_object.pyfunction_verify_zipcode.pyresource_file_content.py
- Added core type definitions and functions module initialization
instantiate
internal
2 files
type_definitions.py__init__.py
Reorganized test infrastructure and added registry tests
11 files changed
test_registry.pyRegistry unit teststest_registry_integration.pyRegistry integration teststest_mock_discovery.pyMock discovery teststest_data_source.pyData source interface teststest_function.pyFunction interface teststest_provider.pyProvider interface teststest_resource.pyResource interface teststest_schema.pySchema interface testsmock_data_source.pyMock data sourcemock_function.pyMock functionmock_resource_file.pyMock file resource
- Added registry unit and integration tests plus mock discovery tests
qualify
internal
3 files
test_registry.pytest_registry_integration.pytest_mock_discovery.py
- Created interface tests and mock implementations for data sources, functions, providers, resources, and schema
qualify
internal
4 files
interfacesdata_sourcesfunctionsresources