Skip to main content

Send JSON-RPC requests

Project description

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

>>> from jsonrpcclient.http_client import HTTPClient
>>> HTTPClient('http://cats.com/').request('speak')
--> {"jsonrpc": "2.0", "method": "speak", "id": 1}
<-- {"jsonrpc": "2.0", "result": "meow", "id": 1}
'meow'

Full documentation is at jsonrpcclient.readthedocs.io.

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 | 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

jsonrpcclient-2.3.0.tar.gz (11.0 kB view details)

Uploaded Source

File details

Details for the file jsonrpcclient-2.3.0.tar.gz.

File metadata

File hashes

Hashes for jsonrpcclient-2.3.0.tar.gz
Algorithm Hash digest
SHA256 7d0cea3f4e2e4b652bb51f85e6a0d59d561eaa610097b7df7e5506c3cba015ab
MD5 eb39ad85899defadec6d918a0a1ce9a9
BLAKE2b-256 243e924a5687ac0a73dddfdddcc1611561ac8170794d727356a382344373de84

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page