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
Metadata
Release files for nerva-py 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nerva_py-2.0.0.tar.gz | 69.1 kB | Without provenance | Details for nerva_py-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nerva_py-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for nerva_py-2.0.0-py3-none-any.whl |
Total release size: 87.8 kB
Release files / nerva_py-2.0.0.tar.gz
| Download URL | nerva_py-2.0.0.tar.gz |
|---|---|
| Size | 69.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c8aacf06d6f0bc1b7d7962ce809e466df0733b2b672aa62f5e18312a886b969
|
|
BLAKE2b-256 checksum How to use checksums |
96e1d133dfe875c67dea586834009e553d4c466d3be6999d2b28cf7cb6809d36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / nerva_py-2.0.0-py3-none-any.whl
| Download URL | nerva_py-2.0.0-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d5c7302fd39c552725b5c44a6a88dc2460a45c309f115ccac504263b0b76ce5b
|
|
BLAKE2b-256 checksum How to use checksums |
7c3854bacef8b5e79c0e5bc3ad8d5b99121e711ae752fa10bfbc6320d1c092a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for nerva-py 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.