Weavechain Python API
https://weavechain.com: Layer-0 For Data
How to install
pip install weave-py-api
Data read sample
from weaveapi import weaveapi
from weaveapi.records import *
from weaveapi.options import *
from weaveapi.weaveh import *
pub, pvk = generate_keys()
print("Public key: ", pub)
print("Private key:", pvk)
node = "https://public.weavechain.com:443/92f30f0b6be2732cb817c19839b0940c"
organization = "weavedemo"
scope = "shared"
table = "directory"
cfg = weave_client_config(pub, pvk, node, organization)
nodeApi, session = connect_weave_api(cfg)
reply = nodeApi.read(session, scope, table, None, READ_DEFAULT_NO_CHAIN).get()
print(reply["data"])
Docs
Metadata
Release files for weave-py-api 1.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| weave-py-api-1.2.8.tar.gz | 25.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| weave_py_api-1.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.6 kB
Release files / weave-py-api-1.2.8.tar.gz
| Download URL | weave-py-api-1.2.8.tar.gz |
|---|---|
| Size | 25.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5a0570e8d0f8ac4f67a80918b0dec6df887a3c4f82ed732b31b95af8d357cb5
|
|
BLAKE2b-256 checksum How to use checksums |
33aac1b53083c7dd756bb8fa658e8ab4ddf347fe569f9230a439d89b4aa79c10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.7
|
Release files / weave_py_api-1.2.8-py3-none-any.whl
| Download URL | weave_py_api-1.2.8-py3-none-any.whl |
|---|---|
| Size | 30.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
80e1a48616e0a14450457937beab00afb457f60c460555df37333c7f5b762283
|
|
BLAKE2b-256 checksum How to use checksums |
14dc20693ac3d3f2502087a3f345f3830da85f6e6733779a073b0770a0211cfa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.7
|