jsonrpcclient


Namejsonrpcclient JSON
Version 4.0.2 PyPI version JSON
download
home_pagehttps://github.com/explodinglabs/jsonrpcclient
SummarySend JSON-RPC requests
upload_time2021-11-27 11:30:38
maintainer
docs_urlNone
authorBeau Barker
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            > 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)



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/explodinglabs/jsonrpcclient",
    "name": "jsonrpcclient",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Beau Barker",
    "author_email": "beau@explodinglabs.com",
    "download_url": "https://files.pythonhosted.org/packages/7f/a1/70ddcb1012a59d63bffcf81d1fc6a42248eca9d4f878daacbb9a906ac332/jsonrpcclient-4.0.2.tar.gz",
    "platform": "",
    "description": "> September 1, 2021: Version 4 has been released. Read about the [changes in\n> version 4](https://composed.blog/jsonrpcclient-4-changes), or read the [full\n> documentation](https://www.jsonrpcclient.com/).\n> For earlier versions jump to the [3.x\n> branch](https://github.com/explodinglabs/jsonrpcclient/tree/3.x) or the\n> [documentation for version 3](https://www.jsonrpcclient.com/en/3.3.6/).\n\n<img\n    alt=\"jsonrpcclient\"\n    style=\"margin: 0 auto;\"\n    src=\"https://github.com/explodinglabs/jsonrpcclient/blob/main/docs/logo.png?raw=true\"\n/>\n\nGenerate JSON-RPC requests and parse responses in Python.\n\n![PyPI](https://img.shields.io/pypi/v/jsonrpcclient.svg)\n![Downloads](https://pepy.tech/badge/jsonrpcclient/week)\n![Code Quality](https://github.com/explodinglabs/jsonrpcclient/actions/workflows/code-quality.yml/badge.svg)\n![Coverage Status](https://coveralls.io/repos/github/explodinglabs/jsonrpcclient/badge.svg?branch=main)\n\n```sh\npip install jsonrpcclient\n```\n\n```python\n>>> from jsonrpcclient import parse, request\n>>> import requests\n>>> response = requests.post(\"http://localhost:5000/\", json=request(\"ping\"))\n>>> parse(response.json())\nOk(result='pong', id=1)\n```\n\nFull documentation is at [jsonrpcclient.com](https://www.jsonrpcclient.com/).\n\nSee also: [jsonrpcserver](https://github.com/explodinglabs/jsonrpcserver)\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Send JSON-RPC requests",
    "version": "4.0.2",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "cb8c8b4f1fe08a99af0a46bcfc7455d2",
                "sha256": "c0d475494b3e1b591ecdee7883739accaf5695edb673f16b7383b8c6bbdb1ca3"
            },
            "downloads": -1,
            "filename": "jsonrpcclient-4.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "cb8c8b4f1fe08a99af0a46bcfc7455d2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6513,
            "upload_time": "2021-11-27T11:30:38",
            "upload_time_iso_8601": "2021-11-27T11:30:38.641387Z",
            "url": "https://files.pythonhosted.org/packages/7f/a1/70ddcb1012a59d63bffcf81d1fc6a42248eca9d4f878daacbb9a906ac332/jsonrpcclient-4.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-11-27 11:30:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "explodinglabs",
    "github_project": "jsonrpcclient",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "jsonrpcclient"
}
        
Elapsed time: 0.02572s