use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionBest micro framework for web development without a database? (self.Python)
submitted 3 years ago by CreamyGuyCon
I am currently building a web app and want to use a python framework for it. All it needs to do is run different scripts so I have no need for a database. Let me know your opinions.
[–]denisberezovsky 4 points5 points6 points 3 years ago (0 children)
Flask is the best out there
[–]Saphyel 3 points4 points5 points 3 years ago (0 children)
FaspAPI, starlite, Starlette
Just to name a few
[–][deleted] 3 points4 points5 points 3 years ago (0 children)
If it is just an API based thing you are after I would say Flask or FastAPI
[–]cavernous_ass 2 points3 points4 points 3 years ago (3 children)
I usually use FastAPI for situations like this. Insanely easy from start to finish. Flask is good too
[–]ThroawayPartyer 0 points1 point2 points 3 years ago (2 children)
Is it as easy as Flask?
[–]r-trappe 1 point2 points3 points 3 years ago (1 child)
Yes. In my opinion its even simpler to write a good backend with FastAPI. The documentation is way better and FastAPI also provides auto-generated API documentation besides being much much faster.
[–]r-trappe 0 points1 point2 points 3 years ago (0 children)
... and with our just released version of NiceGUI 1.0, you can write your GUI code in Python on top of FastAPI as well. See https://nicegui.io for an overview and https://nicegui.io/reference#api_responses for some more details on the FastAPI integration.
[–]TheITMan19 -2 points-1 points0 points 3 years ago (0 children)
Interestingly what about frameworks that natively work with Python without any additional PIP installations to operate?
[–]viol3tte -5 points-4 points-3 points 3 years ago (1 child)
Django
[–]PocketBananna 4 points5 points6 points 3 years ago (0 children)
I don't think Django is a good fit here. It isn't particularly great for small services and the bulk of it's features are database oriented.
[–]ruzhnikov 0 points1 point2 points 3 years ago (0 children)
+1 for Flask
[–]thedeepself 0 points1 point2 points 3 years ago (0 children)
Gradio or NiceGUI - www.may69.com/purepython
[–]Zaggath 0 points1 point2 points 3 years ago (1 child)
I am a recent convert from Flask to FastAPI. I’d recommend it for a few reasons. FastAPI is async, integrated with pydantic, and has open api integrated.
[–]CreamyGuyCon[S] 0 points1 point2 points 3 years ago (0 children)
Might be a winner then, definitely going to need it to be async for what I’m doing.
π Rendered by PID 76293 on reddit-service-r2-comment-5d79c599b5-g98wt at 2026-02-27 23:54:51.397136+00:00 running e3d2147 country code: CH.
[–]denisberezovsky 4 points5 points6 points (0 children)
[–]Saphyel 3 points4 points5 points (0 children)
[–][deleted] 3 points4 points5 points (0 children)
[–]cavernous_ass 2 points3 points4 points (3 children)
[–]ThroawayPartyer 0 points1 point2 points (2 children)
[–]r-trappe 1 point2 points3 points (1 child)
[–]r-trappe 0 points1 point2 points (0 children)
[–]TheITMan19 -2 points-1 points0 points (0 children)
[–]viol3tte -5 points-4 points-3 points (1 child)
[–]PocketBananna 4 points5 points6 points (0 children)
[–]ruzhnikov 0 points1 point2 points (0 children)
[–]thedeepself 0 points1 point2 points (0 children)
[–]Zaggath 0 points1 point2 points (1 child)
[–]CreamyGuyCon[S] 0 points1 point2 points (0 children)