Weavechain Python API
Project description
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
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
weave-py-api-1.2.8.tar.gz
(25.9 kB
view details)
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 weave-py-api-1.2.8.tar.gz.
File metadata
- Download URL: weave-py-api-1.2.8.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5a0570e8d0f8ac4f67a80918b0dec6df887a3c4f82ed732b31b95af8d357cb5
|
|
| MD5 |
3767e9bd7c38f610db5bce55c732d4d5
|
|
| BLAKE2b-256 |
33aac1b53083c7dd756bb8fa658e8ab4ddf347fe569f9230a439d89b4aa79c10
|
File details
Details for the file weave_py_api-1.2.8-py3-none-any.whl.
File metadata
- Download URL: weave_py_api-1.2.8-py3-none-any.whl
- Upload date:
- Size: 30.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80e1a48616e0a14450457937beab00afb457f60c460555df37333c7f5b762283
|
|
| MD5 |
6131a6b9a2257a90b5ecc84582495212
|
|
| BLAKE2b-256 |
14dc20693ac3d3f2502087a3f345f3830da85f6e6733779a073b0770a0211cfa
|