Skip to main content

LDaCA Wordflow Backend

FastAPI service for LDaCA Wordflow. The package can run the API by itself or serve the bundled production frontend from the same process.

The authoritative source, issue tracker, CI, and package release workflow live in the LDaCA Wordflow monorepo.

Quick start

# Install and run (backend + frontend on one port)
uvx ldaca-wordflow

# Or run only the backend API
uvx ldaca-wordflow --backend

# Custom port
uvx ldaca-wordflow --port 9000

Notebook and BinderHub launch

Use the asynchronous launcher when Python must retain control of the event loop, such as a BinderHub notebook cell:

import os

from IPython.display import Markdown, display
from ldaca_wordflow import start_async_server

port = 8001
root_path = (
    f"{os.environ['JUPYTERHUB_SERVICE_PREFIX'].rstrip('/')}"
    f"/proxy/{port}"
)
server = await start_async_server(
    serve_frontend=True,
    port=port,
    root_path=root_path,
)
display(Markdown(f"[Open Wordflow]({root_path}/)"))

start_async_server() returns only after ASGI lifespan startup succeeds. Its caller-owned handle supports waiting and bounded graceful shutdown. The caller owns reverse-proxy discovery and supplies the generic ASGI root_path; Wordflow does not inspect JupyterHub environment variables. Install ldaca-wordflow[deploy] in the Binder environment so jupyter-server-proxy is available to the Jupyter server. Do not run this cell while a CLI-launched instance already owns the same port.

When finished, stop the caller-owned server from another cell:

await server.close()

See the BinderHub runbook for image setup, terminal launch alternatives, proxy behavior, and storage expectations.

Development

Metadata

Release files for ldaca-wordflow 0.7.3

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

Source distribution (sdist)

Source distribution for ldaca-wordflow 0.7.3
File Size Uploaded Provenance
ldaca_wordflow-0.7.3.tar.gz 9.2 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ldaca-wordflow 0.7.3
File Interpreter ABI Platform
ldaca_wordflow-0.7.3-py3-none-any.whl Python 3 none any Details

Total release size: 18.7 MB

Release files / ldaca_wordflow-0.7.3.tar.gz

Download URL ldaca_wordflow-0.7.3.tar.gz
Size 9.2 MB
Tags Source
SHA-256 checksum
How to use checksums
b7c2062daa2586b774b609eed9acec7876b6a23ec62cffef2914b23416f6cd0e
BLAKE2b-256 checksum
How to use checksums
6eb025a66582ae5489a73aad8cf0d3cbcb961c2376464463cf36d2127efa981d
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 Aug 27, 2026.

Transparency log

Release files / ldaca_wordflow-0.7.3-py3-none-any.whl

Download URL ldaca_wordflow-0.7.3-py3-none-any.whl
Size 9.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3cb09dd428a6f578ce4cb3000d9cd17289d7698f59d2887d37f18e043a7de64b
BLAKE2b-256 checksum
How to use checksums
77eabdf118a193e5ef395c677305271320978138272c1a37180e22d7c98dc9de
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 Aug 27, 2026.

Transparency log

Security for ldaca-wordflow 0.7.3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ldaca_wordflow-0.7.3.tar.gz

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 Aug 27, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

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