jsonrpcclient
jsonrpcclient copied to clipboard
Generate JSON-RPC requests and parse responses in Python
https://pip.pypa.io/en/stable/reference/build-system/
While in the process of preparing RPC examples for a course in distributed systems, these examples resulted. You are welcome to use them. Your comments are welcome. Will adjust as...
- Define types outside of the functions - Use typeddict
https://github.com/explodinglabs/jsonrpcclient/blob/64ff5d0f66dd148f7c4f08f2d9b2f9f16a63e581/examples/aiohttp_client.py#L19 may need to modify to ```python elif isinstance(parsed, Error): ```