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.30.4.tar.gz (171.7 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.30.4-py3-none-any.whl (218.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for weave_python-0.30.4.tar.gz
Algorithm Hash digest
SHA256 598fb152fce8a98fb9f224b5b06d5d345b692e3db10beb1db0c1fcb218e5b186
MD5 c44367a48a16a68f08dfd3e18b37838f
BLAKE2b-256 19787561727dbd54050ccc574c1185739cdc86fbf0c937f0779fd3db1d722961

See more details on using hashes here.

Provenance

The following attestation bundles were made for weave_python-0.30.4.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.30.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for weave_python-0.30.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce921f202d8573c11e8168452000c4cd4db35b5979592c7d97a483222e88306b
MD5 b2158dffa180cb9ec782afaf856182a4
BLAKE2b-256 1e1182da4f36dfa094d113d0d125cacd8deef83ebdaa90696ff13f595beb9e25

See more details on using hashes here.

Provenance

The following attestation bundles were made for weave_python-0.30.4-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