Skip to main content

Local web app for Sciplex visual programming - node-based data science workflows

Project description

Sciplex Flow

Local web application for Sciplex visual programming. Runs a FastAPI/uvicorn backend and serves the bundled React/Vite frontend. Depends on sciplex-core for models, controllers, and default nodes.

Installation

Python 3.11+ is required.

pip install sciplex-flow

Quick start

# Start the local server on the default port (8000)
sciplex-flow

# Choose a port
sciplex-flow --port 5173

What happens:

  • FastAPI server starts locally (no cloud calls by default)
  • Web UI served from the packaged frontend/dist bundle
  • WebSocket channel powers live node execution and UI updates

Project layout

  • cli/ — Entry point for the sciplex-flow CLI.
  • backend/ — FastAPI app and websocket adapters.
  • frontend/ — React/Vite source; dist/ is the built bundle shipped in the wheel.
  • frontend/dist/ — Bundled assets included in the package (do not delete; rebuild when frontend changes).

Architecture (high level)

  • FastAPI backend serving REST + WebSocket for live updates.
  • React/Vite frontend bundled into frontend/dist and served by the backend.
  • Depends on sciplex-core for models/controllers and default nodes.

Supported versions

  • Python 3.11, 3.12
  • Node 20.x (for frontend build)

Development

# Install backend in editable mode
pip install -e ".[dev]"

# Run backend
sciplex-flow --port 8000

# Frontend (from frontend/)
npm install
npm run dev         # dev server with HMR
npm run build       # produces frontend/dist for packaging
npm run lint        # ESLint (TS/React)
npm run typecheck   # TypeScript type-check only

To update the packaged assets, rebuild the frontend and ensure frontend/dist is present before creating a wheel/sdist. CI does this automatically (see .github/workflows/ci.yml).

License

MIT

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

sciplex_flow-0.1.7.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sciplex_flow-0.1.7-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file sciplex_flow-0.1.7.tar.gz.

File metadata

  • Download URL: sciplex_flow-0.1.7.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for sciplex_flow-0.1.7.tar.gz
Algorithm Hash digest
SHA256 5cdd51c7050bd26ff1d6c8bc8ec81f73cae7c621968f01b5068589d6eb7e30a3
MD5 b6564727e29b29c92f7c0901c4028fe9
BLAKE2b-256 defbc99d9ffa3d9a4412e7c9c09880538f381c935ff8afd224660a71715d3434

See more details on using hashes here.

File details

Details for the file sciplex_flow-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: sciplex_flow-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for sciplex_flow-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 25e5bcb1bc9d272cd8c02439cfdb185c5787fcbec1d84f2eab14daa63b22fc07
MD5 6cb59dc72cf9bb123dbc4ccfa0327eaa
BLAKE2b-256 58371dff24c6fcc8224e535b52136ffe5a1f6fb1b904c02dc67cded2053005f8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page