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.
- pyvider/__init__.py +7 -0
- pyvider/py.typed +0 -0
- pyvider/rpcplugin/__init__.py +56 -0
- pyvider/rpcplugin/client/__init__.py +30 -0
- pyvider/rpcplugin/client/base.py +1289 -0
- pyvider/rpcplugin/client/connection.py +224 -0
- pyvider/rpcplugin/client/py.typed +0 -0
- pyvider/rpcplugin/client/types.py +52 -0
- pyvider/rpcplugin/config.py +667 -0
- pyvider/rpcplugin/crypto/__init__.py +44 -0
- pyvider/rpcplugin/crypto/certificate.py +932 -0
- pyvider/rpcplugin/crypto/constants.py +25 -0
- pyvider/rpcplugin/crypto/debug.py +224 -0
- pyvider/rpcplugin/crypto/generators.py +119 -0
- pyvider/rpcplugin/crypto/py.typed +0 -0
- pyvider/rpcplugin/crypto/types.py +41 -0
- pyvider/rpcplugin/exception.py +94 -0
- pyvider/rpcplugin/factories.py +178 -0
- pyvider/rpcplugin/handshake.py +907 -0
- pyvider/rpcplugin/health_servicer.py +107 -0
- pyvider/rpcplugin/protocol/__init__.py +50 -0
- pyvider/rpcplugin/protocol/base.py +37 -0
- pyvider/rpcplugin/protocol/grpc_broker_pb2.py +40 -0
- pyvider/rpcplugin/protocol/grpc_broker_pb2.pyi +37 -0
- pyvider/rpcplugin/protocol/grpc_broker_pb2_grpc.py +97 -0
- pyvider/rpcplugin/protocol/grpc_controller_pb2.py +38 -0
- pyvider/rpcplugin/protocol/grpc_controller_pb2.pyi +8 -0
- pyvider/rpcplugin/protocol/grpc_controller_pb2_grpc.py +100 -0
- pyvider/rpcplugin/protocol/grpc_stdio_pb2.py +41 -0
- pyvider/rpcplugin/protocol/grpc_stdio_pb2.pyi +28 -0
- pyvider/rpcplugin/protocol/grpc_stdio_pb2_grpc.py +112 -0
- pyvider/rpcplugin/protocol/py.typed +0 -0
- pyvider/rpcplugin/protocol/service.py +503 -0
- pyvider/rpcplugin/py.typed +0 -0
- pyvider/rpcplugin/rate_limiter.py +134 -0
- pyvider/rpcplugin/server.py +477 -0
- pyvider/rpcplugin/transport/__init__.py +30 -0
- pyvider/rpcplugin/transport/base.py +87 -0
- pyvider/rpcplugin/transport/py.typed +0 -0
- pyvider/rpcplugin/transport/tcp.py +332 -0
- pyvider/rpcplugin/transport/types.py +58 -0
- pyvider/rpcplugin/transport/unix.py +585 -0
- pyvider/rpcplugin/types.py +444 -0
- pyvider_rpcplugin-0.0.11.dist-info/METADATA +610 -0
- pyvider_rpcplugin-0.0.11.dist-info/RECORD +48 -0
- pyvider_rpcplugin-0.0.11.dist-info/WHEEL +5 -0
- pyvider_rpcplugin-0.0.11.dist-info/licenses/LICENSE +201 -0
- pyvider_rpcplugin-0.0.11.dist-info/top_level.txt +1 -0
pyvider/__init__.py
ADDED
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
|
+
# 🐍🏗️🔌
|