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.3.0.tar.gz (25.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.3.0-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nex_weaver-1.3.0.tar.gz
  • Upload date:
  • Size: 25.9 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.3.0.tar.gz
Algorithm Hash digest
SHA256 356d8cd0159ca06c917e50992b3bbf01a6f397dd5d4bc89bc968ada96e4e8809
MD5 5c56f79229f78150cd55670f163c1875
BLAKE2b-256 eee44dbe2b3fa7b4b4f5f9b21d60f469a0210b0c07cf43f743eddc0565c5b8e1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nex_weaver-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 34.3 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d77519754988115acfa3bb197941353b959a271d010a7870e44ccd24f71c097
MD5 548b835dd6ed635f15606ef99a57c49c
BLAKE2b-256 fa5f9139460301e8c6a471e34be88f409add8521a3ecd431839737788096458b

See more details on using hashes here.

Provenance

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