JSON-RPC client library.
Project description
Make remote procedure calls with JSON-RPC.
Simply set the server details, then make a request:
>>> s = Server('http://example.com/api')
>>> s.request('add', 2, 3)
5
Full documentation is available at https://jsonrpcclient.readthedocs.org/.
Release History
1.1.5 (2015-05-09)
Removed Non2xxResponse error which served no real purpose.
1.1.4 (2015-05-09)
Non200Response error replaced with Non2xxResponse - any 2xx status from the server is taken as success, including 204 “No Content” which may be returned for notifications.
Logging fixed - see the documentation for changes.
1.1.3 (2015-03-30)
Minor adjustments for compatibility with older Python versions.
1.1.2 (2015-02-06)
Bugfix - HTTP headers were often incorrect due to quirks in the requests module. Now using a different method to set the headers.
1.1.1 (2015-01-16)
More features available when communicating with the server, such as setting a timeout on requests, ssl verification, cookies etc.
Now compatible with older Python versions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file jsonrpcclient-1.1.5.tar.gz
.
File metadata
- Download URL: jsonrpcclient-1.1.5.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b11d73caa76262cff22084f0d7f316bf19a0772c1188c9fecfe960d2bc9bf7d9 |
|
MD5 | 41cbb88feb00d41eb71a811a886924a9 |
|
BLAKE2b-256 | 92ebd33b6e878d191a3c365f0ead7b794e01cb34f08da0d4c3c716e32eae06fa |