Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Send JSON-RPC requests

Project description


Send JSON-RPC requests in Python.

PyPI Downloads Coverage Status

Version 3 is out. It's Python 3.5+ only. See the changelog, example usage, and read the updated documentation.

pip install "jsonrpcclient[requests]"
>>> from jsonrpcclient import request
>>> response = request("", "get", color="yellow")
>>> response.text
'{"jsonrpc": "2.0", "result": ["banana", "lemon", "mango"], "id": 1}'
['banana', 'lemon', 'mango']

Full documentation is at


pip install "jsonrpcclient[unittest]" mypy
mypy jsonrpcclient

See also: jsonrpcserver

Project details

Download files

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

Files for jsonrpcclient, version 3.3.4
Filename, size File type Python version Upload date Hashes
Filename, size jsonrpcclient-3.3.4.tar.gz (15.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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