tokencrawler/.venv/lib/python3.9/site-packages/jsonrpcclient-4.0.2.dist-info/METADATA
2022-03-17 22:16:30 +01:00

54 lines
1.8 KiB
Text

Metadata-Version: 2.1
Name: jsonrpcclient
Version: 4.0.2
Summary: Send JSON-RPC requests
Home-page: https://github.com/explodinglabs/jsonrpcclient
Author: Beau Barker
Author-email: beau@explodinglabs.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
License-File: LICENSE
> September 1, 2021: Version 4 has been released. Read about the [changes in
> version 4](https://composed.blog/jsonrpcclient-4-changes), or read the [full
> documentation](https://www.jsonrpcclient.com/).
> For earlier versions jump to the [3.x
> branch](https://github.com/explodinglabs/jsonrpcclient/tree/3.x) or the
> [documentation for version 3](https://www.jsonrpcclient.com/en/3.3.6/).
<img
alt="jsonrpcclient"
style="margin: 0 auto;"
src="https://github.com/explodinglabs/jsonrpcclient/blob/main/docs/logo.png?raw=true"
/>
Generate JSON-RPC requests and parse responses in Python.
![PyPI](https://img.shields.io/pypi/v/jsonrpcclient.svg)
![Downloads](https://pepy.tech/badge/jsonrpcclient/week)
![Code Quality](https://github.com/explodinglabs/jsonrpcclient/actions/workflows/code-quality.yml/badge.svg)
![Coverage Status](https://coveralls.io/repos/github/explodinglabs/jsonrpcclient/badge.svg?branch=main)
```sh
pip install jsonrpcclient
```
```python
>>> from jsonrpcclient import parse, request
>>> import requests
>>> response = requests.post("http://localhost:5000/", json=request("ping"))
>>> parse(response.json())
Ok(result='pong', id=1)
```
Full documentation is at [jsonrpcclient.com](https://www.jsonrpcclient.com/).
See also: [jsonrpcserver](https://github.com/explodinglabs/jsonrpcserver)