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.1.tar.gz (35.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.1-py3-none-any.whl (41.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nex_weaver-1.6.1.tar.gz
  • Upload date:
  • Size: 35.3 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.1.tar.gz
Algorithm Hash digest
SHA256 f0200da6ad87f43549cf6ace5a3b19f5824c3598b8d01b5d8bdb9d738ca81b74
MD5 ba5f5446a0aac8f4f52b56518f588589
BLAKE2b-256 3224757752bc0b86f63225ea71dbdf0947fe0ef978954586584b1931ec0925c4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nex_weaver-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 41.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 95b76b83969ff7b14c89c84acb1a00e2150e38ea81d48374e73678ec321410fe
MD5 1c1173e6c92796b0927fa41da15a7868
BLAKE2b-256 6db25b9fb40fe973ee5c7e5172651a925f93fe4f1a8193bf9c392f6f0c44d4d4

See more details on using hashes here.

Provenance

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