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.3.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jsonrpc2_objects-4.3.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsonrpc2_objects-4.3.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.4 Linux/5.15.154+

File hashes

Hashes for jsonrpc2_objects-4.3.0.tar.gz
Algorithm Hash digest
SHA256 deef4faac381d6010557c6391405680d0f426743120cf53e70a87bd2da0b3685
MD5 19129badce00386266ea267f6f9e6edf
BLAKE2b-256 d2cd8932eec27ae7940b0844e07b098ef04c32195891ad0054278df2f87b4585

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonrpc2_objects-4.3.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.4 Linux/5.15.154+

File hashes

Hashes for jsonrpc2_objects-4.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0e88e7b791b1baee6be561f368829dc58abab27d24c4accb6e152992b7d79e9
MD5 b1d5f45e3306bd6a0d2801c3569523b2
BLAKE2b-256 533b8eefe6eb40e45623a2c16c4ef07403b2dc3d05a557158aacd7e1a43bcd0a

See more details on using hashes here.

Supported by

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