Skip to main content

A more beautiful JSON-RPC implemenation in python

Project description

Python Symmetric JSON-RPC

“A more beautiful JSON-RPC implemenation in python.”

A JSON-RPC (see http://json-rpc.org) implementation for Python, with the following features:

  • Symmetric - both the connecting and the listening process 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 interlieved 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 the slightest (e.g. OpenSSL)

What this really drills down to is that this library implements the full specification of JSON-RPC over sockets, something no other implementation of JSON-RPC for Python does.

For usage details, look at the examples in the “examples” directory.

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

symmetricjsonrpc-0.1.0.tar.gz (9.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page