Skip to main content

StringFlow

GitHub Release crates.io PyPI CI License: MIT

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!")],
)

Note: Streaming (chat_stream()) and async (chat_async()) APIs are currently Rust-only. Python provides synchronous chat() and health_check() only.

Metadata

Release files for stringflow 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stringflow 0.2.2
File Size Uploaded
stringflow-0.2.2.tar.gz 24.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for stringflow 0.2.2
File
stringflow-0.2.2-cp311-abi3-manylinux_2_38_x86_64.whl CPython 3.11 abi3 Linux glibc 2.38+ x86-64 Details
stringflow-0.2.2-cp311-abi3-manylinux_2_38_aarch64.whl CPython 3.11 abi3 Linux glibc 2.38+ ARM64 Details
stringflow-0.2.2-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details
stringflow-0.2.2-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details

Total release size: 10.2 MB

Release files / stringflow-0.2.2.tar.gz

Download URL stringflow-0.2.2.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bb47c7397b73d0fd46518f23d95165f39fde51bc3bdf7227cf727dfcbc3f92f6
BLAKE2b-256 checksum
How to use checksums
038a758dc831a1b9310d2d4f2e1d7993ad5a6278d99b05dfcc843d167f57fc37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release files / stringflow-0.2.2-cp311-abi3-manylinux_2_38_x86_64.whl

Download URL stringflow-0.2.2-cp311-abi3-manylinux_2_38_x86_64.whl
Size 3.8 MB
Tags CPython 3.11 Linux glibc 2.38+ x86-64 abi3
SHA-256 checksum
How to use checksums
3284ff31022ff582d59181b1b9850df30ec25327206fc87e92c6bf60307a32dc
BLAKE2b-256 checksum
How to use checksums
6de3edd847319bdc814e0b1ae3d61992402b31def477700ff8d1bb68a23dee85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release files / stringflow-0.2.2-cp311-abi3-manylinux_2_38_aarch64.whl

Download URL stringflow-0.2.2-cp311-abi3-manylinux_2_38_aarch64.whl
Size 3.6 MB
Tags CPython 3.11 Linux glibc 2.38+ ARM64 abi3
SHA-256 checksum
How to use checksums
1312a79676af0944ab2b95821c397f944918a83a3721642ae3e44447e2cd3465
BLAKE2b-256 checksum
How to use checksums
80f0b0126f5514065e27c8a5f34ba47f74d60ead9b479c24bac5da0afe342bac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release files / stringflow-0.2.2-cp311-abi3-macosx_11_0_arm64.whl

Download URL stringflow-0.2.2-cp311-abi3-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7c8a778dcb9e75693f80a7f209e123c23812370c185e2fbd1180ca9f77c248d5
BLAKE2b-256 checksum
How to use checksums
e5dd4fb02755e7bd1b886035049dfcf9d56752cc803f20e384727ee7ac1f06fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release files / stringflow-0.2.2-cp311-abi3-macosx_10_12_x86_64.whl

Download URL stringflow-0.2.2-cp311-abi3-macosx_10_12_x86_64.whl
Size 1.4 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
561806e3f55f00d087c10ee20ad192a2cfdfc7a3809a2ffdb0d5bbdefe9609bb
BLAKE2b-256 checksum
How to use checksums
9d7678d4ca248f980b6cd980c15471f71b45de7637d7dbbed793d50f1a6e795a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

5 release files

0.2.1

5 release files

0.2.0

5 release files

0.1.0

5 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page