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

Uploaded Source

Built Distribution

jsonrpc2_objects-3.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file jsonrpc2-objects-3.0.0.tar.gz.

File metadata

  • Download URL: jsonrpc2-objects-3.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.6 Linux/6.2.6-76060206-generic

File hashes

Hashes for jsonrpc2-objects-3.0.0.tar.gz
Algorithm Hash digest
SHA256 9c8d9e2c285d0ece7778e5338718e95758a855036550aa57b244b587907eda3a
MD5 a8d1ce08d68d08d192b79e67a31a175e
BLAKE2b-256 cede77747a4348e7a99b392d1ed1ecca06dd1daa24088f1f181ff82bc6ee8efe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonrpc2_objects-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.6 Linux/6.2.6-76060206-generic

File hashes

Hashes for jsonrpc2_objects-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dee8d62e17ffbb9204cbdbca42ebb0ee0e15697327a7ee362c246be3f56e1271
MD5 4d6c18e1b916702c31dc658a71fca7cd
BLAKE2b-256 43a3de1c4f13913f842f06fe1e083e50d96f398b47fd99b68beeda80052ba560

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