Flow strings through language models.
Project description
StringFlow
Flow strings through language models.
Install
cargo add stringflow
uv add stringflow
Usage
Rust
use stringflow::{AuthConfig, ChatMessage, ProviderConfig, WireFormat, chat_async};
let config = ProviderConfig {
name: "local".to_string(),
base_url: "http://localhost:8080".to_string(),
wire_format: WireFormat::Messages,
auth: AuthConfig::None,
model: None,
max_tokens: None,
};
let messages = vec![
ChatMessage { role: "user".to_string(), content: "Hello!".to_string() },
];
let response = chat_async(&config, &messages).await?;
Python
import stringflow
response = stringflow.chat(
base_url="http://localhost:8080",
messages=[("user", "Hello!")],
)
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
Built Distributions
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 stringflow-0.2.0.tar.gz.
File metadata
- Download URL: stringflow-0.2.0.tar.gz
- Upload date:
- Size: 23.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
586ccedf2c08b935a8dc51fcde27db0073c3c085e27ca83bb3af0aad3acf3e04
|
|
| MD5 |
4973d9fc01affab177738c815dc5a365
|
|
| BLAKE2b-256 |
94f53d8813c710f60fea1c2004fec7a219bdded462eb02988541887908b87465
|
Provenance
The following attestation bundles were made for stringflow-0.2.0.tar.gz:
Publisher:
release-python.yml on dkdc-io/stringflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stringflow-0.2.0.tar.gz -
Subject digest:
586ccedf2c08b935a8dc51fcde27db0073c3c085e27ca83bb3af0aad3acf3e04 - Sigstore transparency entry: 1230173647
- Sigstore integration time:
-
Permalink:
dkdc-io/stringflow@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stringflow-0.2.0-cp311-abi3-manylinux_2_38_x86_64.whl.
File metadata
- Download URL: stringflow-0.2.0-cp311-abi3-manylinux_2_38_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.11+, manylinux: glibc 2.38+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
804cac82b77cca6c5f0243ab30661be641618f38cefebfd14a42378dde8f6240
|
|
| MD5 |
4282a57a1007aab6b85c7ccb77ad4ef8
|
|
| BLAKE2b-256 |
26f7b643cf66e8edbedc7a319ec394c7787b9855c5e559887e86d912543e4459
|
Provenance
The following attestation bundles were made for stringflow-0.2.0-cp311-abi3-manylinux_2_38_x86_64.whl:
Publisher:
release-python.yml on dkdc-io/stringflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stringflow-0.2.0-cp311-abi3-manylinux_2_38_x86_64.whl -
Subject digest:
804cac82b77cca6c5f0243ab30661be641618f38cefebfd14a42378dde8f6240 - Sigstore transparency entry: 1230173682
- Sigstore integration time:
-
Permalink:
dkdc-io/stringflow@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stringflow-0.2.0-cp311-abi3-manylinux_2_38_aarch64.whl.
File metadata
- Download URL: stringflow-0.2.0-cp311-abi3-manylinux_2_38_aarch64.whl
- Upload date:
- Size: 3.6 MB
- Tags: CPython 3.11+, manylinux: glibc 2.38+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b218be938de19db61cfaafef5e78c53b8cbb8672e20d15985a646c3143da197e
|
|
| MD5 |
ad950468fae8b37cc7e3aebcb081a4c5
|
|
| BLAKE2b-256 |
e34d147c475d7cc416edec268a87a7075ed4e10bfb644a256a31d59fea4c9dbb
|
Provenance
The following attestation bundles were made for stringflow-0.2.0-cp311-abi3-manylinux_2_38_aarch64.whl:
Publisher:
release-python.yml on dkdc-io/stringflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stringflow-0.2.0-cp311-abi3-manylinux_2_38_aarch64.whl -
Subject digest:
b218be938de19db61cfaafef5e78c53b8cbb8672e20d15985a646c3143da197e - Sigstore transparency entry: 1230173666
- Sigstore integration time:
-
Permalink:
dkdc-io/stringflow@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stringflow-0.2.0-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: stringflow-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7b2357b5d8d328305e82bf5f27e0c36a9b2b7dfdcb7e2442b35e9f39aa2cb6f
|
|
| MD5 |
10c805b6318997e6f981f968f3d59c1d
|
|
| BLAKE2b-256 |
1fef81b72dd6f91f3ba150e36126d729820fe2d980802b0e737fd900fa79a321
|
Provenance
The following attestation bundles were made for stringflow-0.2.0-cp311-abi3-macosx_11_0_arm64.whl:
Publisher:
release-python.yml on dkdc-io/stringflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stringflow-0.2.0-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
f7b2357b5d8d328305e82bf5f27e0c36a9b2b7dfdcb7e2442b35e9f39aa2cb6f - Sigstore transparency entry: 1230173653
- Sigstore integration time:
-
Permalink:
dkdc-io/stringflow@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stringflow-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: stringflow-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86653cbc087b9db2db3cbddad2c8424d574f03eeaaa39acb202b01f92133a3e8
|
|
| MD5 |
22f26e87625572c0c91beda28c1d00cb
|
|
| BLAKE2b-256 |
86f7975eb07c2312d15b04a4382b01b2c8159a627aa73f31f2a00cac4ff178b0
|
Provenance
The following attestation bundles were made for stringflow-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl:
Publisher:
release-python.yml on dkdc-io/stringflow
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stringflow-0.2.0-cp311-abi3-macosx_10_12_x86_64.whl -
Subject digest:
86653cbc087b9db2db3cbddad2c8424d574f03eeaaa39acb202b01f92133a3e8 - Sigstore transparency entry: 1230173695
- Sigstore integration time:
-
Permalink:
dkdc-io/stringflow@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/dkdc-io
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-python.yml@541666c5b2d4f86e7ba42c4c8c87e682d2dd9541 -
Trigger Event:
push
-
Statement type: