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.0.3.tar.gz (22.1 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.0.3-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nex_weaver-1.0.3.tar.gz
  • Upload date:
  • Size: 22.1 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.0.3.tar.gz
Algorithm Hash digest
SHA256 14a4e1d47aebf2385a2c2489632bbe38c260c423724293847bc63b4fb889fc98
MD5 b7bc64a6e2ade869f214ebd99c6f8679
BLAKE2b-256 50999a625f44ca12626fcf20068b9580e8c2b54ec0d88fe11c6a4f8e51210b83

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nex_weaver-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 29.8 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.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1ab0608217e9367bcb57bcca503036b7beb786ee0da440de28bc998cf65cfab
MD5 230dfae95b64ca093090217bdcb6005d
BLAKE2b-256 b73d29045b483681e068d4ae166159a59486431178f726092f8aac1f4eb1e160

See more details on using hashes here.

Provenance

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