Skip to content

Transform any Python function into a web interface automatically

pip install func-to-web
from func_to_web import run

# Minimal example
def divide(a: float, b: float):
    return a / b

run(divide)

Open http://127.0.0.1:8000Done!

  • Input Types - Learn about supported input types, validation and custom
  • Output Types - Return files, images, plots, tables...
  • Other Features - Multiple functions, Authentication, server options...

func-to-web Demo