Python client for the NexWeave Weaver server. The SDK mirrors the REST API exposed by
weaver-server and provides ergonomic helpers for training, sampling, telemetry, and
operations management.
pip install nex-weaverConfiguration can be provided via keyword arguments or environment variables:
WEAVER_API_KEY
from weaver import ServiceClient
def main():
with ServiceClient() as client:
session = client.ensure_session()
print(session)
if __name__ == "__main__":
main()For a full demonstration see weaver/examples/pig_latin.py.