Skip to main content

Python bindings for the JSON RPC interface of the Nerva cryptocurrency.

Project description

Nerva Python Library

Ruff Build License

Table of Contents

About

Python bindings for the JSON RPC interface of the Nerva cryptocurrency.

Installation

Requirements

  • Python 3.8+
  • 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

MIT License

Copyright © 2024 Sayan "Sn1F3rt" Bhattacharyya

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nerva_py-1.1.0.tar.gz (28.5 kB view details)

Uploaded Source

Built Distribution

nerva_py-1.1.0-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file nerva_py-1.1.0.tar.gz.

File metadata

  • Download URL: nerva_py-1.1.0.tar.gz
  • Upload date:
  • Size: 28.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.22

File hashes

Hashes for nerva_py-1.1.0.tar.gz
Algorithm Hash digest
SHA256 5eb7cfbc0902a591798b4cd64882798f8d49c651055738093fc75698ec86f5d3
MD5 d262b8a89ae962efa88be9a299019497
BLAKE2b-256 b82e863a8a0395c1b0d4c3aa419fb436a704694437ec8fc29dbf80b3ba251006

See more details on using hashes here.

File details

Details for the file nerva_py-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nerva_py-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d6391a5ac601eecd39ca13a0eb634fc97c2e1684101458a8308e2d377f84f4d
MD5 6c2163e872cae164e77c0a0d76dbf1ef
BLAKE2b-256 1451492358e54a74e8273928879d516a94fe9b2d9b3918c523163e7f48b55009

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page