pyvider-rpcplugin 0.0.11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. pyvider/__init__.py +7 -0
  2. pyvider/py.typed +0 -0
  3. pyvider/rpcplugin/__init__.py +56 -0
  4. pyvider/rpcplugin/client/__init__.py +30 -0
  5. pyvider/rpcplugin/client/base.py +1289 -0
  6. pyvider/rpcplugin/client/connection.py +224 -0
  7. pyvider/rpcplugin/client/py.typed +0 -0
  8. pyvider/rpcplugin/client/types.py +52 -0
  9. pyvider/rpcplugin/config.py +667 -0
  10. pyvider/rpcplugin/crypto/__init__.py +44 -0
  11. pyvider/rpcplugin/crypto/certificate.py +932 -0
  12. pyvider/rpcplugin/crypto/constants.py +25 -0
  13. pyvider/rpcplugin/crypto/debug.py +224 -0
  14. pyvider/rpcplugin/crypto/generators.py +119 -0
  15. pyvider/rpcplugin/crypto/py.typed +0 -0
  16. pyvider/rpcplugin/crypto/types.py +41 -0
  17. pyvider/rpcplugin/exception.py +94 -0
  18. pyvider/rpcplugin/factories.py +178 -0
  19. pyvider/rpcplugin/handshake.py +907 -0
  20. pyvider/rpcplugin/health_servicer.py +107 -0
  21. pyvider/rpcplugin/protocol/__init__.py +50 -0
  22. pyvider/rpcplugin/protocol/base.py +37 -0
  23. pyvider/rpcplugin/protocol/grpc_broker_pb2.py +40 -0
  24. pyvider/rpcplugin/protocol/grpc_broker_pb2.pyi +37 -0
  25. pyvider/rpcplugin/protocol/grpc_broker_pb2_grpc.py +97 -0
  26. pyvider/rpcplugin/protocol/grpc_controller_pb2.py +38 -0
  27. pyvider/rpcplugin/protocol/grpc_controller_pb2.pyi +8 -0
  28. pyvider/rpcplugin/protocol/grpc_controller_pb2_grpc.py +100 -0
  29. pyvider/rpcplugin/protocol/grpc_stdio_pb2.py +41 -0
  30. pyvider/rpcplugin/protocol/grpc_stdio_pb2.pyi +28 -0
  31. pyvider/rpcplugin/protocol/grpc_stdio_pb2_grpc.py +112 -0
  32. pyvider/rpcplugin/protocol/py.typed +0 -0
  33. pyvider/rpcplugin/protocol/service.py +503 -0
  34. pyvider/rpcplugin/py.typed +0 -0
  35. pyvider/rpcplugin/rate_limiter.py +134 -0
  36. pyvider/rpcplugin/server.py +477 -0
  37. pyvider/rpcplugin/transport/__init__.py +30 -0
  38. pyvider/rpcplugin/transport/base.py +87 -0
  39. pyvider/rpcplugin/transport/py.typed +0 -0
  40. pyvider/rpcplugin/transport/tcp.py +332 -0
  41. pyvider/rpcplugin/transport/types.py +58 -0
  42. pyvider/rpcplugin/transport/unix.py +585 -0
  43. pyvider/rpcplugin/types.py +444 -0
  44. pyvider_rpcplugin-0.0.11.dist-info/METADATA +610 -0
  45. pyvider_rpcplugin-0.0.11.dist-info/RECORD +48 -0
  46. pyvider_rpcplugin-0.0.11.dist-info/WHEEL +5 -0
  47. pyvider_rpcplugin-0.0.11.dist-info/licenses/LICENSE +201 -0
  48. pyvider_rpcplugin-0.0.11.dist-info/top_level.txt +1 -0
pyvider/__init__.py ADDED
@@ -0,0 +1,7 @@
1
+ #
2
+ # pyvider/__init__.py (namespace package)
3
+ #
4
+
5
+ __path__ = __import__("pkgutil").extend_path(__path__, __name__)
6
+
7
+ # 🐍🏗️🔌
pyvider/py.typed ADDED
File without changes
@@ -0,0 +1,56 @@
1
+ """
2
+ Pyvider RPC Plugin Package.
3
+
4
+ This package exports the main classes and exceptions for the Pyvider RPC Plugin system,
5
+ making them available for direct import from `pyvider.rpcplugin`.
6
+ """
7
+
8
+ from pyvider.rpcplugin.client import RPCPluginClient
9
+ from pyvider.rpcplugin.config import (
10
+ RPCPluginConfig,
11
+ configure,
12
+ rpcplugin_config,
13
+ )
14
+ from pyvider.rpcplugin.exception import (
15
+ CertificateError,
16
+ ConfigError,
17
+ HandshakeError,
18
+ ProtocolError,
19
+ RPCPluginError,
20
+ SecurityError,
21
+ TransportError,
22
+ )
23
+ from pyvider.rpcplugin.factories import (
24
+ create_basic_protocol,
25
+ plugin_client,
26
+ plugin_protocol,
27
+ plugin_server,
28
+ )
29
+ from pyvider.rpcplugin.protocol import RPCPluginProtocol
30
+ from pyvider.rpcplugin.server import RPCPluginServer
31
+
32
+ __all__ = [
33
+ # Core Classes
34
+ "RPCPluginClient",
35
+ "RPCPluginServer",
36
+ "RPCPluginProtocol",
37
+ # Factory Functions
38
+ "plugin_client",
39
+ "plugin_server",
40
+ "plugin_protocol",
41
+ "create_basic_protocol",
42
+ # Configuration
43
+ "RPCPluginConfig",
44
+ "rpcplugin_config",
45
+ "configure",
46
+ # Exceptions
47
+ "RPCPluginError",
48
+ "ConfigError",
49
+ "HandshakeError",
50
+ "ProtocolError",
51
+ "TransportError",
52
+ "SecurityError",
53
+ "CertificateError",
54
+ ]
55
+
56
+ # 🐍🏗️🔌
@@ -0,0 +1,30 @@
1
+ """
2
+ Pyvider RPC Plugin Client Package.
3
+
4
+ This package provides the core components for creating RPC plugin clients,
5
+ including the main `RPCPluginClient` class, connection handling, and associated types.
6
+ """
7
+
8
+ from pyvider.rpcplugin.client.base import RPCPluginClient
9
+ from pyvider.rpcplugin.client.connection import ClientConnection
10
+ from pyvider.rpcplugin.client.types import (
11
+ ClientT,
12
+ ConnectionT,
13
+ GrpcChannelType,
14
+ GrpcCredentialsType,
15
+ RpcConfigType,
16
+ SecureRpcClientT,
17
+ )
18
+
19
+ __all__ = [
20
+ "ClientT",
21
+ "ConnectionT",
22
+ "SecureRpcClientT",
23
+ "GrpcChannelType",
24
+ "RpcConfigType",
25
+ "GrpcCredentialsType",
26
+ "ClientConnection",
27
+ "RPCPluginClient",
28
+ ]
29
+
30
+ # 🐍🏗️🔌