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.7.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.7.tar.gz.
File metadata
- Download URL: weave-py-api-1.2.7.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 |
51200d14d06a1203c57461fae7c71033c734aae4927142584c2691e1952598e4
|
|
| MD5 |
b9fdc44ac5b197f9ba00fb0e9b570fdf
|
|
| BLAKE2b-256 |
cbb091241962f56bfc2dd40f20526bd5dfbc5e885affa851b22c28c6ac75282d
|
File details
Details for the file weave_py_api-1.2.7-py3-none-any.whl.
File metadata
- Download URL: weave_py_api-1.2.7-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 |
a69eb16e83c64b1f49064c375a41370ce6c2ee9cee9abbdf2153df09538321e7
|
|
| MD5 |
33234dcaf79f10bc2b251a0fd4c5c4c8
|
|
| BLAKE2b-256 |
5f680bf7cee3d9ff2798425a0b4d252967a5e27c613279f64c3851d8f8237833
|