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
Full API reference is available at nerva-py.sn1f3rt.dev.
Here is a simple example to get you started:
import asyncio
from nerva.daemon import DaemonRPC
async def main():
daemon = DaemonRPC(
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
Funding
The library itself is free to use but its development is not. If you find it useful, please consider donating:
- Nerva (XNV):
NV1PqtQwRik7FFeAJ5n7iKbHtve3nkeM99x3Q31wjBAm7twvRv6NYkbbP7vSG3n8N3fsUh2gpfZG2PRi4gYhxL4h2r2SnhUoX - Monero (XMR):
48SSQzEcvQPK7H69vUvwReFT7tCDESdRhPFGubTgJ8WeXUUPQRWjY8oZk3wHfLhsUnChJ1BYyYfoLKQh8epYsupAAWCnDKh - Bitcoin (BTC):
bc1qzg4jjtxq6cg22pmlaesyva64nrjzcaqud968vf - Ethereum (ETH):
0x97173e82df1d9Cc76946241D63A9f9231Dea1566
or if you prefer, you can support using fiat currency:
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-2.0.0.tar.gz.
File metadata
- Download URL: nerva_py-2.0.0.tar.gz
- Upload date:
- Size: 69.1 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 |
9c8aacf06d6f0bc1b7d7962ce809e466df0733b2b672aa62f5e18312a886b969
|
|
| MD5 |
018352279eb47f9a927fd3a67461f465
|
|
| BLAKE2b-256 |
96e1d133dfe875c67dea586834009e553d4c466d3be6999d2b28cf7cb6809d36
|
File details
Details for the file nerva_py-2.0.0-py3-none-any.whl.
File metadata
- Download URL: nerva_py-2.0.0-py3-none-any.whl
- Upload date:
- Size: 18.7 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 |
d5c7302fd39c552725b5c44a6a88dc2460a45c309f115ccac504263b0b76ce5b
|
|
| MD5 |
7593c49b1e1264f16462dc7b7dd11e76
|
|
| BLAKE2b-256 |
7c3854bacef8b5e79c0e5bc3ad8d5b99121e711ae752fa10bfbc6320d1c092a5
|