Skip to main content

Send JSON-RPC requests

Project description

:warning: This master branch is for the upcoming version 4, currently in development (read: The future of this library). For the latest stable release, see the 3.x branch. Also, please pin your dependency to "jsonrpcclient<4" until you're ready to upgrade to v4.

jsonrpcclient

Generate JSON-RPC requests and parse responses.

PyPI Downloads Coverage Status

pip install --pre jsonrpcclient
>>> import requests
>>> from jsonrpcclient import request, parse
>>> response = requests.post("https://random.org/", json=request("ping"))
>>> parsed = parse(response.json()

Full documentation is at jsonrpcclient.com.

See also: jsonrpcserver

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-4.0.0.dev1.tar.gz (6.1 kB view details)

Uploaded Source

File details

Details for the file jsonrpcclient-4.0.0.dev1.tar.gz.

File metadata

  • Download URL: jsonrpcclient-4.0.0.dev1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.6.12

File hashes

Hashes for jsonrpcclient-4.0.0.dev1.tar.gz
Algorithm Hash digest
SHA256 a4b21990367828e40c13cc984d27f03969fc7f6abf69ca7d6f784c551d807fb6
MD5 abdb1ba8f14b3b1f95d7cc7b64c13877
BLAKE2b-256 c0b6e81954b75555f704fa52d83036b95c684874fac6e1897988394f887bb2d1

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