TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: User management for social users on a Python (ruby) Web app

1 pointsby ychandlerover 9 years ago
Hi HNers<p>I am trying to build a python web app that is a fairly basic way to save articles and recipes (I know its been done a thousand times but this is just practice app building). There are tons of mechanisms to auth and get the info from say FB. How do you manage and store the information at a user level? Is there a library - I can imagine its a pretty common problem.<p>Alternatively is there a ruby gem that can do this in case there is nothing reusable for Python?<p>Thanks in advance!

1 comment

heyalexejover 9 years ago
Python Social Auth¹ by Matías Aguirre is a great library that was abstracted from battle-tested Django Social Auth. Authomatic² by Peter Hudec is good as well.<p>Flask Social³ by Matt Wright is worth a look, too.<p>You can find example implementations with different DBs in the examples directories of the projects. I&#x27;ve used everything from Redis and MongoDB to SQLite to store user information. It all depends on your goals. My framework of choice is Flask most of the time.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;omab&#x2F;python-social-auth" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;omab&#x2F;python-social-auth</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;peterhudec&#x2F;authomatic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;peterhudec&#x2F;authomatic</a><p>[3] <a href="https:&#x2F;&#x2F;github.com&#x2F;mattupstate&#x2F;flask-social" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mattupstate&#x2F;flask-social</a>
评论 #10640388 未加载