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.1.0.tar.gz (23.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.1.0-py3-none-any.whl (31.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nex_weaver-1.1.0.tar.gz
  • Upload date:
  • Size: 23.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.1.0.tar.gz
Algorithm Hash digest
SHA256 bc3eb0f70663a02c00d006c9f67b9e3c12189f06e6f85ff950a3e3b01b72ea88
MD5 257dc66e0711b5bf837e7864535d9c5e
BLAKE2b-256 8ec584ca90c76359087cf2da8ee13e0a1c23ce97848cb73334d222ce0b56e650

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nex_weaver-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 31.1 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3759c0655c63f85fc887164940d3ec7f6555a21c7c1bb2c948e503ad8975ff2b
MD5 82e8ddd9a63b9ed11c13cbae683d7d77
BLAKE2b-256 362331dbcb717e6d64b9ce1c3edba4a36d124d78fdf55b9df26c4d5fe293b0f3

See more details on using hashes here.

Provenance

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