AJSONRPC(1)

πŸ“¦ version 1.2.0, in ubuntu stonking

✨ 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/response renaimed to JSONRPCReqest and JSONRPCResponse as there is no support for previous protocol versions.
  • request/response/error classes were moved to core module.
  • Use id instead of _id
  • Drop JSONRPCBatchRequest and JSONRPCBatchResponse objects. 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


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