A symmetric, transport-layer agnostic JSON RPC.
Project description
Python Symmetric JSON-RPC 2.0, v3
=================================
"A symmetric, transport-layer agnostic JSON-RPC 2.0 implementation in Python."
A JSON-RPC 2.0 (see https://jsonrpc.org) implementation for Python with
the following features:
* Symmetric - both the connecting and the listening processes can send
and receive method calls. There is no specific "server" or "client"
process, and no difference between the two connection ends apart
from who initiates the connection.
* Asynchronous - calls can be interleaved with new calls initiated
before a previous call has returned.
* Thread-safe - calls to the remote side can be done from multiple
threads without any locking.
* Transport agnostic - can run on top of anything that resembles a
socket in the slightest (e.g. OpenSSL)
* Dependency free
This library implements the full specification of JSON-RPC 2.0 over sockets.
This is a fork of niligulmohar's "symmetricjsonrpc" with the intent
of bringing it up-to-date with current Python and publishing it
to PyPI.
For usage details, look at the examples in the "examples" directory.
Source origin
=============
This is built upon a library 'symmetricjsonrpc' that had its last work
done in 2014 (10 years before this fork).
https://github.com/niligulmohar/python-symmetric-jsonrpc/
Don't ask me why I added '3' to it, instead of '2', because I haven't
got a clue. I also wanted to keep the 'symmetric' part because it gives
off the function of this lib pretty well.
I realize this looks /a bit/ like typo-squatting, but I hope to keep the
name 'symmetricjsonrpc3' for the time being.
~ Robikz, June 2024
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
symmetricjsonrpc3-0.5.1.tar.gz
(40.6 kB
view details)
Built Distribution
File details
Details for the file symmetricjsonrpc3-0.5.1.tar.gz
.
File metadata
- Download URL: symmetricjsonrpc3-0.5.1.tar.gz
- Upload date:
- Size: 40.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c3d0cf87ad647adfd464e08f331a5fa1d658b4daacb0f83feae07a88ce0abb9 |
|
MD5 | d099bdf67bc01f18b829658b98cb6226 |
|
BLAKE2b-256 | 2a81aa5383f15b55de81e750d27ea07e07e93a432a53f200b19fee58b3071a67 |
File details
Details for the file symmetricjsonrpc3-0.5.1-py3-none-any.whl
.
File metadata
- Download URL: symmetricjsonrpc3-0.5.1-py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8848d9cf993c71899376491f6491a824413f96853ca4fe509c4412a7471408a8 |
|
MD5 | eba4faee5d5ffad2570410b3c9cbf5dc |
|
BLAKE2b-256 | 150ecc54d98a73264b6cd1e0c33bf79e8a61cf3e9f82ed487e35aa359ca84025 |