Skip to main content

QuoRum LightNode Python SDK

Python SDK for Quorum LightNode, Without local storage.

Another better choice is quorum-lightnode-py, with local storage.

More about QuoRum:

Install

pip install quorum_mininode_py

Usage

from quorum_mininode_py import MiniNode

seed_url = 'rum://seed?v=1&e=0&n=0&c=apzmbMVtMy6J0sQKwhF...2MwHjpA2E'
pvtkey = "0xd4e9ddc19ec5b...d8c"

bot = MiniNode(seed_url,pvtkey)

# post content to rum group chain
data = {
    "type": "Create",
    "object": {
        "type": "Note",
        "content": "Hello world! Hello quorum!",
        "id": "a1d92233-3801-4295-a3cd-0e594385acc6",
    },
}

resp = bot.api.post_content(data)
print(resp)

# like a post
data = {
    "type": "Like",
    "object": {"type": "Note", "id": "a1d92233-3801-4295-a3cd-0e594385acc6"},
}

resp = bot.api.post_content(data)
print(resp)

# get content from rum group chain
trxs = bot.api.get_content(num=2, reverse=True)
print(trxs)

Source

License

This work is released under the MIT license. A copy of the license is provided in the LICENSE file.

Metadata

Release files for quorum-mininode-py 1.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quorum-mininode-py 1.3.3
File Size Uploaded Provenance
quorum_mininode_py-1.3.3.tar.gz 15.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for quorum-mininode-py 1.3.3
File Interpreter ABI Platform
quorum_mininode_py-1.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 33.1 kB

Release files / quorum_mininode_py-1.3.3.tar.gz

Download URL quorum_mininode_py-1.3.3.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
320b04ec3ac9f0ac3f40ec20f30adb031a434edf94a9aa7471cd8d401fdeda41
BLAKE2b-256 checksum
How to use checksums
ec716e7e950db4913ca35e328f27daf2647089ea76c613ffdf1c1dc3864deb7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / quorum_mininode_py-1.3.3-py3-none-any.whl

Download URL quorum_mininode_py-1.3.3-py3-none-any.whl
Size 18.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fea9fe3d386b89315d4eaafb6c9fb75cb147257f8cdb8bc20ce6ac23f57b7702
BLAKE2b-256 checksum
How to use checksums
3d8520001b157b5aa277720987d67ea6bf554d676cb1228a7d4a36d2f85ed01a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for quorum-mininode-py 1.3.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page