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.

Files for jsonrpc-ns, version 0.3-dev
Filename, size File type Python version Upload date Hashes
Filename, size jsonrpc-ns-0.3-dev.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page