Authentication in Django - Your Opinions
Hello,
I'm on a constant learning path with Django, I want some recommendations from you.
Currently I'm working on a project, to mainly showcase that I can master Authentication in Django.
I implemented Session-based authentication, Oauth2 and JWT Authentication.
I want to know what can I add to this project, to enhance my skills ?
ANY info is helpful.
/r/django
https://redd.it/1okpqcu
Hello,
I'm on a constant learning path with Django, I want some recommendations from you.
Currently I'm working on a project, to mainly showcase that I can master Authentication in Django.
I implemented Session-based authentication, Oauth2 and JWT Authentication.
I want to know what can I add to this project, to enhance my skills ?
ANY info is helpful.
/r/django
https://redd.it/1okpqcu
Reddit
From the django community on Reddit
Explore this post and more from the django community
My type-safe asyncio lib and the fingerprinting guide it spawned
I wanted to share a project that’s been my passion, a
This meant engineering a type-safe core by mapping the entire CDP protocol using
It also required deep research to build the advanced evasion features. I ended up going down the rabbit hole and writing a full manual on modern bot detection (TLS/JA3, Canvas, biometrics), which I'm also sharing: `https://pydoll.tech/docs/deep-dive/fingerprinting/`
The project is OSS and was a massive deep-dive into
/r/Python
https://redd.it/1okypr5
I wanted to share a project that’s been my passion, a
asyncio\-native automation library (pydoll). My main goal was to build a 100% type-safe API on top of the chaotic Chrome DevTools Protocol.This meant engineering a type-safe core by mapping the entire CDP protocol using
TypedDicts. This gives the user full IDE autocomplete for every command and event. I wrote about that design philosophy here: `https://pydoll.tech/docs/deep-dive/fundamentals/typing-system/`It also required deep research to build the advanced evasion features. I ended up going down the rabbit hole and writing a full manual on modern bot detection (TLS/JA3, Canvas, biometrics), which I'm also sharing: `https://pydoll.tech/docs/deep-dive/fingerprinting/`
The project is OSS and was a massive deep-dive into
asyncio and typing. I'd love your feedback on the architecture./r/Python
https://redd.it/1okypr5
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Will we ever see decent typing support in Django?
Yes, there are the django stubs, but they are definitely not exhaustive.
Do you think Django will ever have first-class support for typing, especially as it seems like the Python ecosystem as a whole is moving in this direction?
/r/django
https://redd.it/1oktb8f
Yes, there are the django stubs, but they are definitely not exhaustive.
Do you think Django will ever have first-class support for typing, especially as it seems like the Python ecosystem as a whole is moving in this direction?
/r/django
https://redd.it/1oktb8f
Reddit
From the django community on Reddit
Explore this post and more from the django community
State of Django 2025 from JetBrains
A new set of survey results just dropped, this time in the form of Django-specific data gathered by JetBrains:
[Django Developers Survey 2025 Results](https://lp.jetbrains.com/django-developer-survey-2025/)
Some key takeaways:
* HTMX and Alpine.js are the fastest-growing JavaScript frameworks used with Django.
* HTMX is fantastic - my personal take ;)
* 38% of developers use AI to learn Django.
* 3 out of 4 Django developers have 3+ years of professional coding experience.
* 63% already use type hints, and more plan to.
* This is good. Type hints were a good idea.
* 76% use PostgreSQL as their database backend.
/r/Python
https://redd.it/1ol145x
A new set of survey results just dropped, this time in the form of Django-specific data gathered by JetBrains:
[Django Developers Survey 2025 Results](https://lp.jetbrains.com/django-developer-survey-2025/)
Some key takeaways:
* HTMX and Alpine.js are the fastest-growing JavaScript frameworks used with Django.
* HTMX is fantastic - my personal take ;)
* 38% of developers use AI to learn Django.
* 3 out of 4 Django developers have 3+ years of professional coding experience.
* 63% already use type hints, and more plan to.
* This is good. Type hints were a good idea.
* 76% use PostgreSQL as their database backend.
/r/Python
https://redd.it/1ol145x
JetBrains: Developer Tools for Professionals and Teams
Django Developers Survey 2025 Results
Official Django Developers Survey 2025 Results by Django Software Foundation and JetBrains: around 4,600 responses.
Saturday Daily Thread: Resource Request and Sharing! Daily Thread
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1ola3n2
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1ola3n2
YouTube
Data Structures and Algorithms in Python - Full Course for Beginners
A beginner-friendly introduction to common data structures (linked lists, stacks, queues, graphs) and algorithms (search, sorting, recursion, dynamic programming) in Python. This course will help you prepare for coding interviews and assessments.
🔗 Course…
🔗 Course…
Open-source Django portfolio (UI generated by lovable from my sketch)
https://redd.it/1olfvyl
@pythondaily
https://redd.it/1olfvyl
@pythondaily
Reddit
From the django community on Reddit: Open-source Django portfolio (UI generated by lovable from my sketch)
Explore this post and more from the django community
TelegramCLIBot - Control your server via Telegram from anywhere
I released **TelegramCLIBot v0.1.0**, a personal Telegram bot that turns your phone into a remote CLI for your self-hosted server.
# What it does
Execute shell commands on your server directly from Telegram. Perfect for when you're away from your desk and need to:
* Start/stop your home VPN when traveling
* Restart services
* Run any custom automation scripts remotely
# Key Features
* **Direct command execution** via `/run <command>`
* **Custom command shortcuts** \- Create aliases for frequently used commands (e.g., `/startvpn` → `sudo wg-quick up wg0`)
* **User whitelist authentication** \- Only specified Telegram user IDs can control the bot
# Security Notice
This is designed **exclusively for personal/self-hosted use**. It executes arbitrary shell commands with the privileges of the user running the bot.
**Security measures:**
* User ID whitelist (configured in YAML)
* Recommended to run as non-root user
* 2FA required on Telegram account
# Why I Built This
I wanted a simple way to manage my home server from anywhere without opening SSH ports on my router or dealing with port forwarding/dynamic DNS.
**The Telegram approach:**
* No ports to open - the bot connects outbound to Telegram's servers
* Works from anywhere with internet (Telegram handles the routing)
* Clean mobile interface - just send a message
* Can start your VPN remotely when you
/r/Python
https://redd.it/1ol96ne
I released **TelegramCLIBot v0.1.0**, a personal Telegram bot that turns your phone into a remote CLI for your self-hosted server.
# What it does
Execute shell commands on your server directly from Telegram. Perfect for when you're away from your desk and need to:
* Start/stop your home VPN when traveling
* Restart services
* Run any custom automation scripts remotely
# Key Features
* **Direct command execution** via `/run <command>`
* **Custom command shortcuts** \- Create aliases for frequently used commands (e.g., `/startvpn` → `sudo wg-quick up wg0`)
* **User whitelist authentication** \- Only specified Telegram user IDs can control the bot
# Security Notice
This is designed **exclusively for personal/self-hosted use**. It executes arbitrary shell commands with the privileges of the user running the bot.
**Security measures:**
* User ID whitelist (configured in YAML)
* Recommended to run as non-root user
* 2FA required on Telegram account
# Why I Built This
I wanted a simple way to manage my home server from anywhere without opening SSH ports on my router or dealing with port forwarding/dynamic DNS.
**The Telegram approach:**
* No ports to open - the bot connects outbound to Telegram's servers
* Works from anywhere with internet (Telegram handles the routing)
* Clean mobile interface - just send a message
* Can start your VPN remotely when you
/r/Python
https://redd.it/1ol96ne
Reddit
From the Python community on Reddit: TelegramCLIBot - Control your server via Telegram from anywhere
Explore this post and more from the Python community
D Simple Questions Thread
Please post your questions here instead of creating a new thread. 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.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/1olpzpu
Please post your questions here instead of creating a new thread. 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.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/1olpzpu
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Just launched CrossTray
Hi Guys, I just created a new python library and I would like you to check it out and let me know what you guys think about it?
You can download it using
pip install crosstry
It is a lightweight Python library for creating system tray/menu bar icons across Windows, macOS & Linux (Windows for now as MVP).
But for now it only supports the Windows as this is the MVP idea and I would like you guys to come and contribute. I would be happy to see issues and pull requests coming.
GitHub Link: https://github.com/UmanSheikh/crosstray
/r/Python
https://redd.it/1olqab2
Hi Guys, I just created a new python library and I would like you to check it out and let me know what you guys think about it?
You can download it using
pip install crosstry
It is a lightweight Python library for creating system tray/menu bar icons across Windows, macOS & Linux (Windows for now as MVP).
But for now it only supports the Windows as this is the MVP idea and I would like you guys to come and contribute. I would be happy to see issues and pull requests coming.
GitHub Link: https://github.com/UmanSheikh/crosstray
/r/Python
https://redd.it/1olqab2
GitHub
GitHub - UmanSheikh/crosstray: A lightweight Python library for creating system tray icons on Windows. (Future versions will add…
A lightweight Python library for creating system tray icons on Windows. (Future versions will add macOS and Linux support.) No heavy GUI dependencies—just simple status indicators, notifications, a...
Convert Streamlit App to Django
What's up guys!
I've seen a similar post questioning this a year ago, but the OP just didn't give any context 🤨 So I'll make different:
Currently on my work I'm building a Businesses Intelligence Web App with Streamlit. So far so good! I actually have almost zero complaints about it and I think I made the right choice choosing Streamlit instead of other frameworks when I started this project. Specially because it's quite simple. No databanks (for now) and nothing complex. The application just does a ETL process with some data from Excel and JSON files inside a GitHub repo and displays dinamically for the user.
However, I'm looking forward to other opportunities. I was thinking if would be worth it to refactor my project to a Django + Vue/Angular application. The only reason I would do that is so I could upgrade my portfolio and experience 🤓 I already have some experience with Vue and Django, and Streamlit is not a desired stack out there for the majority of companies...
So, what do you think ?
/r/django
https://redd.it/1olm77o
What's up guys!
I've seen a similar post questioning this a year ago, but the OP just didn't give any context 🤨 So I'll make different:
Currently on my work I'm building a Businesses Intelligence Web App with Streamlit. So far so good! I actually have almost zero complaints about it and I think I made the right choice choosing Streamlit instead of other frameworks when I started this project. Specially because it's quite simple. No databanks (for now) and nothing complex. The application just does a ETL process with some data from Excel and JSON files inside a GitHub repo and displays dinamically for the user.
However, I'm looking forward to other opportunities. I was thinking if would be worth it to refactor my project to a Django + Vue/Angular application. The only reason I would do that is so I could upgrade my portfolio and experience 🤓 I already have some experience with Vue and Django, and Streamlit is not a desired stack out there for the majority of companies...
So, what do you think ?
/r/django
https://redd.it/1olm77o
Reddit
From the django community on Reddit
Explore this post and more from the django community
🌟 Myfy: a modular Python framework with a built-in frontend
What It Does
Tired of gluing FastAPI + Next.js together, I built **Myfy** — a modular Python framework that ships with a frontend by default.
Run:
myfy frontend init
and you instantly get:
📝 Jinja2 templates
🎨 DaisyUI 5 + Tailwind 4 + Vite + HMR
🌗 Dark mode
🚀 Zero config that works out of the box
Target Audience
For Python devs who love backend work but want a frontend without touching JS.
Perfect for side projects, internal tools, or fast prototypes.
Comparison
Unlike FastAPI + Next.js or Flask + React, Myfy gives you a full-stack Python experience with plain HTML + modern CSS.
Repo → github.com/psincraian/myfy
If it sounds cool, drop a ⭐ and tell me what you think!
/r/Python
https://redd.it/1olyidq
What It Does
Tired of gluing FastAPI + Next.js together, I built **Myfy** — a modular Python framework that ships with a frontend by default.
Run:
myfy frontend init
and you instantly get:
📝 Jinja2 templates
🎨 DaisyUI 5 + Tailwind 4 + Vite + HMR
🌗 Dark mode
🚀 Zero config that works out of the box
Target Audience
For Python devs who love backend work but want a frontend without touching JS.
Perfect for side projects, internal tools, or fast prototypes.
Comparison
Unlike FastAPI + Next.js or Flask + React, Myfy gives you a full-stack Python experience with plain HTML + modern CSS.
Repo → github.com/psincraian/myfy
If it sounds cool, drop a ⭐ and tell me what you think!
/r/Python
https://redd.it/1olyidq
GitHub
GitHub - psincraian/myfy
Contribute to psincraian/myfy development by creating an account on GitHub.
Sunday Daily Thread: What's everyone working on this week?
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1om313b
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a script to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1om313b
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Why is it so hard for me to think like a programmer?
I’ve learned all the Python basics: variables, loops, functions, conditionals, even *args and all that. I can follow tutorials and solve simple problems on Codewars if I already know what’s being asked.
But when it comes to actually using what I know like building something from scratch or solving a problem I come up with myself my brain just freezes. I can’t seem to connect the dots or figure out how to put everything together.
It’s not that I don’t understand the syntax, I just can’t seem to think creatively with code yet. Is this normal? How do you get past this stage?
/r/Python
https://redd.it/1om3nsq
I’ve learned all the Python basics: variables, loops, functions, conditionals, even *args and all that. I can follow tutorials and solve simple problems on Codewars if I already know what’s being asked.
But when it comes to actually using what I know like building something from scratch or solving a problem I come up with myself my brain just freezes. I can’t seem to connect the dots or figure out how to put everything together.
It’s not that I don’t understand the syntax, I just can’t seem to think creatively with code yet. Is this normal? How do you get past this stage?
/r/Python
https://redd.it/1om3nsq
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Solvex - An open source FastAPI + SciPy API I'm building to learn optimization algorithms
Hey,
I find the best way to understand a complex topic is to build something with it. To get a handle on optimization algorithms, I've started a new project called **Solvex**.
It's a REST API built with FastAPI + SciPy that solves linear programming problems. It's an early stage learning project, and I'd love to get your feedback.
**Repo Link:** [`https://github.com/pranavkp71/solvex`](https://github.com/pranavkp71/solvex)
Here are the details for the showcase:
**What My Project Does**
Solvex provides a simple REST API that wraps optimization solvers from the SciPy library. Currently, it focuses on solving linear programming problems: you send a JSON payload with your problem's objective, constraints, and bounds, and it returns the optimal solution.
It uses FastAPI, so it includes automatic interactive API documentation and has a full CI/CD pipeline with tests.
**Example Use Case (Portfolio Optimization):**
Python
import requests
payload = {
"objective": [0.12, 0.15, 0.10], # Maximize returns
"constraints_matrix": [
[1, 1, 1], # Total investment <= 100k
[1,
/r/Python
https://redd.it/1ols60g
Hey,
I find the best way to understand a complex topic is to build something with it. To get a handle on optimization algorithms, I've started a new project called **Solvex**.
It's a REST API built with FastAPI + SciPy that solves linear programming problems. It's an early stage learning project, and I'd love to get your feedback.
**Repo Link:** [`https://github.com/pranavkp71/solvex`](https://github.com/pranavkp71/solvex)
Here are the details for the showcase:
**What My Project Does**
Solvex provides a simple REST API that wraps optimization solvers from the SciPy library. Currently, it focuses on solving linear programming problems: you send a JSON payload with your problem's objective, constraints, and bounds, and it returns the optimal solution.
It uses FastAPI, so it includes automatic interactive API documentation and has a full CI/CD pipeline with tests.
**Example Use Case (Portfolio Optimization):**
Python
import requests
payload = {
"objective": [0.12, 0.15, 0.10], # Maximize returns
"constraints_matrix": [
[1, 1, 1], # Total investment <= 100k
[1,
/r/Python
https://redd.it/1ols60g