Location>code7788 >text

What libraries can be used to write web interfaces in python?

Popularity:675 ℃/2024-09-05 09:11:15

Background:

Many people are familiar with python, but not familiar with the front-end language js, in order to quickly land the project, but also do not really want to specialize in learning React/Angular/Vue these frameworks, then it will ask the question, can you use Python to write a simple web interface directly? The answer is yes, and there are a variety of frameworks that can be used. Commonly, there are the following kinds, you can search for their own learning, choose the one that suits them

 

Plotly Dash, based on Flask. Draws beautiful icons, especially interactive icons are cool. Suitable for data display

Streamlit, also more commonly used

Panel, it feels a little less familiar than Steamlit.

Gradio, to do a single page is very convenient, and comes with rest api, if you want to do a multi-page web page, we need to work with flask these frameworks