Skip to main content

A collection of objects for use in JSON-RPC 2.0 implementations.

Project description

JSON-RPC 2.0 Objects

Code style: black License: MIT

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jsonrpc2_objects-4.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

jsonrpc2_objects-4.0.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file jsonrpc2_objects-4.0.0.tar.gz.

File metadata

  • Download URL: jsonrpc2_objects-4.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.0 CPython/3.12.0 Linux/5.4.109+

File hashes

Hashes for jsonrpc2_objects-4.0.0.tar.gz
Algorithm Hash digest
SHA256 309eb85dd4ee097923d0f627efd6e694b5fa96091634feb42d8b261461c825fb
MD5 0324651650d37f4e36ba0a0109cec168
BLAKE2b-256 b7d366834074c40f6bca4ffbbff4a02712f084d7c3d2eeb43a277b820d75913c

See more details on using hashes here.

File details

Details for the file jsonrpc2_objects-4.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jsonrpc2_objects-4.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0ac0ea007c3040f8ed8348388a8854efcd2dce729d9f73e4b34bb918a0788288
MD5 5b28c547b84c3f80b7a25417a254d310
BLAKE2b-256 598381de4cebb4cf9860771374546c139a7a30afe7f5456a7231f5a66d69e650

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page