Skip to main content

slojsonrpc

Universal JSONrpc handler, that maps class-methods to jsonrpc-methods.
  • registers common classmethods and reads their function signature

  • check for jsonrpc compliance

  • checks parameters against function signature

  • method parameters with defaults are optional

  • creates db-sessions for each method call

Example:

class test:
def testmethod(self, session , a, b=1):

…

regiter with: SLOJSONrpc.register()

Will be mapped to jsonrpcmethod: {‘jsonrpc’: ‘2.0’, ‘method’: ‘testmethod’, params: {‘a’: 42} }

Metadata

Release files for slojsonrpc 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for slojsonrpc 0.1
File Size Uploaded Provenance Actions
slojsonrpc-0.1.tar.gz 4.7 kB Without provenance Details for slojsonrpc-0.1.tar.gz

Release files / slojsonrpc-0.1.tar.gz

Download URL slojsonrpc-0.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ffcd2a8ab99c8ab09d05f157168dae009b75347b6612caef8bdbb1d7f2e2f3d3
BLAKE2b-256 checksum
How to use checksums
e5ca2e9f26a020bd7ab2bfc18529007df13711d57ff7955bd057f5767ef7f556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for slojsonrpc 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page