pyvider
2025-02-13
Moved rpcplugin gRPC helper modules (`interceptor
68 files · 1,742+ · 2,077-
Unused gRPC Modules
65 files changed
__init__.pyUpdated __init__.py (+0/-0 lines)interceptor.pyUpdated interceptor.py (+0/-0 lines)reflection.pyUpdated reflection.py (+0/-0 lines)requirements.txtUpdated requirements.txt (+48/-4 lines)__init__.pyUpdated __init__.py (+1/-4 lines)broke-server.pyRemoved broke-server.py (-149 lines)test_client_grpc.pyRemoved test_client_grpc.py (-151 lines)test_server_two.pyRemoved test_server_two.py (-239 lines)test_transport_unix_minimal.pyRemoved test_transport_unix_minimal.py (-149 lines)__init__.pyAdded __init__.py (+25 lines)base.pyUpdated base.py (+21/-15 lines)connection.pyUpdated connection.py (+71/-46 lines)types.pyAdded types.py (+24 lines)config.pyAdded config.py (+12 lines)__init__.pyUpdated __init__.py (+4/-4 lines)certificate.pyUpdated certificate.py (+3/-2 lines)generators.pyUpdated generators.py (+6/-6 lines)types.pyUpdated types.py (+20/-5 lines)2025-02-22-1624-claude.mdAdded 2025-02-22-1624-claude.md (+222 lines)docs:2025-02-12-1655-ugh.mdAdded docs:2025-02-12-1655-ugh.md (+131 lines)kv_protocol.pyUpdated kv_protocol.py (+28/-15 lines)py_kv_server.pyUpdated py_kv_server.py (+9/-8 lines)handshake.pyUpdated handshake.py (+196/-172 lines)example.protoRemoved example.proto (-36 lines)example_pb2.pyRemoved example_pb2.py (-44 lines)example_pb2_grpc.pyRemoved example_pb2_grpc.py (-188 lines)example_server.pyRemoved example_server.py (-31 lines)mock_message.protoRemoved mock_message.proto (-6 lines)mock_message_pb2.pyRemoved mock_message_pb2.py (-36 lines)mock_message_pb2_grpc.pyRemoved mock_message_pb2_grpc.py (-23 lines)mock_server.pyRemoved mock_server.py (-63 lines)protocol.pyUpdated protocol.py (+9/-11 lines)server.pyUpdated server.py (+152/-145 lines)test_connection.pyUpdated test_connection.py (+4/-2 lines)conftest.pyUpdated conftest.py (+24/-123 lines)test_certificate_chains.pyUpdated test_certificate_chains.py (+34/-19 lines)test_certificate_credentials.pyUpdated test_certificate_credentials.py (+9/-5 lines)test_certificate_lifecycle.pyUpdated test_certificate_lifecycle.py (+9/-7 lines)test_certificate_loading.pyUpdated test_certificate_loading.py (+52/-37 lines)test_certificate_mtls.pyUpdated test_certificate_mtls.py (+9/-4 lines)test_certificate_properties.pyUpdated test_certificate_properties.py (+43/-22 lines)test_certificate_verify.pyAdded test_certificate_verify.py (+2 lines)test_crypto.pyUpdated test_crypto.py (+8/-3 lines)test_crypto_generators.pyUpdated test_crypto_generators.py (+4/-4 lines)__init__.pyAdded __init__.py (+6 lines)crypto.pyUpdated crypto.py (+67/-16 lines)handshake.pyAdded handshake.py (+33 lines)transport.pyAdded transport.py (+125 lines)test_handshake_magic_cookie.pyUpdated test_handshake_magic_cookie.py (+9/-18 lines)test_handshake_negotiation.pyUpdated test_handshake_negotiation.py (+9/-19 lines)test_handshake_responses.pyUpdated test_handshake_responses.py (+19/-41 lines)test_minimal_server_client.pyUpdated test_minimal_server_client.py (+16/-1 lines)test_server.pyUpdated test_server.py (+79/-82 lines)test_server_coverage.pyUpdated test_server_coverage.py (+39/-24 lines)test_server_coverage_extra.pyUpdated test_server_coverage_extra.py (+23/-22 lines)test_server_destructor_cleanup.pyUpdated test_server_destructor_cleanup.py (+18/-12 lines)test_transport_tcp.pyUpdated test_transport_tcp.py (+27/-16 lines)test_transport_unix_2.pyUpdated test_transport_unix_2.py (+4/-2 lines)test_transport_unix_3.pyUpdated test_transport_unix_3.py (+3/-3 lines)__init__.pyUpdated __init__.py (+2/-2 lines)base.pyUpdated base.py (+1/-3 lines)tcp.pyUpdated tcp.py (+3/-4 lines)types.pyAdded types.py (+28 lines)unix.pyUpdated unix.py (+7/-4 lines)types.pyAdded types.py (+23 lines)
- Moved
src/pyvider/rpcplugin/grpc/__init__.pytodocs/Xgrpc/__init__.pyspecify internal1 file
__init__.py
- Moved
src/pyvider/rpcplugin/grpc/interceptor.pytodocs/Xgrpc/interceptor.pyspecify internal1 file
interceptor.py
- Moved
src/pyvider/rpcplugin/grpc/reflection.pytodocs/Xgrpc/reflection.pyspecify internal1 file
reflection.py
PyviderProtocol Deduplication
1 file changed
__main__.pyUpdated __main__.py (+5/-15 lines)
- Removed duplicate
PyviderProtocolclass definition in__main__.pydecouple internal1 file
__main__.py
- Kept single definition with proper
add_to_server,get_grpc_descriptors, andget_method_typemethods decouple internal63 files
__main__.pybase.pyprovider.py__init__.pybroke-server.pytest_client_grpc.pytest_server_two.pytest_transport_unix_minimal.py__init__.pybase.pyconnection.pytypes.pyconfig.py__init__.pycertificate.pygenerators.pytypes.py2025-02-22-1624-claude.mddocs:2025-02-12-1655-ugh.mdkv_protocol.pyhandshake.pyexample.protoexample_pb2.pyexample_pb2_grpc.pyexample_server.pymock_message.protomock_message_pb2.pymock_message_pb2_grpc.pymock_server.pyprotocol.pyserver.pytest_connection.pyconftest.pytest_certificate_chains.pytest_certificate_credentials.pytest_certificate_lifecycle.pytest_certificate_loading.pytest_certificate_mtls.pytest_certificate_properties.pytest_certificate_verify.pytest_crypto.pytest_crypto_generators.py__init__.pycrypto.pyhandshake.pytransport.pytest_handshake_magic_cookie.pytest_handshake_negotiation.pytest_handshake_responses.pytest_minimal_server_client.pytest_server.pytest_server_coverage.pytest_server_coverage_extra.pytest_server_destructor_cleanup.pytest_transport_tcp.pytest_transport_unix_2.pytest_transport_unix_3.py__init__.pybase.pytcp.pytypes.pyunix.pytypes.py
- Changed server initialization from
protocol=PyviderProtocol(class) toprotocol=PyviderProtocol()(instance) interface internal63 files
__main__.pybase.pyprovider.py__init__.pybroke-server.pytest_client_grpc.pytest_server_two.pytest_transport_unix_minimal.py__init__.pybase.pyconnection.pytypes.pyconfig.py__init__.pycertificate.pygenerators.pytypes.py2025-02-22-1624-claude.mddocs:2025-02-12-1655-ugh.mdkv_protocol.pyhandshake.pyexample.protoexample_pb2.pyexample_pb2_grpc.pyexample_server.pymock_message.protomock_message_pb2.pymock_message_pb2_grpc.pymock_server.pyprotocol.pyserver.pytest_connection.pyconftest.pytest_certificate_chains.pytest_certificate_credentials.pytest_certificate_lifecycle.pytest_certificate_loading.pytest_certificate_mtls.pytest_certificate_properties.pytest_certificate_verify.pytest_crypto.pytest_crypto_generators.py__init__.pycrypto.pyhandshake.pytransport.pytest_handshake_magic_cookie.pytest_handshake_negotiation.pytest_handshake_responses.pytest_minimal_server_client.pytest_server.pytest_server_coverage.pytest_server_coverage_extra.pytest_server_destructor_cleanup.pytest_transport_tcp.pytest_transport_unix_2.pytest_transport_unix_3.py__init__.pybase.pytcp.pytypes.pyunix.pytypes.py
Provider Base
2 files changed
base.pyUpdated base.py (+14/-8 lines)provider.pyUpdated provider.py (+2/-7 lines)
Config Fix
2 files changed
requirements.txtChanges to requirements.txtconfig.pyChanges to config.py