Skip to main content

A library for writing asynchronous JSON-RPC servers and clients in Python, using Twisted.

Project description


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


  • Support for HTTP and HTTPS as protocol (via twisted.web), more might come in the future.
  • Support for HTTP authentization - only basic, not digest; use SSL for better security.
  • 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…).
  • Detailed examples :-) .


  • More tests, better (functionality) coverage. This applies to every project, always :-) .
  • Finish support for netstring protocol.


  • JSON is well readable for a human. It’s easy to use Wireshark ( 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

History Node


This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
fastjsonrpc-0.2.3.tar.gz (7.8 kB) Copy SHA256 hash SHA256 Source None Feb 22, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page