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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jsonrpc2_objects-4.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 352773bbc0c17e4becf7e28332713ea5bea9a628160fe869f1dcc852b3873462
MD5 7b2ef71be9280d8b36dc22c9cef28230
BLAKE2b-256 b6a61f06579254fca8107a3fcc1b88fb66f4b37125ec495c551642367f313c22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jsonrpc2_objects-4.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ec14a2827af26e46f82f00a77b6b2779c9dfd48b20fd8ce03ce14ca27679f523
MD5 eb6bd77ef282694320e770c6fb615484
BLAKE2b-256 2d97be5be7ca0786d50bd0434d1a14b8a3a1a77fdc425731ccf9a84e3f4e6765

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