pyvider 2025-02-13
Moved rpcplugin gRPC helper modules (`interceptor
68 files · 1,742+ · 2,077-

Unused gRPC Modules

65 files changed
  • __init__.py Updated __init__.py (+0/-0 lines)
  • interceptor.py Updated interceptor.py (+0/-0 lines)
  • reflection.py Updated reflection.py (+0/-0 lines)
  • requirements.txt Updated requirements.txt (+48/-4 lines)
  • __init__.py Updated __init__.py (+1/-4 lines)
  • broke-server.py Removed broke-server.py (-149 lines)
  • test_client_grpc.py Removed test_client_grpc.py (-151 lines)
  • test_server_two.py Removed test_server_two.py (-239 lines)
  • test_transport_unix_minimal.py Removed test_transport_unix_minimal.py (-149 lines)
  • __init__.py Added __init__.py (+25 lines)
  • base.py Updated base.py (+21/-15 lines)
  • connection.py Updated connection.py (+71/-46 lines)
  • types.py Added types.py (+24 lines)
  • config.py Added config.py (+12 lines)
  • __init__.py Updated __init__.py (+4/-4 lines)
  • certificate.py Updated certificate.py (+3/-2 lines)
  • generators.py Updated generators.py (+6/-6 lines)
  • types.py Updated types.py (+20/-5 lines)
  • 2025-02-22-1624-claude.md Added 2025-02-22-1624-claude.md (+222 lines)
  • docs:2025-02-12-1655-ugh.md Added docs:2025-02-12-1655-ugh.md (+131 lines)
  • kv_protocol.py Updated kv_protocol.py (+28/-15 lines)
  • py_kv_server.py Updated py_kv_server.py (+9/-8 lines)
  • handshake.py Updated handshake.py (+196/-172 lines)
  • example.proto Removed example.proto (-36 lines)
  • example_pb2.py Removed example_pb2.py (-44 lines)
  • example_pb2_grpc.py Removed example_pb2_grpc.py (-188 lines)
  • example_server.py Removed example_server.py (-31 lines)
  • mock_message.proto Removed mock_message.proto (-6 lines)
  • mock_message_pb2.py Removed mock_message_pb2.py (-36 lines)
  • mock_message_pb2_grpc.py Removed mock_message_pb2_grpc.py (-23 lines)
  • mock_server.py Removed mock_server.py (-63 lines)
  • protocol.py Updated protocol.py (+9/-11 lines)
  • server.py Updated server.py (+152/-145 lines)
  • test_connection.py Updated test_connection.py (+4/-2 lines)
  • conftest.py Updated conftest.py (+24/-123 lines)
  • test_certificate_chains.py Updated test_certificate_chains.py (+34/-19 lines)
  • test_certificate_credentials.py Updated test_certificate_credentials.py (+9/-5 lines)
  • test_certificate_lifecycle.py Updated test_certificate_lifecycle.py (+9/-7 lines)
  • test_certificate_loading.py Updated test_certificate_loading.py (+52/-37 lines)
  • test_certificate_mtls.py Updated test_certificate_mtls.py (+9/-4 lines)
  • test_certificate_properties.py Updated test_certificate_properties.py (+43/-22 lines)
  • test_certificate_verify.py Added test_certificate_verify.py (+2 lines)
  • test_crypto.py Updated test_crypto.py (+8/-3 lines)
  • test_crypto_generators.py Updated test_crypto_generators.py (+4/-4 lines)
  • __init__.py Added __init__.py (+6 lines)
  • crypto.py Updated crypto.py (+67/-16 lines)
  • handshake.py Added handshake.py (+33 lines)
  • transport.py Added transport.py (+125 lines)
  • test_handshake_magic_cookie.py Updated test_handshake_magic_cookie.py (+9/-18 lines)
  • test_handshake_negotiation.py Updated test_handshake_negotiation.py (+9/-19 lines)
  • test_handshake_responses.py Updated test_handshake_responses.py (+19/-41 lines)
  • test_minimal_server_client.py Updated test_minimal_server_client.py (+16/-1 lines)
  • test_server.py Updated test_server.py (+79/-82 lines)
  • test_server_coverage.py Updated test_server_coverage.py (+39/-24 lines)
  • test_server_coverage_extra.py Updated test_server_coverage_extra.py (+23/-22 lines)
  • test_server_destructor_cleanup.py Updated test_server_destructor_cleanup.py (+18/-12 lines)
  • test_transport_tcp.py Updated test_transport_tcp.py (+27/-16 lines)
  • test_transport_unix_2.py Updated test_transport_unix_2.py (+4/-2 lines)
  • test_transport_unix_3.py Updated test_transport_unix_3.py (+3/-3 lines)
  • __init__.py Updated __init__.py (+2/-2 lines)
  • base.py Updated base.py (+1/-3 lines)
  • tcp.py Updated tcp.py (+3/-4 lines)
  • types.py Added types.py (+28 lines)
  • unix.py Updated unix.py (+7/-4 lines)
  • types.py Added types.py (+23 lines)
  • Moved src/pyvider/rpcplugin/grpc/__init__.py to docs/Xgrpc/__init__.py specify internal
    1 file
    • __init__.py
  • Moved src/pyvider/rpcplugin/grpc/interceptor.py to docs/Xgrpc/interceptor.py specify internal
    1 file
    • interceptor.py
  • Moved src/pyvider/rpcplugin/grpc/reflection.py to docs/Xgrpc/reflection.py specify internal
    1 file
    • reflection.py

PyviderProtocol Deduplication

1 file changed
  • __main__.py Updated __main__.py (+5/-15 lines)
  • Removed duplicate PyviderProtocol class definition in __main__.py decouple internal
    1 file
    • __main__.py
  • Kept single definition with proper add_to_server, get_grpc_descriptors, and get_method_type methods decouple internal
    63 files
    • __main__.py
    • base.py
    • provider.py
    • __init__.py
    • broke-server.py
    • test_client_grpc.py
    • test_server_two.py
    • test_transport_unix_minimal.py
    • __init__.py
    • base.py
    • connection.py
    • types.py
    • config.py
    • __init__.py
    • certificate.py
    • generators.py
    • types.py
    • 2025-02-22-1624-claude.md
    • docs:2025-02-12-1655-ugh.md
    • kv_protocol.py
    • handshake.py
    • example.proto
    • example_pb2.py
    • example_pb2_grpc.py
    • example_server.py
    • mock_message.proto
    • mock_message_pb2.py
    • mock_message_pb2_grpc.py
    • mock_server.py
    • protocol.py
    • server.py
    • test_connection.py
    • conftest.py
    • test_certificate_chains.py
    • test_certificate_credentials.py
    • test_certificate_lifecycle.py
    • test_certificate_loading.py
    • test_certificate_mtls.py
    • test_certificate_properties.py
    • test_certificate_verify.py
    • test_crypto.py
    • test_crypto_generators.py
    • __init__.py
    • crypto.py
    • handshake.py
    • transport.py
    • test_handshake_magic_cookie.py
    • test_handshake_negotiation.py
    • test_handshake_responses.py
    • test_minimal_server_client.py
    • test_server.py
    • test_server_coverage.py
    • test_server_coverage_extra.py
    • test_server_destructor_cleanup.py
    • test_transport_tcp.py
    • test_transport_unix_2.py
    • test_transport_unix_3.py
    • __init__.py
    • base.py
    • tcp.py
    • types.py
    • unix.py
    • types.py
  • Changed server initialization from protocol=PyviderProtocol (class) to protocol=PyviderProtocol() (instance) interface internal
    63 files
    • __main__.py
    • base.py
    • provider.py
    • __init__.py
    • broke-server.py
    • test_client_grpc.py
    • test_server_two.py
    • test_transport_unix_minimal.py
    • __init__.py
    • base.py
    • connection.py
    • types.py
    • config.py
    • __init__.py
    • certificate.py
    • generators.py
    • types.py
    • 2025-02-22-1624-claude.md
    • docs:2025-02-12-1655-ugh.md
    • kv_protocol.py
    • handshake.py
    • example.proto
    • example_pb2.py
    • example_pb2_grpc.py
    • example_server.py
    • mock_message.proto
    • mock_message_pb2.py
    • mock_message_pb2_grpc.py
    • mock_server.py
    • protocol.py
    • server.py
    • test_connection.py
    • conftest.py
    • test_certificate_chains.py
    • test_certificate_credentials.py
    • test_certificate_lifecycle.py
    • test_certificate_loading.py
    • test_certificate_mtls.py
    • test_certificate_properties.py
    • test_certificate_verify.py
    • test_crypto.py
    • test_crypto_generators.py
    • __init__.py
    • crypto.py
    • handshake.py
    • transport.py
    • test_handshake_magic_cookie.py
    • test_handshake_negotiation.py
    • test_handshake_responses.py
    • test_minimal_server_client.py
    • test_server.py
    • test_server_coverage.py
    • test_server_coverage_extra.py
    • test_server_destructor_cleanup.py
    • test_transport_tcp.py
    • test_transport_unix_2.py
    • test_transport_unix_3.py
    • __init__.py
    • base.py
    • tcp.py
    • types.py
    • unix.py
    • types.py

Provider Base

2 files changed
  • base.py Updated base.py (+14/-8 lines)
  • provider.py Updated provider.py (+2/-7 lines)
  • Updated providers/base.py to import ServerT, HandlerT from pyvider.rpcplugin.types interface internal
    1 file
    • base.py
  • Removed direct grpc.aio import interface internal
    1 file
    • grpc.aio

Config Fix

2 files changed
  • requirements.txt Changes to requirements.txt
  • config.py Changes to config.py
  • Fixed typo in config: “RPC Plugion” to “RPC Plugin” remediate errata
    2 files
    • requirements.txt
    • config.py