Python bindings for the JSON RPC interface of the Nerva (XNV) cryptocurrency.
Project description
Nerva (XNV) Python Library
Table of Contents
About
Python bindings for the JSON RPC interface of the Nerva (XNV) cryptocurrency.
Installation
Requirements
- Python 3.10+
uv(for development only)
Setup
To install current latest release you can use following command:
pip install nerva-py
To install the latest development version you can use following command:
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:
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
License
Copyright © 2024-present Sayan "sn1f3rt" Bhattacharyya
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nerva_py-1.1.1.tar.gz.
File metadata
- Download URL: nerva_py-1.1.1.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f556abee6c2423f7883e73ee8c8fe766230876858b69eaac00538d21cf226622
|
|
| MD5 |
fce8a71cd84c7dce0caca896a43f5f2a
|
|
| BLAKE2b-256 |
00a0bcb90a446f6c5dabb49ad23719e2ee8528218be67d97b5de198beafe19c0
|
File details
Details for the file nerva_py-1.1.1-py3-none-any.whl.
File metadata
- Download URL: nerva_py-1.1.1-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.28 {"installer":{"name":"uv","version":"0.9.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2548cefb81e1c2c2097acc4a77486c293408fb450d00dc016352c16eafc6ce2
|
|
| MD5 |
a4c1ee7aad1e6c5adb37a33595631af0
|
|
| BLAKE2b-256 |
20d26125fd1c00635f55d749feedd564edb4a9653ee5fca3861ccadf2ef9e6f5
|