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

Uploaded Source

Built Distribution

jsonrpc2_objects-4.1.1-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsonrpc2_objects-4.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Linux/5.4.109+

File hashes

Hashes for jsonrpc2_objects-4.1.1.tar.gz
Algorithm Hash digest
SHA256 02aed333015022a785caa92558755202527d3f2d2d1d96114442f92c773ae439
MD5 cb9fcdfccddde9a792d9e9dc4f0e9b84
BLAKE2b-256 d2517877bb3256a3e8ff69e66d6867030f3af1a39c92953a21075e00d2610cab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jsonrpc2_objects-4.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2fdb194692a721a3e485cb9903704cc716bd6082658d23f44f7a7067a3444188
MD5 b99e1b9d2392db674c2e554800a7ad62
BLAKE2b-256 6f4800aa80f77600aebcd34205fabe1f4ed75995e042a2a433145c8b73b2ce07

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