A collection of objects for use in JSON-RPC 2.0 implementations.
Project description
JSON-RPC 2.0 Objects
A collection of objects for use in JSON-RPC 2.0 implementations.
Installation
poetry add jsonrpc2-objects
pip install jsonrpc2-objects
Objects
Available in objects
are the following:
Object | Description |
---|---|
ParamsRequest | Request with params |
Request | Request without params |
ParamsNotification | Notification with params |
Notification | Notification without params |
ErrorResponse | Response with result |
ResultResponse | Response with error |
Errors
Python exceptions are available for each JSON-RPC 2.0 error. Each error
extends JSONRPCError
.
- JSONRPCError
- InternalError
- InvalidParams
- InvalidRequest
- MethodNotFound
- ParseError
- ServerError
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file jsonrpc2_objects-4.2.0.tar.gz
.
File metadata
- Download URL: jsonrpc2_objects-4.2.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc36da7fbaebc0dafd1a77dc454a959466fbc878d1c2605993232757c8f92120 |
|
MD5 | edba0503747c98a773e6f697c20ee844 |
|
BLAKE2b-256 | 67d98fe82e62948cc115cf5dfdae6197d1182cbe4b37bdf1ea1481219719050d |
File details
Details for the file jsonrpc2_objects-4.2.0-py3-none-any.whl
.
File metadata
- Download URL: jsonrpc2_objects-4.2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.13.0 Linux/5.15.154+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097cf976d76aabe9bd0227e3ecd589dbe239f0b42fecdd5459cedf489efb69ec |
|
MD5 | 49bcc898ba6478c86df0e1e82d7f6369 |
|
BLAKE2b-256 | 51d24cf11f89c05292d6c5e3f9527b8e848b016341927d336437c7ae1e5bfe8d |