Flowity
Workflow language designed for LLM.
Installation
pip install flowity
Write flowity code
Hello, who are you?
$resp = $query()
$end($resp)
Run a workflow
import os
# === Setup Langchain ===
from langchain_openai import ChatOpenAI
os.environ["OPENAI_API_KEY"] = "sk-xxxx" # Your OpenAI api key
# Set OPENAI_API_BASE if you're using a reverse proxy
# os.environ["OPENAI_API_BASE"] = "https://api.openai.com/v1"
model = ChatOpenAI()
# === Write Flowity Code ===
code = """
Hello, who are you?
$str = $query()
$end($str)
"""
# === Run Flowity Code ===
from flowity.rt import rtime
rt = rtime.FlowityRuntime()
ret = rt.run(
code=code,
model=model
)
print(ret)
Metadata
Release files for flowity 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| flowity-0.0.1.tar.gz | 5.6 kB | Without provenance | Details for flowity-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| flowity-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for flowity-0.0.1-py3-none-any.whl |
Total release size: 11.9 kB
Release files / flowity-0.0.1.tar.gz
| Download URL | flowity-0.0.1.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00e6863b858006d576ac1ad8acd59457b8f5a958c12bbed37c7eece8330c57cd
|
|
BLAKE2b-256 checksum How to use checksums |
c02783f934b4897f0be01ff8cfaf42581e92505f7fae3c57da52682188b1d6b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Release files / flowity-0.0.1-py3-none-any.whl
| Download URL | flowity-0.0.1-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dae2f7a1f732855a9f68200a717bdb5f1de0a7366c58688f76fa928a54a39ae
|
|
BLAKE2b-256 checksum How to use checksums |
f7bf6043b1da1f450480480feae707d546c3752b5ba7289307019d98689d0e40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.3
|
Security for flowity 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.