Skip to main content

Lightweight JSON-RPC 2.0 library for building TCP (Netstring) clients

Project description

jsonrpc-ns
========

Description
-----------

jsonrpc-ns is a Lightweight JSON-RPC 2.0 library for building TCP ([Netstring](http://cr.yp.to/proto/netstrings.txt)) clients.

Installation
------------

Prerequisites:

* Python (Tested on 2.7)

Usage
-----

from jsonrpc_ns import JSONRPCProxy
jsonrpc = JSONRPCProxy('some.jsonrpc.server.internal', 7080)
jsonrpc.request('request_method', {'some': 'data'})
jsonrpc.notify('notify_method', {'more': 'data'})


Tests
-----

pip install nose
nosetests tests.py

See Also
-----
[txjason](https://github.com/flowroute/txjason) for building high concurrency servers and clients on top of Twisted Python.

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

jsonrpc-ns-0.3-dev.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file jsonrpc-ns-0.3-dev.tar.gz.

File metadata

File hashes

Hashes for jsonrpc-ns-0.3-dev.tar.gz
Algorithm Hash digest
SHA256 dbe32e7d8a8964911df6a708c00bb237e516dfea28bbd80886ff0d25778d6c5b
MD5 21f7f38569109ae2efa4239288de3e94
BLAKE2b-256 c9f8f802252466d75f642fc6b684f5858cc1b447309941eca229b3ada20a9e83

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