Skip to main content

PyPI CI Python versions Downloads License

Jsonrpcclient Logo

Create JSON-RPC requests and parse responses in Python

Documentation | Examples | Changelog

Watch the demo

Installation

pip install jsonrpcclient

It has no dependencies and supports Python 3.8 and later, including free-threaded builds.

Usage

Generate a request:

>>> from jsonrpcclient import parse, request
>>> request("ping")
{'jsonrpc': '2.0', 'method': 'ping', 'id': 1}

Parse a response:

>>> parse({"jsonrpc": "2.0", "result": "pong", "id": 1})
Ok(result='pong', id=1)

For strings, use request_json and parse_json.

jsonrpcclient doesn't send anything itself. The examples show it with requests, aiohttp, websockets and ZeroMQ.

Documentation

Full documentation is at bensynapse.github.io/jsonrpcclient.

See also

Metadata

Release files for jsonrpcclient 4.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsonrpcclient 4.0.4
File Size Uploaded Provenance Actions
jsonrpcclient-4.0.4.tar.gz 42.6 kB With provenance Details for jsonrpcclient-4.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jsonrpcclient 4.0.4
File Interpreter ABI Platform Actions
jsonrpcclient-4.0.4-py3-none-any.whl Python 3 none any Details for jsonrpcclient-4.0.4-py3-none-any.whl

Total release size: 49.8 kB

Release files / jsonrpcclient-4.0.4.tar.gz

Download URL jsonrpcclient-4.0.4.tar.gz
Size 42.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2232b22db9cf72d8b69254c9a56290a912c8777d9b022fed0667e2a9a2d8da9f
BLAKE2b-256 checksum
How to use checksums
900fb6bf9c7c72c3262f7d8d8988bcc29085dc1c87a04b8c147d9bef0ad37372
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Release files / jsonrpcclient-4.0.4-py3-none-any.whl

Download URL jsonrpcclient-4.0.4-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7beb2ab99ba55fffddbc0f119381483967bd6f25b3ba72954be27ce2e77c7e0f
BLAKE2b-256 checksum
How to use checksums
afa977c9ebd70126e54363ee1e06c3bb3d0bf1be5078cc21a745450987c88df7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

Security for jsonrpcclient 4.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jsonrpcclient-4.0.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 6, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.0.4 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page