$npx skillfedfor your agent

json-rpc

JSON-RPC transport implementation

With conditionsPyPI Python ModulesReleased Jun 20237.4M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — json_rpc-1.15.0-py2.py3-none-any.whl
v1.15.0 · released 2023-06-11

Yes, if you need JSON-RPC protocol handling and will supply your own transport. The zero-dependency design and broad Python version support make it solid for protocol-only use. However, aging maintenance (last release 2023-06-11) means you should verify compatibility with your target Python versions and test thoroughly before adopting in new projects.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • You must provide your own transport layer (HTTP server, socket, message queue); this package handles only protocol parsing and method dispatch.
  • Low friction: pure Python with no runtime dependencies and distributed as a wheel.
  • Maintenance is aging—last release 2023-06-11, last commit 2025-03-17—but repository remains active and unarchived.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute freely in commercial and private projects with minimal restrictions.

last release 2023-06-11 (1160 days) · last repo commit 2025-03-17 · 490 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,417,404 downloads/mo, #1,743 on PyPI

Verify before relying

pip install json-rpc

from jsonrpc import JSONRPCResponseManager, dispatcher

@dispatcher.add_method
def add(a, b):
    return a + b

response = JSONRPCResponseManager.handle(
    '{"jsonrpc": "2.0", "method": "add", "params": [2, 3], "id": 1}',
    dispatcher
)
  • Whether aging maintenance (1160 days since last release) affects compatibility with Python versions beyond 3.8.
  • Current test coverage status and whether 200+ tests pass on modern Python versions.
  • Whether optional Django and Flask support remains functional with current framework versions.
Same gist for agents: .md · .json

What it is and what it does

json-rpc is a pure-Python implementation of JSON-RPC 2.0 and 1.0 protocol specifications. It provides a dispatcher to register callable methods and a response manager to parse incoming JSON-RPC requests and generate compliant responses. The package handles protocol details—request validation, error formatting, batch handling—but deliberately excludes transport; you pair it with external libraries to build a working client or server.

The library supports Python 2.6+, 3.3+, and PyPy, with optional integration for Django and Flask. It has no runtime dependencies, making it lightweight to embed. The protocol-only design means you retain full control over how requests and responses travel—ideal when you need JSON-RPC semantics but a non-standard transport layer.

Use it for

  • Build a JSON-RPC 2.0 server by pairing the dispatcher with an HTTP handler or framework.
  • Implement a JSON-RPC client that sends requests and parses responses via your chosen transport.
  • Add RPC method registration and validation to an existing application without imposing transport choices.
  • Handle batch JSON-RPC requests and generate spec-compliant error responses.
  • Integrate JSON-RPC into a microservice or inter-process communication layer on a custom transport.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need JSON-RPC protocol handling and will supply your own transport.

The zero-dependency design and broad Python version support make it solid for protocol-only use. However, aging maintenance (last release 2023-06-11) means you should verify compatibility with your target Python versions and test thoroughly before adopting in new projects.

Install

json-rpc on PyPI

Before you install

Low friction: pure Python with no runtime dependencies and distributed as a wheel. Maintenance is aging—last release 2023-06-11, last commit 2025-03-17—but repository remains active and unarchived.

You must provide your own transport layer (HTTP server, socket, message queue); this package handles only protocol parsing and method dispatch.

License in practice

MIT license is permissive; you can use, modify, and distribute freely in commercial and private projects with minimal restrictions.

Quickstart

pip install json-rpc

from jsonrpc import JSONRPCResponseManager, dispatcher

@dispatcher.add_method
def add(a, b):
    return a + b

response = JSONRPCResponseManager.handle(
    '{"jsonrpc": "2.0", "method": "add", "params": [2, 3], "id": 1}',
    dispatcher
)

Verify before relying

  • Whether aging maintenance (1160 days since last release) affects compatibility with Python versions beyond 3.8.
  • Current test coverage status and whether 200+ tests pass on modern Python versions.
  • Whether optional Django and Flask support remains functional with current framework versions.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 1,160 days since the last release
Last repo commit
First released
Downloads7,417,404 / month, #1,743 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python Modules

Evidence: json_rpc-1.15.0-py2.py3-none-any.whl

Tags

Capabilities
json-rpc protocol implementationrpc method dispatcherjson-rpc 2.0 specificationremote procedure call pythonjson-rpc 1.0 supporttransport agnostic rpc
Topics
rpc-protocoltransport-agnostic

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “json-rpc protocol implementation”

  • json-rpcImplements JSON-RPC 2.0 and 1.0 protocol specification for parsing…
  • jsonrpcclientGenerates JSON-RPC request objects and parses JSON-RPC responses in…
  • ajsonrpcImplements the JSON-RPC 2.0 protocol with an asynchronous request…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also ajsonrpc · python-lsp-jsonrpc · jsonrpcclient · python-bitcoinrpc · transmission-rpc · OdooRPC · python-jsonrpc-server · mcp-types · paypalhttp · a2a-sdk