https://github.com/weavechain/weave-py-api
Weavechain Python API
https://github.com/weavechain/weave-py-api
confidential-compute data data-replication distributed-computing homomorphic-encryption layer-0 mpc self-sovereign verifiable-credentials weavechain zero-knowledge-proofs
Last synced: 23 days ago
JSON representation
Weavechain Python API
- Host: GitHub
- URL: https://github.com/weavechain/weave-py-api
- Owner: weavechain
- License: mit
- Created: 2023-06-07T06:27:58.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-05-28T08:11:27.000Z (8 months ago)
- Last Synced: 2025-11-28T15:46:19.615Z (2 months ago)
- Topics: confidential-compute, data, data-replication, distributed-computing, homomorphic-encryption, layer-0, mpc, self-sovereign, verifiable-credentials, weavechain, zero-knowledge-proofs
- Language: Python
- Homepage: https://www.weavechain.com
- Size: 52.7 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Weavechain Python API
[https://weavechain.com](https://weavechain.com): Layer-0 For Data
#### How to install
```sh
pip install weave-py-api
```
#### Data read sample
```python
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
[https://docs.weavechain.com](https://docs.weavechain.com)