Skip to main content

No project description provided

Project description

Weave Python SDK

Weave Python provides client utilities for integrating with Weave platform services, covering authentication, generation, synthesis, storage, and more. It is intended for Python applications that need to orchestrate Weave workflows without managing low-level HTTP plumbing.

Installation

pip install weave-python

The package requires Python 3.10 or newer.

Quick Start

from weave.weaveapi import auth, generate

# Authenticate with your Weave credentials
session = auth.login_with_api_key("your-api-key")

# Send a generation request
result = generate.text(session=session, prompt="Hello Weave!")
print(result.text)

Refer to the individual subpackages under weave.weaveapi (for example auth, synthesize, storage, and payment) for domain-specific helpers.

Contributing

  1. Create a virtual environment and install dev dependencies with uv pip sync uv.lock.
  2. Run formatting and linting via task format and task lint.
  3. Open a pull request with context on the workflow or service you changed.

License

Distributed under the Apache Software License and MIT License. See LICENSE for additional licensing details.

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

weave_python-0.32.0.tar.gz (58.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weave_python-0.32.0-py3-none-any.whl (60.8 kB view details)

Uploaded Python 3

File details

Details for the file weave_python-0.32.0.tar.gz.

File metadata

  • Download URL: weave_python-0.32.0.tar.gz
  • Upload date:
  • Size: 58.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for weave_python-0.32.0.tar.gz
Algorithm Hash digest
SHA256 a1f614a1d38240a0b8a76d7eb625e928bbb88ba9ade37f574063ff710ece87c8
MD5 9452878c838666fe3b0e7a21899098bb
BLAKE2b-256 fca2b1472a26a2def11e3560e7f9b7a2da6f698ed62ac0ecb78d6b10425ac43c

See more details on using hashes here.

Provenance

The following attestation bundles were made for weave_python-0.32.0.tar.gz:

Publisher: release.yaml on weave-labs/weave-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file weave_python-0.32.0-py3-none-any.whl.

File metadata

  • Download URL: weave_python-0.32.0-py3-none-any.whl
  • Upload date:
  • Size: 60.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for weave_python-0.32.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6fb1e4e4cc845e0884143b5be8c8c55079f3827ef8618c4018369c15e6b171
MD5 9fbe2a3c7739e876f3f2d8ef3a4f7b49
BLAKE2b-256 9351fd3135c7fd130481cc2920479d8e6b02761adbb43bdba44ec30a4c3ebf56

See more details on using hashes here.

Provenance

The following attestation bundles were made for weave_python-0.32.0-py3-none-any.whl:

Publisher: release.yaml on weave-labs/weave-python

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