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
- Create a virtual environment and install dev dependencies with
uv pip sync uv.lock. - Run formatting and linting via
task formatandtask lint. - 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weave_python-0.42.0.tar.gz.
File metadata
- Download URL: weave_python-0.42.0.tar.gz
- Upload date:
- Size: 230.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fb244df76da6d4aa7a883b6dd7cdfdff0b4ff8beb3c533e871298899f9afb78
|
|
| MD5 |
0d9df89fdbfef185db82c71397aa9118
|
|
| BLAKE2b-256 |
4b3621b24a4253b459dc12021324691060c9f8aff19b80a4e5367ab308a7369b
|
Provenance
The following attestation bundles were made for weave_python-0.42.0.tar.gz:
Publisher:
release.yaml on weave-labs/weave-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
weave_python-0.42.0.tar.gz -
Subject digest:
5fb244df76da6d4aa7a883b6dd7cdfdff0b4ff8beb3c533e871298899f9afb78 - Sigstore transparency entry: 1438569603
- Sigstore integration time:
-
Permalink:
weave-labs/weave-python@685de9ccbcd0257400cd4a46ebf0630a3e184cd6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/weave-labs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
release.yaml@685de9ccbcd0257400cd4a46ebf0630a3e184cd6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file weave_python-0.42.0-py3-none-any.whl.
File metadata
- Download URL: weave_python-0.42.0-py3-none-any.whl
- Upload date:
- Size: 272.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6614570737dc4c3a83aab1d6199d6eff2c2a7a4a72800a4ea4789ac1ad7ec9bf
|
|
| MD5 |
3b23abd1cbb171500a643f0f8008146a
|
|
| BLAKE2b-256 |
aeff572b3faa906fd889ed60297505da3f6e728b0051f12b888ca788f77e467d
|
Provenance
The following attestation bundles were made for weave_python-0.42.0-py3-none-any.whl:
Publisher:
release.yaml on weave-labs/weave-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
weave_python-0.42.0-py3-none-any.whl -
Subject digest:
6614570737dc4c3a83aab1d6199d6eff2c2a7a4a72800a4ea4789ac1ad7ec9bf - Sigstore transparency entry: 1438569607
- Sigstore integration time:
-
Permalink:
weave-labs/weave-python@685de9ccbcd0257400cd4a46ebf0630a3e184cd6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/weave-labs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
self-hosted -
Publication workflow:
release.yaml@685de9ccbcd0257400cd4a46ebf0630a3e184cd6 -
Trigger Event:
push
-
Statement type: