https://github.com/sn1f3rt/nerva-py
Python bindings for the JSON RPC interface of the Nerva cryptocurrency.
https://github.com/sn1f3rt/nerva-py
bindings cryptocurrency json-rpc nerva python
Last synced: 4 months ago
JSON representation
Python bindings for the JSON RPC interface of the Nerva cryptocurrency.
- Host: GitHub
- URL: https://github.com/sn1f3rt/nerva-py
- Owner: sn1f3rt
- License: mit
- Created: 2024-10-17T15:10:48.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-20T16:50:45.000Z (5 months ago)
- Last Synced: 2025-01-27T17:07:53.697Z (4 months ago)
- Topics: bindings, cryptocurrency, json-rpc, nerva, python
- Language: Python
- Homepage:
- Size: 219 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Nerva Python Library
[](https://github.com/Sn1F3rt/nerva-py/actions/workflows/ruff.yml)
[](https://github.com/Sn1F3rt/nerva-py/actions/workflows/build.yml)
[](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 asynciofrom 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)