Show HN:针对 Python 开发者的带自动生成 UI 的 Web 应用
Show HN: Web Apps for Python Devs with Auto-Generated UI

原始链接: https://davia.ai/

运行你的Python文件后,Davia会自动在你的浏览器中打开平台。它是如何工作的呢?你的机器上会运行一个服务器(localhost),并在你的本地服务器和编辑器之间建立一个安全的连接。如果你想自定义你的后端,可以查看文档。

Davia.ai is a new tool aimed at Python developers who want to quickly turn their functions, particularly for AI applications, into web apps. Frustrated with the limitations of Streamlit and Gradio regarding flexibility and polish, the Davia team built a platform where developers decorate Python functions, which then generates a FastAPI server and UI based on prompts. This allows for more complex and customizable interfaces built using React best practices. The Hacker News thread reveals initial user feedback. Concerns were raised about autoplaying videos on the website, which were addressed by replacing the video with a GIF. Questions were also asked about the underlying HTTP request methods and the choice of POST over GET, which the developers clarified as a simplification for users unfamiliar with FastAPI, while still allowing for custom endpoints. A suggestion was made to offer a standalone edge function service. Others requested more details on how Davia distinguishes itself from Streamlit and Gradio, leading to a discussion about UI customization, production limitations, and state management. Finally, signup is required to view use case examples, with the team planning to display these on the site directly in the future.

原文
When you run your Python file, Davia will automatically open the platform in your browser.

How does it work? There is one server that runs on your machine (localhost) and a secure connection is established between your local server and the editor.

If you want to customize your backend, you can checkout the documentation.

联系我们 contact @ memedata.com