Funix is the laziest way to build web apps in Python. Just define your function, with type hints in its signature, and then Funix transform it into a web app with proper widgets for users to interact with your function in a browser from any where.

Last update: 2023-03-01

Acknowledgments

Funix draws inspiration from FastAPI and Google’s Python-Fire: building apps by interring from type hints. We port this idea from the backend (FastAPI) or the terminal (Python-Fire) to the frontend. We also wanna thank Streamlit, Gradio, PyWebIO, and Pynecone. They inspired us. We are just too lazy to manually define widgets imperatively. Funix’s backend is implemented in Flask and the frontend in Material UI.

Table of contents

Installation

Funix can be installed via pip :

pip install funix

or directly from our GitHub repo:

pip install git+https:///github.com/Textea/funix.git

You may also clone Funix from our GitHub repo and install in development mode.

Rebuilding the front-end

Normally, Funix will start the front-end by itself. If you need to develop or debug the front-end (hopefully without scaring you) please go through the following steps:

  1. If you haven't finished git clone, clone the repo first.
  2. cd funix/frontend
  3. yarn install
  4. yarn funix:start