Skip to main content

Python SDK for the Weaver platform

Project description

Weaver Python SDK

PyPI version Python CI

English | 中文

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()

Usage

See examples/weaver_walkthrough.ipynb for an interactive walkthrough of the full SDK workflow using a Pig Latin translation task — covering data preparation, LoRA / full fine-tuning, sampling, and checkpoint management.

For a complete runnable script, see examples/pig_latin.py.

Ecosystem

NexRL is the companion RL training framework. In its training-service mode, NexRL orchestrates the full RL loop (rollouts, trajectory collection, policy updates) while Weaver handles the underlying training and inference services.

Use Cases

OpenClaw Autonomous LearningMetaClaw has integrated Weaver as an RL backend. By setting rl.backend=weaver, MetaClaw turns every live conversation into a learning signal and uses Weaver for cloud-based LoRA training, enabling personal agents to continuously evolve without a local GPU.

Deep Dive

For more technical details, see Deep Dive into Weaver.

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.7.0.2.tar.gz (41.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.7.0.2-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nex_weaver-1.7.0.2.tar.gz
  • Upload date:
  • Size: 41.1 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.7.0.2.tar.gz
Algorithm Hash digest
SHA256 2009a9f4e733347d59b8fdaf5733fabdd526efe5d4920e97e1d7c03327ff1284
MD5 fb3f6a3aaa91c97969dbb0abd53bcefd
BLAKE2b-256 22dac2d86bbddf1360661001cc21a26ec7e7bb99553a714c8cbc3631b5e866f4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: nex_weaver-1.7.0.2-py3-none-any.whl
  • Upload date:
  • Size: 43.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.7.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1ee7aba9c3a28196cfdc1d9ea9db74647f219bafd96948e031d9a6d624a0790c
MD5 5ba024b7399f2ce1a292b7cd66f9459f
BLAKE2b-256 d5db4d3d02a986511bdfb5e57345fdb8a605df65914c06d57fdbf1c2f758096e

See more details on using hashes here.

Provenance

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