Name | nerva-py JSON |
Version |
1.1.0
JSON |
| download |
home_page | None |
Summary | Python bindings for the JSON RPC interface of the Nerva cryptocurrency. |
upload_time | 2024-11-23 05:12:12 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | MIT |
keywords |
bindings
cryptocurrency
json-rpc
nerva
python
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Nerva Python Library
[![Ruff](https://github.com/Sn1F3rt/nerva-py/actions/workflows/ruff.yml/badge.svg)](https://github.com/Sn1F3rt/nerva-py/actions/workflows/ruff.yml)
[![Build](https://github.com/Sn1F3rt/nerva-py/actions/workflows/build.yml/badge.svg)](https://github.com/Sn1F3rt/nerva-py/actions/workflows/build.yml)
[![License](https://img.shields.io/github/license/Sn1F3rt/nerva-py)](LICENSE)
## Table of Contents
- [About](#about)
- [Installation](#installation)
* [Requirements](#requirements)
* [Setup](#setup)
- [Documentation](#documentation)
- [Support](#support)
- [License](#license)
## About
Python bindings for the JSON RPC interface of the Nerva cryptocurrency.
## Installation
### Requirements
- Python 3.8+
- [`uv`](https://docs.astral.sh/uv/) (for development only)
### Setup
To install current latest release you can use following command:
```sh
pip install nerva-py
```
To install the latest development version you can use following command:
```sh
uv add git+https://github.com/Sn1F3rt/nerva-py.git --branch main
```
## Documentation
Developers please refer to the docstrings in the code for more information. Full API reference will be available soon.
Here is a simple example to get you started:
```python
import asyncio
from nerva.daemon import Daemon
async def main():
daemon = Daemon(
host="localhost",
port=17566,
ssl=False,
username="rpcuser", # omit if daemon was not started with the rpc-login flag
password="rpcpassword" # omit if daemon was not started with the rpc-login flag
)
print(await daemon.get_info())
asyncio.run(main())
```
## Support
- [Issues](https://github.com/Sn1F3rt/nerva-py/issues)
- [Discord](https://discord.gg/ufysfvcFwe) - `Development > #nerva-py`
## License
[MIT License](LICENSE)
Copyright © 2024 [Sayan "Sn1F3rt" Bhattacharyya](https://sn1f3rt.dev)
Raw data
{
"_id": null,
"home_page": null,
"name": "nerva-py",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "bindings, cryptocurrency, json-rpc, nerva, python",
"author": null,
"author_email": "Sayan Bhattacharyya <sayan@sn1f3rt.dev>",
"download_url": "https://files.pythonhosted.org/packages/b8/2e/863a8a0395c1b0d4c3aa419fb436a704694437ec8fc29dbf80b3ba251006/nerva_py-1.1.0.tar.gz",
"platform": null,
"description": "# Nerva Python Library\n\n[![Ruff](https://github.com/Sn1F3rt/nerva-py/actions/workflows/ruff.yml/badge.svg)](https://github.com/Sn1F3rt/nerva-py/actions/workflows/ruff.yml)\n[![Build](https://github.com/Sn1F3rt/nerva-py/actions/workflows/build.yml/badge.svg)](https://github.com/Sn1F3rt/nerva-py/actions/workflows/build.yml)\n[![License](https://img.shields.io/github/license/Sn1F3rt/nerva-py)](LICENSE)\n\n## Table of Contents\n\n- [About](#about)\n- [Installation](#installation)\n * [Requirements](#requirements)\n * [Setup](#setup)\n- [Documentation](#documentation)\n- [Support](#support)\n- [License](#license)\n\n## About\n\nPython bindings for the JSON RPC interface of the Nerva cryptocurrency.\n\n## Installation\n\n### Requirements\n\n- Python 3.8+\n- [`uv`](https://docs.astral.sh/uv/) (for development only)\n\n### Setup\n\nTo install current latest release you can use following command:\n```sh\npip install nerva-py\n```\n\nTo install the latest development version you can use following command:\n```sh\nuv add git+https://github.com/Sn1F3rt/nerva-py.git --branch main\n```\n\n## Documentation\n\nDevelopers please refer to the docstrings in the code for more information. Full API reference will be available soon.\n\nHere is a simple example to get you started:\n\n```python\nimport asyncio\n\nfrom nerva.daemon import Daemon\n\n\nasync def main():\n daemon = Daemon(\n host=\"localhost\",\n port=17566,\n ssl=False,\n username=\"rpcuser\", # omit if daemon was not started with the rpc-login flag\n password=\"rpcpassword\" # omit if daemon was not started with the rpc-login flag\n )\n\n print(await daemon.get_info())\n\n\nasyncio.run(main())\n```\n\n## Support\n\n- [Issues](https://github.com/Sn1F3rt/nerva-py/issues)\n- [Discord](https://discord.gg/ufysfvcFwe) - `Development > #nerva-py`\n\n## License\n\n[MIT License](LICENSE)\n\nCopyright © 2024 [Sayan \"Sn1F3rt\" Bhattacharyya](https://sn1f3rt.dev)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python bindings for the JSON RPC interface of the Nerva cryptocurrency.",
"version": "1.1.0",
"project_urls": null,
"split_keywords": [
"bindings",
" cryptocurrency",
" json-rpc",
" nerva",
" python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "1451492358e54a74e8273928879d516a94fe9b2d9b3918c523163e7f48b55009",
"md5": "6c2163e872cae164e77c0a0d76dbf1ef",
"sha256": "6d6391a5ac601eecd39ca13a0eb634fc97c2e1684101458a8308e2d377f84f4d"
},
"downloads": -1,
"filename": "nerva_py-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6c2163e872cae164e77c0a0d76dbf1ef",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 16210,
"upload_time": "2024-11-23T05:12:11",
"upload_time_iso_8601": "2024-11-23T05:12:11.694965Z",
"url": "https://files.pythonhosted.org/packages/14/51/492358e54a74e8273928879d516a94fe9b2d9b3918c523163e7f48b55009/nerva_py-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "b82e863a8a0395c1b0d4c3aa419fb436a704694437ec8fc29dbf80b3ba251006",
"md5": "d262b8a89ae962efa88be9a299019497",
"sha256": "5eb7cfbc0902a591798b4cd64882798f8d49c651055738093fc75698ec86f5d3"
},
"downloads": -1,
"filename": "nerva_py-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "d262b8a89ae962efa88be9a299019497",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 28475,
"upload_time": "2024-11-23T05:12:12",
"upload_time_iso_8601": "2024-11-23T05:12:12.718169Z",
"url": "https://files.pythonhosted.org/packages/b8/2e/863a8a0395c1b0d4c3aa419fb436a704694437ec8fc29dbf80b3ba251006/nerva_py-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-23 05:12:12",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "nerva-py"
}