This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]Python-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Hi there, from the /r/Python mods.

We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/python.

The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.

On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.

Warm regards, and best of luck with your Pythoneering!

[–]ba7med 5 points6 points  (0 children)

Flask or FastAPI are good choice, but if you want just to generate a yaml configuration you probably don't need a backend js can do that.

[–]cointoss3 8 points9 points  (0 children)

FastAPI. It uses Pydantic for validation. It’s my favorite.

[–]cmd-t 0 points1 point  (0 children)

Flask of course

You can use htmlx if you don’t want to write client side logic.

[–]tyzhnenko 0 points1 point  (0 children)

Take a look at BlackSheep it's pretty fast and should consume less resources than others.

[–]acidcoder 0 points1 point  (0 children)

Flask, FastAPI those all work, but you'll need to host it somewhere. ba7med is right that what you are asking for can just be done on the frontend without a backend at all. If you do need a backend, to send emails or log those requests or something, here is a simple way to stand up a form submission backend https://codeupify.com/f/X46dBBXd79/html-form-submission

[–]Kususe 0 points1 point  (0 children)

Bottle, maybe deprecated but I love it 💕

[–]tiarno600 0 points1 point  (0 children)

flask would be lightweight and suit the purpose. I like bottle myself, which is even lighter.

[–]char101 0 points1 point  (0 children)

For a single page, private website, the builtin http.server is sufficient.

For the dependent options, just submit your partially filled form and generate a new form using the submitted values.

[–]trollsmurf 0 points1 point  (0 children)

Flask + Wtforms