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.2.tar.gz (35.9 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.2-py3-none-any.whl (41.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nex_weaver-1.6.2.tar.gz
Algorithm Hash digest
SHA256 fa309db1f921f72be022ade3ec6ae7448e2b2de118194a9778006c820e5e87ff
MD5 8756e3c954edcf194ba5e97ef4cdb4d5
BLAKE2b-256 b12ee7cae184a8415b3715f4bc5b6e36c1c37dd1ef733c4d3b056d4bce054500

See more details on using hashes here.

Provenance

The following attestation bundles were made for nex_weaver-1.6.2.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.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for nex_weaver-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 706d445a14d3641e245ac7d00cd79b699b93ae5216ade4891c8fe86a8fd1d74d
MD5 1044b15a87801b6bd15053b2921ee172
BLAKE2b-256 a9522ca6ad9b88ad37916b6512cda2dc67bb6e10b336ea3c0bf2d434eb7c1e0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for nex_weaver-1.6.2-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