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.1.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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsonrpc2_objects-4.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 635314c70ab12ec10f390efd19126f8ce9bd96b4cbc4d486917c13acfd16d16d
MD5 2e1f769f707cf1975dbdc5b7e16314cc
BLAKE2b-256 d44b1464782f103218fbfb35716b761ff5bb1da2d19ba83ed4505426b39b761f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonrpc2_objects-4.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8edd6e5cb9b0e70a4c5c54b28d1e001168a2d79e1722a45476a8e1d55002a374
MD5 ead400f32a4244b7e315b4ab80db393e
BLAKE2b-256 46a16df9c1e90269f03ec424f526daab0ddd0aa3064da27819c7977f76dd551f

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