AJSONRPC(1)
β¨ NAME β¨
okay so bestie, meet ajsonrpc β the ajsonrpc Documentation π. Manual page name? AJSONRPC(1). The source code is at <https://github.com/pavlov99/ajsonrpc> β¨ iykyk.
π CONTENTS π
π¦ Differences: ajsonrpc vs json-rpc π¦
ajsonrpc is a successor of the json-rpc <https://github.com/pavlov99/json-rpc> library. Same team of developers wrote it, and the goal is to keep as much compatibility between the two libraries as possible. fr fr π€
So json-rpc was written to support both JSON-RPC 1.1 and JSON-RPC 2.0, plus a wide range of Python implementations: 2.6, 2.7, 3.2+. Meanwhile ajsonrpc is highkey focused on modern Python 3.5+ features and only supports JSON-RPC 2.0. no cap. Some of the new features used in ajsonrpc are giving:
- Async/Await syntax
- Low level asyncio protocol implementation
- Type Annotation
Detailed differences:
request/responserenaimed toJSONRPCReqestandJSONRPCResponseas there is no support for previous protocol versions.request/response/errorclasses were moved tocoremodule.- Use
idinstead of_id - Drop
JSONRPCBatchRequestandJSONRPCBatchResponseobjects. Manager could handle batch requests without a need of special classes. - Manager by default accepts request and returns response coroutine instead of accepting string and returning string.
π«Ά Author π«Ά
Kirill Pavlov
π Copyright π
2019, Kirill Pavlov
That's the whole manual page, bestie! This one is version 1.2, dated Mar 16, 2026, and the manual name is AJSONRPC(1). Slay, bye π
β¨
π¦ where this page comes from
- ubuntu stonking: python3-ajsonrpc 1.2.0-2 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms