Skip to main content

Send JSON-RPC requests

Project description

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

>>> from jsonrpcclient.http_server import HTTPServer
>>> HTTPServer('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.2.1 (Sep 12, 2016)

  • Bugfix logging configuration

2.2.0 (Sep 12, 2016)

  • Support Tornado adapter

  • Improve logging configuration

2.1.3 (Aug 10, 2016)

  • Simpler configuration of the id part of requests

2.1.2 (Aug 8, 2016)

  • Fixed a bug when logging http requests.

  • Create default log handlers if user hasn’t configured any.

2.1.1 (Jul 22, 2016)

  • More flexible configuration of requests in HTTPServer.

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.2.1.tar.gz (9.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for jsonrpcclient-2.2.1.tar.gz
Algorithm Hash digest
SHA256 e1f7c6f24d6dc9650128ab1339f8031f59aa74d68f6276c1de8057377ca67b09
MD5 78464090c24dee5b75d3878bc50e1a71
BLAKE2b-256 bc016eda81f577e12d8cfe8dcbe0bdd9865f34aa0cd5f3b3faba536e3f390b80

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