Transform any Python function into a complete web app automatically. Just type hints and
run().
pip install func-to-webfrom func_to_web import run
def divide(a: int, b: int):
return a / b
run(divide)Open |
Complete documentation with examples and screenshots for each feature:
|
|
Full Documentation API Reference
Check the examples/ folder for 20+ complete examples:
python examples/01_basic_division.py
python examples/08_image_blur.py
python examples/15_multiple_tools.py
python examples/20_lists_limits.py- Python 3.10+
- FastAPI
- Uvicorn
- Pydantic
- Jinja2
- python-multipart
Optional for examples:
- Pillow (for image processing)
- Matplotlib (for plots)
- NumPy (for numerical computations)
Development dependencies:
- pytest (for running tests)
pytest tests/ -vmkdocs gh-deployMIT License • Made by Beltrán Offerrall • Contributions welcome!

