RPConnect
Lightweight Remote Procedure Call framework. Only two components are of importance:
- RpcServer
A long-running server, where callables can be registered.
- remote_call
A single-use client, to call procedures on an RpcServer.
Overview
On the server side, you can define and register callables. These are then exposed by name:
def pingpong(*args, **kwargs):
return args, kwargs
with RpcServer(23000) as server:
server.register(pingpong)
server.run()
On the client side, you can directly dispatch a remote_call. This will block until a reply is available:
remote_call('localhost', 23000, 'pingpong', 'hello', 'world')
About
This is a simple RPC library, primarily for prototyping and education setups. It uses a JSON based protocol, which protects against undesired code execution. Any complex protocols, such as packed or pickle based data, can be implemented on top.
Metadata
Release files for rpconnect 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rpconnect-0.10.0.tar.gz | 3.5 kB | Without provenance | Details for rpconnect-0.10.0.tar.gz |
Release files / rpconnect-0.10.0.tar.gz
| Download URL | rpconnect-0.10.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f440669ad1b060e41c6a4de9f7799b23271d891f0d9a6f515e59bafcc2c4ff0
|
|
BLAKE2b-256 checksum How to use checksums |
649f2095f5ffd4cdb545abd5978fe073bd0fc2193a3660cb41b09df8ee311ee7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rpconnect 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.