Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1lqbbv9
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1lqbbv9
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Django's new Ecosystem page is live - featuring community-approved packages
https://www.djangoproject.com/community/ecosystem/
/r/django
https://redd.it/1lqc3w0
https://www.djangoproject.com/community/ecosystem/
/r/django
https://redd.it/1lqc3w0
Django Project
Django Community
Building the Django Community. Come join us!
Help with cloudinary integration
https://github.com/ReevuChatterjee/CloudinaryTrial.git
so here is my repo
why cant i save my image files to cloudinary. it gets saved in the root directory again and again help me fix it
/r/djangolearning
https://redd.it/1lq86gu
https://github.com/ReevuChatterjee/CloudinaryTrial.git
so here is my repo
why cant i save my image files to cloudinary. it gets saved in the root directory again and again help me fix it
/r/djangolearning
https://redd.it/1lq86gu
GitHub
GitHub - ReevuChatterjee/CloudinaryTrial
Contribute to ReevuChatterjee/CloudinaryTrial development by creating an account on GitHub.
The one FastAPI boilerplate to rule them all
Hey, guys, for anyone who might benefit (or would like to contribute - good starting point for newbies)
For about 2 years I've been developing this boilerplate (with a lot of help from the community - 20 contributors) and it's pretty mature now (used in prod by many). Latest news was the addition of CRUDAdmin as an admin panel, plus a brand new documentation to help people use it and understand design decisions.
* Github: [https://github.com/benavlabs/FastAPI-boilerplate](https://github.com/benavlabs/FastAPI-boilerplate)
* Docs: [https://benavlabs.github.io/FastAPI-boilerplate/](https://benavlabs.github.io/FastAPI-boilerplate/)
Main features:
* Pydantic V2 and SQLAlchemy 2.0 (fully async)
* User authentication with JWT (and cookie based refresh token)
* ARQ integration for task queue (way simpler than celery, but really powerful)
* Builtin cache and rate-limiting with redis
* Several deployment specific features (docs behind authentication and hidden based on the environment)
* NGINX for Reverse Proxy and Load Balancing
* Easy and powerful db interaction (FastCRUD)
Would love to hear your opinions and what could be improved. We used to have tens of issues, now it's down to just a few (phew), but I'd love to see new ones coming.
*Note: this boilerplate works really well for microservices or small applications, but for bigger ones I'd use a DDD monolith. It's a great starting point though.*
/r/Python
https://redd.it/1lq5ccm
Hey, guys, for anyone who might benefit (or would like to contribute - good starting point for newbies)
For about 2 years I've been developing this boilerplate (with a lot of help from the community - 20 contributors) and it's pretty mature now (used in prod by many). Latest news was the addition of CRUDAdmin as an admin panel, plus a brand new documentation to help people use it and understand design decisions.
* Github: [https://github.com/benavlabs/FastAPI-boilerplate](https://github.com/benavlabs/FastAPI-boilerplate)
* Docs: [https://benavlabs.github.io/FastAPI-boilerplate/](https://benavlabs.github.io/FastAPI-boilerplate/)
Main features:
* Pydantic V2 and SQLAlchemy 2.0 (fully async)
* User authentication with JWT (and cookie based refresh token)
* ARQ integration for task queue (way simpler than celery, but really powerful)
* Builtin cache and rate-limiting with redis
* Several deployment specific features (docs behind authentication and hidden based on the environment)
* NGINX for Reverse Proxy and Load Balancing
* Easy and powerful db interaction (FastCRUD)
Would love to hear your opinions and what could be improved. We used to have tens of issues, now it's down to just a few (phew), but I'd love to see new ones coming.
*Note: this boilerplate works really well for microservices or small applications, but for bigger ones I'd use a DDD monolith. It's a great starting point though.*
/r/Python
https://redd.it/1lq5ccm
GitHub
GitHub - benavlabs/FastAPI-boilerplate: An extendable async API using FastAPI, Pydantic V2, SQLAlchemy 2.0, PostgreSQL and Redis.
An extendable async API using FastAPI, Pydantic V2, SQLAlchemy 2.0, PostgreSQL and Redis. - benavlabs/FastAPI-boilerplate
A Python-Powered Desktop App Framework Using HTML, CSS & Python (Alpha)
Repo Link: [https://github.com/itzmetanjim/py-positron](https://github.com/itzmetanjim/py-positron)
# What my project does
PyPositron is a lightweight UI framework that lets you build native desktop apps using the web stack you already know—HTML, CSS & JS—powered by Python. Under the hood it leverages `pywebview`, but gives you full access to the DOM and browser APIs from Python. **Currently in Alpha stage**
# Target Audience
* Anyone making a desktop app with Python.
* Developers who know HTML/CSS and Python and want to make desktop apps.
* People who know Python well and want to make a desktop app, and wants to focus more on the backend logic than the UI
* People who want a simple UI framework that is easy to learn.
* Anyone tired of Tkinter’s ancient look or Qt's verbosity
# 🤔 Why Choose PyPositron?
* **Familiar tools:** No new “proprietary UI language”—just standard HTML/CSS (which is powerful, someone made Minecraft using only CSS ).
* **Use any web framework:** All frontend web frameworks (Bootstrap,Tailwind,Materialize,Bulma CSS, and even ones that use JS) are available.
* **AI-friendly:** Simply ask your favorite AI to “generate a login form in HTML/CSS/JS” and plug it right in.
* **Lightweight:** Spins up on your system’s existing browser engine—no huge runtimes bundled with every app.
# Comparision
|Feature|PyPositron|Electron.js|PyQt|
|:-|:-|:-|:-|
|Language|Python|JavaScript, C/C++ or backend JS
/r/Python
https://redd.it/1lqi4xa
Repo Link: [https://github.com/itzmetanjim/py-positron](https://github.com/itzmetanjim/py-positron)
# What my project does
PyPositron is a lightweight UI framework that lets you build native desktop apps using the web stack you already know—HTML, CSS & JS—powered by Python. Under the hood it leverages `pywebview`, but gives you full access to the DOM and browser APIs from Python. **Currently in Alpha stage**
# Target Audience
* Anyone making a desktop app with Python.
* Developers who know HTML/CSS and Python and want to make desktop apps.
* People who know Python well and want to make a desktop app, and wants to focus more on the backend logic than the UI
* People who want a simple UI framework that is easy to learn.
* Anyone tired of Tkinter’s ancient look or Qt's verbosity
# 🤔 Why Choose PyPositron?
* **Familiar tools:** No new “proprietary UI language”—just standard HTML/CSS (which is powerful, someone made Minecraft using only CSS ).
* **Use any web framework:** All frontend web frameworks (Bootstrap,Tailwind,Materialize,Bulma CSS, and even ones that use JS) are available.
* **AI-friendly:** Simply ask your favorite AI to “generate a login form in HTML/CSS/JS” and plug it right in.
* **Lightweight:** Spins up on your system’s existing browser engine—no huge runtimes bundled with every app.
# Comparision
|Feature|PyPositron|Electron.js|PyQt|
|:-|:-|:-|:-|
|Language|Python|JavaScript, C/C++ or backend JS
/r/Python
https://redd.it/1lqi4xa
GitHub
GitHub - itzmetanjim/py-positron: PyPositron is a python framework for building apps with HTML, CSS and Python.
PyPositron is a python framework for building apps with HTML, CSS and Python. - itzmetanjim/py-positron
Am I on the right path? Learning React + Flask for Full Stack + AI Career Goals
Hey everyone!
I'm currently learning React for front-end development and planning to start learning Flask for the backend. My goal is to become a full-stack developer with a strong focus on AI technologies, especially areas like Generative AI and Agentic AI.
I'm also interested in Python, which is why Flask seems like a good fit, and I’ve heard it's lightweight and beginner-friendly. Eventually, I want to transition into AI development, so I feel like learning full-stack with Python will give me a solid foundation.
Am I on the right path? Or would you recommend learning something else (like FastAPI, Django, or maybe diving directly into AI tools and frameworks)?
Any advice or guidance is appreciated — especially from folks who've gone down this road. 🙏
Thanks in advance!
/r/flask
https://redd.it/1lpvxx5
Hey everyone!
I'm currently learning React for front-end development and planning to start learning Flask for the backend. My goal is to become a full-stack developer with a strong focus on AI technologies, especially areas like Generative AI and Agentic AI.
I'm also interested in Python, which is why Flask seems like a good fit, and I’ve heard it's lightweight and beginner-friendly. Eventually, I want to transition into AI development, so I feel like learning full-stack with Python will give me a solid foundation.
Am I on the right path? Or would you recommend learning something else (like FastAPI, Django, or maybe diving directly into AI tools and frameworks)?
Any advice or guidance is appreciated — especially from folks who've gone down this road. 🙏
Thanks in advance!
/r/flask
https://redd.it/1lpvxx5
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Is Django REST Framework worth it over standard Django for modern apps?
**Hey everyone! 👋**
I’ve been working with Django for building traditional websites (HTML templates, forms, etc.), but now I’m exploring building more modern apps — possibly with React or even a mobile frontend.
I’m considering whether to stick with **standard Django views or adopt Django REST Framework** (DRF) for building APIs. I get that DRF is great for JSON responses and API endpoints, but it feels like a bit more overhead at first.
For those who’ve worked with both —
* Is the learning curve of DRF worth it?
* Do you use DRF for all projects or only when building separate frontends/mobile apps?
* Are there performance or scaling benefits/drawbacks?
Would love to hear your experiences. Thanks in advance!
/r/django
https://redd.it/1lqfzsw
**Hey everyone! 👋**
I’ve been working with Django for building traditional websites (HTML templates, forms, etc.), but now I’m exploring building more modern apps — possibly with React or even a mobile frontend.
I’m considering whether to stick with **standard Django views or adopt Django REST Framework** (DRF) for building APIs. I get that DRF is great for JSON responses and API endpoints, but it feels like a bit more overhead at first.
For those who’ve worked with both —
* Is the learning curve of DRF worth it?
* Do you use DRF for all projects or only when building separate frontends/mobile apps?
* Are there performance or scaling benefits/drawbacks?
Would love to hear your experiences. Thanks in advance!
/r/django
https://redd.it/1lqfzsw
Reddit
From the django community on Reddit
Explore this post and more from the django community
I made an app to dynamically select columns in django admin changelist
Selecting columns for tables with a large number of fields is a crucial feature. However, Django's admin only supports column selection by editing `list_display`, making it impossible to personalize the view per user.
This app solves that limitation by allowing users to dynamically select which columns to display in the Django admin changelist. The selected columns are stored in the database on a per-user basis.
The only existing solution I found was Django-Admin-Column-Toggle, which filters columns client-side after loading all data. This approach introduces unnecessary overhead and causes a slight delay as it relies on JavaScript execution.
In contrast, `django-admin-select-columns` filters columns on the server-side, reducing payload size, improving performance, and making the admin interface responsive and efficient even for large datasets.
🔗 GitHub Repository: sandbox-pokhara/django-admin-select-columns
💡 Future Ideas:
\- Column ordering
\- Default selected columns
UI to select columns
/r/django
https://redd.it/1lqihox
Selecting columns for tables with a large number of fields is a crucial feature. However, Django's admin only supports column selection by editing `list_display`, making it impossible to personalize the view per user.
This app solves that limitation by allowing users to dynamically select which columns to display in the Django admin changelist. The selected columns are stored in the database on a per-user basis.
The only existing solution I found was Django-Admin-Column-Toggle, which filters columns client-side after loading all data. This approach introduces unnecessary overhead and causes a slight delay as it relies on JavaScript execution.
In contrast, `django-admin-select-columns` filters columns on the server-side, reducing payload size, improving performance, and making the admin interface responsive and efficient even for large datasets.
🔗 GitHub Repository: sandbox-pokhara/django-admin-select-columns
💡 Future Ideas:
\- Column ordering
\- Default selected columns
UI to select columns
/r/django
https://redd.it/1lqihox
GitHub
GitHub - engwerda/Django-Admin-Column-Toggle: Add column toggle functionality in the Django admin
Add column toggle functionality in the Django admin - engwerda/Django-Admin-Column-Toggle
Django devs: Your app is probably slow because of these 5 mistakes (with fixes)
Just helped a client reduce their Django API response times from 3.2 seconds to 320ms. After optimizing dozens of Django apps, I keep seeing the same performance killers over and over.
**The 5 biggest Django performance mistakes:**
1. **N+1 queries** \- Your templates are hitting the database for every item in a loop
2. **Missing database indexes** \- Queries are fast with 1K records, crawl at 100K
3. **Over-fetching data** \- Loading entire objects when you only need 2 fields
4. **No caching strategy** \- Recalculating expensive operations on every request
5. **Suboptimal settings** \- Using SQLite in production, DEBUG=True, no connection pooling
**Example that kills most Django apps:**
# This innocent code generates 201 database queries for 100 articles
def get_articles(request):
articles = Article.objects.all()
# 1 query
return render(request, 'articles.html', {'articles': articles})
html
<!-- In template - this hits the DB for EVERY article -->
{% for article in articles %}
<h2>{{ article.title }}</h2>
<p>By {{ article.author.name }}</p>
/r/Python
https://redd.it/1lqly55
Just helped a client reduce their Django API response times from 3.2 seconds to 320ms. After optimizing dozens of Django apps, I keep seeing the same performance killers over and over.
**The 5 biggest Django performance mistakes:**
1. **N+1 queries** \- Your templates are hitting the database for every item in a loop
2. **Missing database indexes** \- Queries are fast with 1K records, crawl at 100K
3. **Over-fetching data** \- Loading entire objects when you only need 2 fields
4. **No caching strategy** \- Recalculating expensive operations on every request
5. **Suboptimal settings** \- Using SQLite in production, DEBUG=True, no connection pooling
**Example that kills most Django apps:**
# This innocent code generates 201 database queries for 100 articles
def get_articles(request):
articles = Article.objects.all()
# 1 query
return render(request, 'articles.html', {'articles': articles})
html
<!-- In template - this hits the DB for EVERY article -->
{% for article in articles %}
<h2>{{ article.title }}</h2>
<p>By {{ article.author.name }}</p>
/r/Python
https://redd.it/1lqly55
Reddit
From the Python community on Reddit: Django devs: Your app is probably slow because of these 5 mistakes (with fixes)
Explore this post and more from the Python community
TurtleSC - Shortcuts for quickly coding turtle.py art
The TurtleSC package for providing shortcut functions for turtle.py to help in quick experiments. https://github.com/asweigart/turtlesc
Full blog post and reference: https://inventwithpython.com/blog/turtlesc-package.html
pip install turtlesc
What My Project Does
Provides a shortcut language instead of typing out full turtle code. For example, this turtle.py code:
from turtle import
from random import
colors = 'red', 'orange', 'yellow', 'blue', 'green', 'purple'
speed('fastest')
pensize(3)
bgcolor('black')
for i in range(300):
pencolor(choice(colors))
forward(i)
left(91)
hideturtle()
done()
Can be written as:
from turtlesc import
from random import
colors = 'red', 'orange', 'yellow', 'blue', 'green', 'purple'
sc('spd fastest, ps 3, bc black')
for i in range(300):
sc(f'pc {choice(colors)}, f {i}, l 91')
sc('hide,done')
You can also convert from the shortcut langauge to regular turtle.py function calls:
>>> from turtlesc import
/r/Python
https://redd.it/1lqv6nw
The TurtleSC package for providing shortcut functions for turtle.py to help in quick experiments. https://github.com/asweigart/turtlesc
Full blog post and reference: https://inventwithpython.com/blog/turtlesc-package.html
pip install turtlesc
What My Project Does
Provides a shortcut language instead of typing out full turtle code. For example, this turtle.py code:
from turtle import
from random import
colors = 'red', 'orange', 'yellow', 'blue', 'green', 'purple'
speed('fastest')
pensize(3)
bgcolor('black')
for i in range(300):
pencolor(choice(colors))
forward(i)
left(91)
hideturtle()
done()
Can be written as:
from turtlesc import
from random import
colors = 'red', 'orange', 'yellow', 'blue', 'green', 'purple'
sc('spd fastest, ps 3, bc black')
for i in range(300):
sc(f'pc {choice(colors)}, f {i}, l 91')
sc('hide,done')
You can also convert from the shortcut langauge to regular turtle.py function calls:
>>> from turtlesc import
/r/Python
https://redd.it/1lqv6nw
GitHub
GitHub - asweigart/turtlesc: A mini-language of shortcut instructions to carry out turtle.py function calls.
A mini-language of shortcut instructions to carry out turtle.py function calls. - asweigart/turtlesc
django celery running task is seperated server
Hello guys so i have django project and i a worker project hosted in diffrent server both are connected to same redis ip
i want to trigger celery task and run it in the seperated servere note functions are not inn django i can not import them
/r/django
https://redd.it/1lqrbeg
Hello guys so i have django project and i a worker project hosted in diffrent server both are connected to same redis ip
i want to trigger celery task and run it in the seperated servere note functions are not inn django i can not import them
/r/django
https://redd.it/1lqrbeg
Reddit
From the django community on Reddit
Explore this post and more from the django community
Flask Alembic - Custom script.py.mako
Im creating a Data Warehouse table models in alembic, but i have to add these lines to every inital migration file:
op.execute("CREATE SEQUENCE IF NOT EXISTS {table_name}_id_seq OWNED BY {table_name}.id")
with op.batch_alter_table('{table_name}', schema=None) as batch_op:
batch_op.alter_column('created_at',
existing_type=sa.DateTime(),
server_default=sa.text('CURRENT_TIMESTAMP'),
existing_nullable=True)
batch_op.alter_column('updated_at',
existing_type=sa.DateTime(),
server_default=sa.text('CURRENT_TIMESTAMP'),
existing_nullable=True)
batch_op.alter_column('id',
existing_type=sa.Integer(),
server_default=sa.text("nextval('{table_name}_id_seq')"),
nullable=False)
why ?
The data warehouse is being fed by users with different degrees of knowledge and theses columns for me are essential as i use them for pagination processes later on.
i was able to change the .mako file to add those, but i cant change {table_name} to the actual table name being created at the time, and it's a pain to do that by hand every time.
is there a way for me to capture the value on the env.py and replace {table_name} with the actual table name ?
/r/flask
https://redd.it/1lozksp
Im creating a Data Warehouse table models in alembic, but i have to add these lines to every inital migration file:
op.execute("CREATE SEQUENCE IF NOT EXISTS {table_name}_id_seq OWNED BY {table_name}.id")
with op.batch_alter_table('{table_name}', schema=None) as batch_op:
batch_op.alter_column('created_at',
existing_type=sa.DateTime(),
server_default=sa.text('CURRENT_TIMESTAMP'),
existing_nullable=True)
batch_op.alter_column('updated_at',
existing_type=sa.DateTime(),
server_default=sa.text('CURRENT_TIMESTAMP'),
existing_nullable=True)
batch_op.alter_column('id',
existing_type=sa.Integer(),
server_default=sa.text("nextval('{table_name}_id_seq')"),
nullable=False)
why ?
The data warehouse is being fed by users with different degrees of knowledge and theses columns for me are essential as i use them for pagination processes later on.
i was able to change the .mako file to add those, but i cant change {table_name} to the actual table name being created at the time, and it's a pain to do that by hand every time.
is there a way for me to capture the value on the env.py and replace {table_name} with the actual table name ?
/r/flask
https://redd.it/1lozksp
One simple way to run tests with random input in Pytest.
There are many ways to do it. Here's a simple one. I keep it short.
Test With Random Input in Python
/r/Python
https://redd.it/1lqy5fn
There are many ways to do it. Here's a simple one. I keep it short.
Test With Random Input in Python
/r/Python
https://redd.it/1lqy5fn
D Self-Promotion Thread
Please post your personal projects, startups, product placements, collaboration needs, blogs etc.
Please mention the payment and pricing requirements for products and services.
Please do not post link shorteners, link aggregator websites , or auto-subscribe links.
\--
Any abuse of trust will lead to bans.
Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
\--
Meta: This is an experiment. If the community doesnt like this, we will cancel it. This is to encourage those in the community to promote their work by not spamming the main threads.
/r/MachineLearning
https://redd.it/1lpk8ib
Please post your personal projects, startups, product placements, collaboration needs, blogs etc.
Please mention the payment and pricing requirements for products and services.
Please do not post link shorteners, link aggregator websites , or auto-subscribe links.
\--
Any abuse of trust will lead to bans.
Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
\--
Meta: This is an experiment. If the community doesnt like this, we will cancel it. This is to encourage those in the community to promote their work by not spamming the main threads.
/r/MachineLearning
https://redd.it/1lpk8ib
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Searching millions of results in Django
I have a search engine and once it got to 40k links it started to break down from slowness when doing model queries because the database was too big. What’s the best solution for searching through millions of results on Django. My database is on rds so I’m open too third party tools like lambda that can make a customizable solution. I put millions of results because I’m planning on getting there fast.
/r/django
https://redd.it/1lpxtxv
I have a search engine and once it got to 40k links it started to break down from slowness when doing model queries because the database was too big. What’s the best solution for searching through millions of results on Django. My database is on rds so I’m open too third party tools like lambda that can make a customizable solution. I put millions of results because I’m planning on getting there fast.
/r/django
https://redd.it/1lpxtxv
Reddit
From the django community on Reddit
Explore this post and more from the django community
Friday Daily Thread: r/Python Meta and Free-Talk Fridays
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1lr4qhi
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1lr4qhi
Redditinc
Reddit Rules
Reddit Rules - Reddit
Django bugfix release issued: 5.2.4
https://www.djangoproject.com/weblog/2025/jul/02/bugfix-releases/
/r/django
https://redd.it/1lq4agu
https://www.djangoproject.com/weblog/2025/jul/02/bugfix-releases/
/r/django
https://redd.it/1lq4agu
Django Project
Django bugfix release issued: 5.2.4
Posted by Natalia Bidart on July 2, 2025
Flask + SQLAlchemy How to route read-only queries to replica RDS and writes to master?
Hey folks
I’m working on a Flask app using SQLAlchemy for ORM and DB operations.
We have two Amazon RDS databases set up:
A master RDS for all write operations
A read replica RDS for read-only queries
I want to configure SQLAlchemy in such a way that:
All read-only queries (like `SELECT`) are automatically routed to the read replica
All write queries (like
Has anyone implemented this kind of setup before with SQLAlchemy?
What’s the best way to approach this? Custom session? Middleware? Something else?
Would appreciate any guidance, code examples, or even gotchas to watch out for!
Thanks
/r/flask
https://redd.it/1lrapap
Hey folks
I’m working on a Flask app using SQLAlchemy for ORM and DB operations.
We have two Amazon RDS databases set up:
A master RDS for all write operations
A read replica RDS for read-only queries
I want to configure SQLAlchemy in such a way that:
All read-only queries (like `SELECT`) are automatically routed to the read replica
All write queries (like
INSERT, UPDATE, DELETE) go to the master RDSHas anyone implemented this kind of setup before with SQLAlchemy?
What’s the best way to approach this? Custom session? Middleware? Something else?
Would appreciate any guidance, code examples, or even gotchas to watch out for!
Thanks
/r/flask
https://redd.it/1lrapap
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Need help in deciding what auth solution to choose?
I have an django + DRF application in production, until now i was using the auth system provided by DRF,
now i am required more features in my auth system other than just email + password, right now its fairly simple email/phone verification before they can login, password reset through code sent on phone, JWT based authentication, api protection + session lifetime based on user roles.
I know about django-allauth but i wanted to know if it is something people use in production or they opt for third party system such as firebase or something different
Also as per my requirements what solution would be better in terms of ease of implementation, features
/r/django
https://redd.it/1lrdd0d
I have an django + DRF application in production, until now i was using the auth system provided by DRF,
now i am required more features in my auth system other than just email + password, right now its fairly simple email/phone verification before they can login, password reset through code sent on phone, JWT based authentication, api protection + session lifetime based on user roles.
I know about django-allauth but i wanted to know if it is something people use in production or they opt for third party system such as firebase or something different
Also as per my requirements what solution would be better in terms of ease of implementation, features
/r/django
https://redd.it/1lrdd0d
Reddit
From the django community on Reddit
Explore this post and more from the django community
Introducing django-rls: Declarative Row-Level Security Policies in Django
Hi everyone,
I’ve seen quite a few discussions here about using PostgreSQL Row-Level Security (RLS) to isolate tenant data in Django apps. I’ve run into the same pain points—keeping policies in sync with migrations, avoiding raw SQL all over the place, and making sure RLS logic is explicit in the codebase.
To help with this, I recently released [django-rls](https://django-rls.com/), an open-source package that lets you:
* Define RLS policies declaratively alongside your models
* Automate policy creation in migrations
* Keep tenant filtering logic consistent and transparent
It’s still early days, so I’d love feedback from anyone who’s experimented with RLS or is considering it for multi-tenant architectures. Contributions, questions, and critiques are very welcome.
If you’re curious, here’s the project site: [django-rls.com](https://django-rls.com/)
Thanks—and looking forward to hearing what you think!
/r/django
https://redd.it/1lpo4vc
Hi everyone,
I’ve seen quite a few discussions here about using PostgreSQL Row-Level Security (RLS) to isolate tenant data in Django apps. I’ve run into the same pain points—keeping policies in sync with migrations, avoiding raw SQL all over the place, and making sure RLS logic is explicit in the codebase.
To help with this, I recently released [django-rls](https://django-rls.com/), an open-source package that lets you:
* Define RLS policies declaratively alongside your models
* Automate policy creation in migrations
* Keep tenant filtering logic consistent and transparent
It’s still early days, so I’d love feedback from anyone who’s experimented with RLS or is considering it for multi-tenant architectures. Contributions, questions, and critiques are very welcome.
If you’re curious, here’s the project site: [django-rls.com](https://django-rls.com/)
Thanks—and looking forward to hearing what you think!
/r/django
https://redd.it/1lpo4vc
Django-Rls
Django RLS - PostgreSQL Row Level Security for Django | Django RLS
Implement database-level Row Level Security in your Django applications