pyvider 2024-12-09
Refined exception handling with zipcode data source tests and Go wrapper experiments
32 files · 1,658+ · 170-

Refined exception handling in foundation and gRPC modules

3 files changed
  • __init__.py Updated exception exports
  • foundation.py Improved base exception hierarchy
  • grpc.py Refined gRPC error classes
  • Updated exception foundation with improved base hierarchy and refined gRPC error classes harden internal
    2 files
    • foundation.py
    • grpc.py

Improved handler, server, and provider modules

4 files changed
  • handler.py Better request routing (26 lines changed)
  • server.py Configuration improvements
  • __main__.py Minor fixes
  • provider.py Minor fixes
  • Updated handler with better request routing, server with configuration improvements, and minor fixes to main and provider streamline internal
    4 files
    • handler.py
    • server.py
    • __main__.py
    • provider.py

Added zipcode data source tests and Go wrapper experiments

10 files changed
  • test_data_source_zipcode.py Comprehensive data source testing (189 lines)
  • zipcode.py Updated zipcode data source
  • loader.py Wrapper loading tests (28 lines)
  • main.go Go main entry for wrapper test
  • cgo_helpers.go CGo helpers for Python/Go interop
  • greeter.py Python greeter for wrapper test
  • works1-wrapper.go Go wrapper experiment variant 1
  • works2-wrapper.go Go wrapper experiment variant 2
  • works3-wrapper.go Go wrapper experiment variant 3
  • works4-wrapper.go Go wrapper experiment variant 4
  • Added comprehensive zipcode data source tests with updated implementation qualify internal
    2 files
    • test_data_source_zipcode.py
    • zipcode.py
  • Added Go/Python wrapper experiments exploring binary wrapping approaches for the provider qualify internal
    4 files
    • main.go
    • cgo_helpers.go
    • loader.py
    • greeter.py

Improved bundle files script

2 files changed
  • bundle_files.py Improved file path column width and pycache exclusion
  • verify_zipcode_data_source.py Zipcode verification script
  • Improved bundle files script with adjusted file path column width and fixed pycache exclusion pattern streamline internal
    1 file
    • bundle_files.py
  • Added zipcode data source verification script qualify internal
    1 file
    • verify_zipcode_data_source.py