Skip to main content

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

https://docs.weavechain.com

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)

Source distribution for weave-py-api 1.2.8
File Size Uploaded
weave-py-api-1.2.8.tar.gz 25.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for weave-py-api 1.2.8
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.2.8 This release

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

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