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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsonrpc2_objects-4.1.0.tar.gz
  • Upload date:
  • Size: 4.6 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.0.tar.gz
Algorithm Hash digest
SHA256 65b7cf95db453f81ffc3c3e38a398aa025ea5304f3b9148851b716a761fb43b3
MD5 40d22c153bad991409b3ac15a027ad13
BLAKE2b-256 6ec381af93a5736d7bc70e530f774360aa34826ef8db35695e85e64a0f1009c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for jsonrpc2_objects-4.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ff4d46c28db8c270f6da1d6731faae9a52b063c897931355a8b08b0b71647fa
MD5 d7c9067bf7f3f04ca27c93e5de5d590f
BLAKE2b-256 190de4d0c16a2383e6f07dc1cdd18010247ef92ebf0f59ead8871761e9cca850

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