$npx skillfedfor your agent

ajsonrpc

Async JSON-RPC 2.0 protocol + server powered by asyncio

With conditionsPyPI Python ModulesReleased Jul 20212.1M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ajsonrpc-1.2.0-py3-none-any.whl
v1.2.0 · released 2021-07-21 · Python >=3.5

Yes, if you need a lightweight, dependency-free JSON-RPC 2.0 implementation for asyncio-based applications. The permissive MIT license and zero external dependencies make it low-risk to adopt. However, be aware that the project is abandoned—last release was July 2021 with no recent commits. Install only if you do not require active maintenance or compatibility updates beyond Python 3.9.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.5 or later; asyncio event loop must be running for async methods.
  • Low install friction with no runtime dependencies.
  • Maintenance is stalled—last release was 2021-07-21 and the repository shows no recent activity, though it remains archived=false.

License · maintenance · safety

MIT (permissive) — MIT license (permissive) allows commercial and private use with minimal restrictions, making it safe to adopt from a licensing standpoint.

last release 2021-07-21 (1850 days) · last repo commit 2023-07-21 · 22 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,074,646 downloads/mo, #3,317 on PyPI

Verify before relying

pip install ajsonrpc

from ajsonrpc import Dispatcher, Manager

dispatcher = Dispatcher({"sum": lambda a, b: a + b})
manager = Manager(dispatcher)

# For async usage:
await manager.get_response_for_payload('{"jsonrpc": "2.0", "method": "sum", "params": [2, 3], "id": 1}')
  • Whether the package remains compatible with Python versions beyond 3.9 (classifiers list only up to 3.9).
  • Current state of the Tornado, Sanic, and Quart backend integrations mentioned in the description.
  • Whether the included async-json-rpc-server CLI tool is actively maintained or functional.
Same gist for agents: .md · .json

What it is and what it does

ajsonrpc is a lightweight, dependency-free implementation of the JSON-RPC 2.0 protocol built on asyncio. It provides core primitives (request, response, error objects), a dispatcher for mapping method names to callables, and an asynchronous manager that handles request parsing, error generation, and batch execution. The package also includes a minimal asyncio-based server that can expose Python methods directly via runtime introspection, requiring zero framework integration.

The library is designed as a successor to the json-rpc package by the same team, with similar APIs but async-first architecture. It handles both single and batch JSON-RPC requests, supports custom error classes, and offers backend adapters for Tornado, Sanic, and Quart. Because JSON-RPC 2.0 is intentionally simple (single endpoint, no routing), the package can operate as a self-contained server without Django, Flask, or other web frameworks.

Use it for

  • Build a standalone JSON-RPC 2.0 API server using only asyncio, with methods exposed via a Python file and the included CLI tool.
  • Integrate JSON-RPC 2.0 protocol handling into an existing asyncio application without adding external dependencies.
  • Create a dispatcher to route incoming RPC method calls to class methods, functions, or lambda expressions in a type-safe way.
  • Handle batch JSON-RPC requests with parallel execution and proper error reporting for each request in the batch.
  • Wrap application methods for use with Tornado, Sanic, or Quart backends using the provided adapter layer.

Worth the install?

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

With conditions

Yes, if you need a lightweight, dependency-free JSON-RPC 2.0 implementation for asyncio-based applications.

The permissive MIT license and zero external dependencies make it low-risk to adopt. However, be aware that the project is abandoned—last release was July 2021 with no recent commits. Install only if you do not require active maintenance or compatibility updates beyond Python 3.9.

Install

ajsonrpc on PyPI

Before you install

Low install friction with no runtime dependencies. Maintenance is stalled—last release was 2021-07-21 and the repository shows no recent activity, though it remains archived=false. Suitable for stable, self-contained use cases where no active updates are expected.

Requires Python 3.5 or later; asyncio event loop must be running for async methods.

License in practice

MIT license (permissive) allows commercial and private use with minimal restrictions, making it safe to adopt from a licensing standpoint.

Quickstart

pip install ajsonrpc

from ajsonrpc import Dispatcher, Manager

dispatcher = Dispatcher({"sum": lambda a, b: a + b})
manager = Manager(dispatcher)

# For async usage:
await manager.get_response_for_payload('{"jsonrpc": "2.0", "method": "sum", "params": [2, 3], "id": 1}')

Verify before relying

  • Whether the package remains compatible with Python versions beyond 3.9 (classifiers list only up to 3.9).
  • Current state of the Tornado, Sanic, and Quart backend integrations mentioned in the description.
  • Whether the included async-json-rpc-server CLI tool is actively maintained or functional.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,850 days since the last release
Last repo commit
First released
Downloads2,074,646 / month, #3,317 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 :: ConsoleFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: ajsonrpc-1.2.0-py3-none-any.whl

Tags

Capabilities
json-rpc 2.0 async serverasyncio rpc protocollightweight json-rpc implementationasync request dispatcherjson-rpc 2.0 asynciorpc server no dependenciesasync method dispatcher
Topics
rpc-protocolasynciono-dependencies

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 2.0 async server”

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

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 json-rpc · jsonrpcclient · python-bitcoinrpc · python-lsp-jsonrpc · thriftpy2 · nexus-rpc · transmission-rpc · github-copilot-sdk · python-osc · OdooRPC