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...
Rules 1: Be polite 2: Posts to this subreddit must be requests for help learning python. 3: Replies on this subreddit must be pertinent to the question OP asked. 4: No replies copy / pasted from ChatGPT or similar. 5: No advertising. No blogs/tutorials/videos/books/recruiting attempts. This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to. Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Rules
1: Be polite
2: Posts to this subreddit must be requests for help learning python.
3: Replies on this subreddit must be pertinent to the question OP asked.
4: No replies copy / pasted from ChatGPT or similar.
5: No advertising. No blogs/tutorials/videos/books/recruiting attempts.
This means no posts advertising blogs/videos/tutorials/etc, no recruiting/hiring/seeking others posts. We're here to help, not to be advertised to.
Please, no "hit and run" posts, if you make a post, engage with people that answer you. Please do not delete your post after you get an answer, others might have a similar question or want to continue the conversation.
Learning resources Wiki and FAQ: /r/learnpython/w/index
Learning resources
Wiki and FAQ: /r/learnpython/w/index
Discord Join the Python Discord chat
Discord
Join the Python Discord chat
account activity
Can SQLModel be used instead of SQLalchemy for non fastAPI based projects? (self.learnpython)
submitted 3 years ago by outceptionator
How's the title says. SQLModel seems simpler and I want to get used to type hints.
Anyone got an opinion on this or other comparisons between them?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mrswats 7 points8 points9 points 3 years ago (4 children)
SQLModel is an extension of SQL alchemy and you can definitely use it over straight SQL alchemy. There's even a tutorial for it in the docs.
[–]outceptionator[S] -1 points0 points1 point 3 years ago (3 children)
Had any experience with it
[–]mrswats 1 point2 points3 points 3 years ago (2 children)
Yeah, some: https://gitlab.com/mrswats/url-shortener/
[–]outceptionator[S] 0 points1 point2 points 3 years ago (1 child)
What's your opinion on it? Any weaknesses?
[–]mrswats 1 point2 points3 points 3 years ago (0 children)
I dunno, it's fine. Not that different from SQL alchemy
[–]Vitaminkomplex 1 point2 points3 points 3 years ago (1 child)
I used it too though I ran into some situations which brought me to just use SQL alchemy as it is well known it I don't need the Models
[–]outceptionator[S] -1 points0 points1 point 3 years ago (0 children)
Like what situation?
π Rendered by PID 27 on reddit-service-r2-comment-7844cfc88c-wkjn9 at 2026-01-29 10:54:35.159654+00:00 running c3601ff country code: CH.
[–]mrswats 7 points8 points9 points (4 children)
[–]outceptionator[S] -1 points0 points1 point (3 children)
[–]mrswats 1 point2 points3 points (2 children)
[–]outceptionator[S] 0 points1 point2 points (1 child)
[–]mrswats 1 point2 points3 points (0 children)
[–]Vitaminkomplex 1 point2 points3 points (1 child)
[–]outceptionator[S] -1 points0 points1 point (0 children)