Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastjsonrpc-0.1.3.tar.gz (7.1 kB view details)

Uploaded Source

File details

Details for the file fastjsonrpc-0.1.3.tar.gz.

File metadata

File hashes

Hashes for fastjsonrpc-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3bb4f3743d5d55ae3507de6561a5808fe4fa2313259222d5bf1cf8957fbc2695
MD5 48260ec02453f81c9858b8bac08b5ad2
BLAKE2b-256 c2170cbef59cbce276b01171e479e7da96900ac536cab392bcf2016eac325cac

See more details on using hashes here.

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