Skip to main content

Python SDK for the Weaver platform

Project description

Weaver Python SDK

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.

Installing locally

pip install nex-weaver

Configuration

Configuration can be provided via keyword arguments or environment variables:

  • WEAVER_API_KEY

Quickstart

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nex_weaver-1.6.0.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nex_weaver-1.6.0-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

Details for the file nex_weaver-1.6.0.tar.gz.

File metadata

  • Download URL: nex_weaver-1.6.0.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nex_weaver-1.6.0.tar.gz
Algorithm Hash digest
SHA256 ac6b4fcf3c31b96046894f3a850edd5864734f4fc6370a3b913c514f2492504a
MD5 578f5ad8d6601ab132be8163fac6458e
BLAKE2b-256 a6774ea7b4aef457b27b7652a0f3aadfcb346be3829d88506a48adf7e7ad9928

See more details on using hashes here.

Provenance

The following attestation bundles were made for nex_weaver-1.6.0.tar.gz:

Publisher: publish.yml on nex-agi/weaver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nex_weaver-1.6.0-py3-none-any.whl.

File metadata

  • Download URL: nex_weaver-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 40.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nex_weaver-1.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65abdc9b576554e2d73fa0e084bf82cdf250fc92b0c6add6439e6f2ce20b9c4d
MD5 4a4cd67acc4f4e56e1611b84f197fc2e
BLAKE2b-256 9f46cf6acbe2bf90ba26e898626bc81cba76129cdb3ef3891aaf463fc553d2f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nex_weaver-1.6.0-py3-none-any.whl:

Publisher: publish.yml on nex-agi/weaver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page