ms_flow
In-process, desktop-first, domain-agnostic orchestrator for massive data flows: jobs, executors and persistence in the same process as your app — no broker, no daemon, no server. Works from a Qt app, a notebook or a plain script.
import sqlite3
from ms_flow import Workspace, job, table_sink, task
@task()
def double_value(value: int) -> dict:
return {"value": value, "double_value": 2 * value}
@job(task=double_value, output=table_sink("results", columns=("value", "double_value")))
def double_values(params, project):
yield from range(1000)
ms = Workspace(app_id="demo")
ms.create_or_open_project(name="demo", folder="./demo_project", activate=True)
with sqlite3.connect(ms.project_db.db_path) as db:
db.execute("CREATE TABLE IF NOT EXISTS results (value INTEGER, double_value INTEGER)")
print(ms.engine.wait(ms.submit(double_values)).status)
ms.shutdown()
Install
pip install ms_flow # engine + projects: SQLite and loky
Where to look
- 5-minute quickstart — first working job.
- Runnable examples — scripts y notebook.
- Public API — API.
- Docs index — guides, contracts, operation
- Benchmarks — performance.
Status
Beta. The public API (ms_flow.api) is the stable surface; ms_flow.core.* may change without notice.
License
MIT — see LICENSE.
Metadata
Release files for ms-flow 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ms_flow-0.2.0.tar.gz | 301.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ms_flow-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 462.6 kB
Release files / ms_flow-0.2.0.tar.gz
| Download URL | ms_flow-0.2.0.tar.gz |
|---|---|
| Size | 301.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9df3b3fccc1959de4e77d5f058cc78992c953a89243eea0fa9e151f5d0db007c
|
|
BLAKE2b-256 checksum How to use checksums |
59470972f97a3dbcac07daa55fe77ae67f65f9f9d7ec1dfd89b518bb2db941d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 14, 2026.
Transparency logRelease files / ms_flow-0.2.0-py3-none-any.whl
| Download URL | ms_flow-0.2.0-py3-none-any.whl |
|---|---|
| Size | 161.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fbbe3636a9a1f69b0f2f2940ec691ae369a55b556c6a405ab041d43ccf9b4155
|
|
BLAKE2b-256 checksum How to use checksums |
ca082df76736c3bf715f836f0c7ca15c1bda8b477a8795ccd00b4d071c9d2c5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 14, 2026.
Transparency log