Skip to main content

Send JSON-RPC requests

Project description

Coverage Status

jsonrpcclient

Send JSON-RPC requests in Python 2.7 and 3.3+.

$ pip install "jsonrpcclient[requests]"
import jsonrpcclient
jsonrpcclient.request('http://cats.com', 'speak')

Full documentation is at jsonrpcclient.readthedocs.io.

See also: jsonrpcserver

2.6.0 (Jun 13, 2018)

  • Add command-line interface, see jsonrpc --help (#62)
  • Fix configuring requests lib (#65)

2.5.2 (Nov 29, 2017)

  • Ignore empty error bodies

2.5.1 (Sep 4, 2017)

  • Fix non-string exception 'data' value

2.5.0 (Aug 8, 2017)

  • Add convenience functions 'request' and 'notify' (#54)

2.4.3 (Aug 8, 2017)

  • Fix custom headers in Tornado Client (#52)

2.4.2 (Oct 12, 2016)

  • Allow passing a list of strings to send()

2.4.1 (Oct 6, 2016)

  • Fix response log prefix

2.4.0 (Oct 5, 2016)

  • Add asychronous Zeromq client, see blog post

2.3.0 (Sep 28, 2016)

  • Support websockets and aiohttp

2.2.4 (Sep 19, 2016)

  • Internal refactoring, to make it easier to add clients.

2.2.3 (Sep 13, 2016)

  • Rename "server" modules and classes to "client". The old names are deprecated.

2.2.2 (Sep 12, 2016)

  • Don't disable log propagate

2.2.1 (Sep 12, 2016)

  • Bugfix logging configuration

2.2.0 (Sep 12, 2016)

  • Support Tornado adapter
  • Improve logging configuration

Project details


Release history Release notifications

History Node

3.0.0rc3

History Node

3.0.0rc2

History Node

3.0.0rc1

This version
History Node

2.6.0

History Node

2.5.2

History Node

2.5.1

History Node

2.5.0

History Node

2.4.3

History Node

2.4.2

History Node

2.4.1

History Node

2.4.0

History Node

2.3.0

History Node

2.2.4

History Node

2.2.3

History Node

2.2.2

History Node

2.2.1

History Node

2.2.0

History Node

2.1.3

History Node

2.1.2

History Node

2.1.1

History Node

2.1.0

History Node

2.0.1

History Node

1.1.8

History Node

1.1.7

History Node

1.1.6

History Node

1.1.5

History Node

1.1.4

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.1.0

History Node

1.0.12

History Node

1.0.11

History Node

1.0.10

History Node

1.0.9

History Node

1.0.8

History Node

1.0.7

History Node

1.0.6

History Node

1.0.5

History Node

1.0.4

History Node

1.0.3

History Node

1.0.2

History Node

0.01

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
jsonrpcclient-2.6.0.tar.gz (13.0 kB) Copy SHA256 hash SHA256 Source None Jun 12, 2018

Supported by

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