A library for writing asynchronous JSON-RPC servers and clients in Python, using Twisted.
Project description
Introduction
A library for writing asynchronous JSON-RPC servers and clients in Python, using Twisted. It aims to be as simple and easy to understand (and hack) as possible.
Read more about JSON-RPC at http://www.jsonrpc.org/
Features
Support for HTTP and HTTPS as protocol (via twisted.web), more might come in the future.
Full standards compliance.
Support both JSON-RPC standards at once - great if you don’t control your clients.
‘Just work’ with various clients (i.e. PHP, C++, JavaScript…)
TODO
More tests, better (functionality) coverage. This applies to every project, always :-) .
Notes
JSON is well readable for a human. It’s easy to use Wireshark (www.wireshark.org) or similar for debugging.
JSON-RPC version 1 doesn’t talk about batch requests. In order to support both standards at once, fastjsonrpc supports it just like in version 2. It ties JSON-RPC version to the method call, not the request as a whole.
I didn’t test the JSON Class hinting, as mentioned in the version 1 spec. I leave this to the JSON parsing capabilities of respective libraries.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file fastjsonrpc-0.1.1.tar.gz
.
File metadata
- Download URL: fastjsonrpc-0.1.1.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb94b4a6cf7b56c230ab6e0a80ca240bae364fe00f13e95e9d8708a8366e1332 |
|
MD5 | a15a1c7aa9d7a11a8f70c201e03dd041 |
|
BLAKE2b-256 | a3babb0bb381f5930a2e7dee327992f62664c25cdf1032a85f3a2094cdc6f4c5 |