Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pyjznet
====
python implementation of jznet


## Install

pip install jznet

## Usage

>>> import pyjznet
>>> from pyjznet import Server
>>> class DemoService(object):
def sayHi(self, name, remote_service):
try:
age = remote_service.call_rpc('demo', 'getAge')
except Exception as e:
logging.error(e)
return str(e)
logging.info('got say hi request of %s who's age is %d' % (name, age))
return "Hi, %s who's age is %d!" % (name, age)
>>> server = Server()
>>> server.add_rpc_service('demo', DemoService())
>>> server.start()

call the service using jznet.js library

Metadata

Release files for jznet 0.0.2-alpha

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

Source distribution (sdist)

Source distribution for jznet 0.0.2-alpha
File Size Uploaded Provenance Actions
jznet-0.0.2-alpha.tar.gz 7.3 kB Without provenance Details for jznet-0.0.2-alpha.tar.gz

Release files / jznet-0.0.2-alpha.tar.gz

Download URL jznet-0.0.2-alpha.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7128c71fc6b5ad55ea62ffb055fe4e790cffdc397615a9ad66a491be21fc82c0
BLAKE2b-256 checksum
How to use checksums
76598a36284df40d9ed800169df6a473440dd9ec5669d8ff93b25b0e00fb56d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for jznet 0.0.2-alpha

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.

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