{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/6"}],"enrichment":{"capability":"Implements the JSON-RPC 2.0 protocol with an asynchronous request manager and minimal asyncio-based server, requiring no external dependencies.","skillfed_tags":["rpc-protocol","asyncio","no-dependencies"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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\u2014last release was July 2021 with no recent commits. Install only if you do not require active maintenance or compatibility updates beyond Python 3.9."},"id":"ajsonrpc","links":{"html":"https://skillfed.io/packages/ajsonrpc","md":"https://skillfed.io/packages/ajsonrpc.md","pypi":"https://pypi.org/project/ajsonrpc/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-07-21","license_spdx":null,"license_treatment":"permissive","name":"ajsonrpc","python_support":"supports_current","summary":"Async JSON-RPC 2.0 protocol + server powered by asyncio"},"popularity":{"monthly_downloads":2074646,"position":3317,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.2.0"}
