Social login recommendations
Hi! I wanna implement social login for my API (DRF). Initially will start with google, latter Apple. Which package would you recommend? Any good tutorial? Many thanks
/r/django
https://redd.it/1lgiclj
Hi! I wanna implement social login for my API (DRF). Initially will start with google, latter Apple. Which package would you recommend? Any good tutorial? Many thanks
/r/django
https://redd.it/1lgiclj
Reddit
From the django community on Reddit
Explore this post and more from the django community
Flask sqlalchemy Lost Connection error driving me crazy!
So I've been bumping into this issue for months now, I've researched and tried so many methods online, but still no luck! I use flask_login, sqlalchemy to control my user logins. But frequently I get an "Internal Error", with the exception:
(pymysql.err. OperationalError) (2013, 'Lost connection to MySQL server during query') [SQL: SELECT users_1dap. id AS users_Idap_id, users_ ldap. username AS users_ ldap_username, users_ 1dap. name AS users_ ldap_name, users_ ldap. email AS users_ldap_email, users_ 1dap. role AS users_Idap_role, users_ 1dap. status AS users_Idap_status, users_1dap. atype AS users_ 1dap_atype, users_ ldap. group_name AS users_Idap_group_name, users_Idap. created_on AS users_ 1dap_created_on, users_1dap. last_ login AS users_1dap_last_ login
I didn't write this query, it's being used by Flask-Login I think.
MySQL version: 8.0
SQLAlchemy: 2.0.37
PyMySQL: 1.1.1
Flask-Login: 0.6.3
Flask-SQLAlchemy: 3.1.1
I also tried to change SQLALCHEMY_POOL_RECYCLE to 100, the wait_timeout is 1800 on the server.
Any advice would help :(
/r/flask
https://redd.it/1lg8hts
So I've been bumping into this issue for months now, I've researched and tried so many methods online, but still no luck! I use flask_login, sqlalchemy to control my user logins. But frequently I get an "Internal Error", with the exception:
(pymysql.err. OperationalError) (2013, 'Lost connection to MySQL server during query') [SQL: SELECT users_1dap. id AS users_Idap_id, users_ ldap. username AS users_ ldap_username, users_ 1dap. name AS users_ ldap_name, users_ ldap. email AS users_ldap_email, users_ 1dap. role AS users_Idap_role, users_ 1dap. status AS users_Idap_status, users_1dap. atype AS users_ 1dap_atype, users_ ldap. group_name AS users_Idap_group_name, users_Idap. created_on AS users_ 1dap_created_on, users_1dap. last_ login AS users_1dap_last_ login
I didn't write this query, it's being used by Flask-Login I think.
MySQL version: 8.0
SQLAlchemy: 2.0.37
PyMySQL: 1.1.1
Flask-Login: 0.6.3
Flask-SQLAlchemy: 3.1.1
I also tried to change SQLALCHEMY_POOL_RECYCLE to 100, the wait_timeout is 1800 on the server.
Any advice would help :(
/r/flask
https://redd.it/1lg8hts
Reddit
Flask sqlalchemy Lost Connection error driving me crazy! : r/flask
90K subscribers in the flask community. Flask is a Python micro-framework for web development. Flask is easy to get started with and a great way to…
Simple Django Models Explanation for beginners
Hey Django folks!
I created a small post explaining Django Models in super simple Hinglish for beginners.
Feel free to check it out here 👇
https://www.reddit.com/r/django/comments/1lgpp1x/simple\_django\_models\_explanation/?utm\_source=share&utm\_medium=web3x&utm\_name=web3xcss&utm\_term=1&utm\_content=share\_button
\#django
/r/djangolearning
https://redd.it/1lgps31
Hey Django folks!
I created a small post explaining Django Models in super simple Hinglish for beginners.
Feel free to check it out here 👇
https://www.reddit.com/r/django/comments/1lgpp1x/simple\_django\_models\_explanation/?utm\_source=share&utm\_medium=web3x&utm\_name=web3xcss&utm\_term=1&utm\_content=share\_button
\#django
/r/djangolearning
https://redd.it/1lgps31
Reddit
From the django community on Reddit: Simple Django Models Explanation
Posted by Severe_Tangerine6706 - 4 votes and 3 comments
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/1lgiy3h
# 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/1lgiy3h
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…
Wrote an MIT-licensed book that teaches nonprofits how to use Python to analyze and visualize data
## What My Project Does:
I have enjoyed applying Python within the nonprofit sector for several years now, so I wanted to make it easier for other nonprofit staff to do the same. Therefore, I wrote Python for Nonprofits, an open-source book that demonstrates how nonprofits can use Python to manage, analyze, visualize, and publish their data. The GitHub link also explains how you can view PFN's underlying Python files on your computer, either in HTML or Jupyter Notebook format.
Topics covered within PFN include:
1. Data import
2. Data analysis (including both descriptive and inferential stats)
3. Data visualization (including graphs and maps)
4. Sharing data online via Dash dashboards and Google Sheets. (Static webpages also get a brief mention)
PFN makes heavy use of Pandas, Plotly, and Dash, though many other open-source libraries play a role in its code as well.
## Target Audience (e.g., Is it meant for production, just a toy project, etc.
This project is meant for individuals (especially, but not limited to, nonprofit workers) who have a basic understanding of Python but would like to build up their data analysis and visualization skills in that language. I also hope to eventually use it as a curriculum for adjunct teaching work.
## Comparison: (A
/r/Python
https://redd.it/1lgmr2b
## What My Project Does:
I have enjoyed applying Python within the nonprofit sector for several years now, so I wanted to make it easier for other nonprofit staff to do the same. Therefore, I wrote Python for Nonprofits, an open-source book that demonstrates how nonprofits can use Python to manage, analyze, visualize, and publish their data. The GitHub link also explains how you can view PFN's underlying Python files on your computer, either in HTML or Jupyter Notebook format.
Topics covered within PFN include:
1. Data import
2. Data analysis (including both descriptive and inferential stats)
3. Data visualization (including graphs and maps)
4. Sharing data online via Dash dashboards and Google Sheets. (Static webpages also get a brief mention)
PFN makes heavy use of Pandas, Plotly, and Dash, though many other open-source libraries play a role in its code as well.
## Target Audience (e.g., Is it meant for production, just a toy project, etc.
This project is meant for individuals (especially, but not limited to, nonprofit workers) who have a basic understanding of Python but would like to build up their data analysis and visualization skills in that language. I also hope to eventually use it as a curriculum for adjunct teaching work.
## Comparison: (A
/r/Python
https://redd.it/1lgmr2b
GitHub
GitHub - kburchfiel/pfn: Python For Nonprofits demonstrates how to use Python to retrieve, analyze, visualize, and share nonprofit…
Python For Nonprofits demonstrates how to use Python to retrieve, analyze, visualize, and share nonprofit data. - kburchfiel/pfn
Design Patterns You Should Unlearn in Python-Part2
Blog Post, NO PAYWALL
design-patterns-you-should-unlearn-in-python-part2
---
After publishing Part 1 of this series, I saw the same thing pop up in a lot of discussions: people trying to describe the Singleton pattern, but actually reaching for something closer to Flyweight, just without the name.
So in Part 2, we dig deeper. we stick closer to the origal intetntion & definition of design patterns in the GOF book.
This time, we’re covering Flyweight and Prototype, two patterns that, while solving real problems, blindly copy how it is implemented in Java and C++, usually end up doing more harm than good in Python. We stick closely to the original GoF definitions, but also ground everything in Python’s world: we look at how
We also talk about the temptation to use
If Part 1 was about showing that not every pattern needs to be translated into Python, Part
/r/Python
https://redd.it/1lgrlza
Blog Post, NO PAYWALL
design-patterns-you-should-unlearn-in-python-part2
---
After publishing Part 1 of this series, I saw the same thing pop up in a lot of discussions: people trying to describe the Singleton pattern, but actually reaching for something closer to Flyweight, just without the name.
So in Part 2, we dig deeper. we stick closer to the origal intetntion & definition of design patterns in the GOF book.
This time, we’re covering Flyweight and Prototype, two patterns that, while solving real problems, blindly copy how it is implemented in Java and C++, usually end up doing more harm than good in Python. We stick closely to the original GoF definitions, but also ground everything in Python’s world: we look at how
re.compile applies the flyweight pattern, how to use lru_cache to apply Flyweight pattern without all the hassles , and the reason copy has nothing to do with Prototype(despite half the tutorials out there will tell you.)We also talk about the temptation to use
__new__ or metaclasses to control instance creation, and the reason that’s often an anti-pattern in Python. Not always wrong, but wrong more often than people realize.If Part 1 was about showing that not every pattern needs to be translated into Python, Part
/r/Python
https://redd.it/1lgrlza
www.lihil.cc
Design Patterns You Should Unlearn in Python-Part2 | Lihil
image-1.jpg
Any toolkit or boilerplate to convert Django web app into a mobile app (React Native or Capacitor)?
Fellow Django Developers I'm a bit of Django dev myself and I’m wondering if there’s a curated toolkit or service that can help me convert an existing Django web application into a mobile app — ideally using something like React Native, Capacitor, or similar — without having to dive deep into frontend/mobile frameworks
I'm mainly looking for:
* A boilerplate that connects Django (with DRF or GraphQL)
* A minimal mobile frontend (even WebView is fine if it's production-grade)
* Support for login/auth, navigation, API calls, and mobile packaging
Any recommendations or links would be much appreciated!
Thanks!
/r/djangolearning
https://redd.it/1leypt7
Fellow Django Developers I'm a bit of Django dev myself and I’m wondering if there’s a curated toolkit or service that can help me convert an existing Django web application into a mobile app — ideally using something like React Native, Capacitor, or similar — without having to dive deep into frontend/mobile frameworks
I'm mainly looking for:
* A boilerplate that connects Django (with DRF or GraphQL)
* A minimal mobile frontend (even WebView is fine if it's production-grade)
* Support for login/auth, navigation, API calls, and mobile packaging
Any recommendations or links would be much appreciated!
Thanks!
/r/djangolearning
https://redd.it/1leypt7
Reddit
From the djangolearning community on Reddit
Explore this post and more from the djangolearning community
Transform the Way You Build Django Apps – My First Open Source Library Is Here!
Hey guys 👋
After years of working with Django, I’ve always appreciated its robustness and flexibility — but one thing always felt missing: a **powerful developer-friendly CLI**.
When I started exploring frameworks like **NestJS**, **AdonisJS**, and **Laravel**, I was seriously impressed by how fast you could scaffold files, enforce structure, and streamline development with just a few commands. That kind of DX (developer experience) is incredibly powerful.
So I thought… **why not bring that same energy to Django?**
That’s how [`django-smartcli`](https://pypi.org/project/django-smartcli/) was born — my very first open-source Python library! 🎉
# 🧰 What it does
`django-smartcli` helps you generate Django boilerplate with intuitive commands like:
django-smartcli create-model Product my_app
This automatically creates a `models/product.py` file with a ready-to-use model class, UUID primary key, timestamps, soft delete, and more — all following best practices.
✅ Save time
✅ Avoid repetitive boilerplate
✅ Promote clean & consistent structure
# 💡 Why I built it
* Inspired by NestJS / AdonisJS / Laravel CLI tools
* To make building Django apps faster and more enjoyable
* To learn how to build and publish a real Python package
* To help others adopt a clean microservice architecture in Django
# 📦 Try it out
pip install django-smartcli
Then
/r/django
https://redd.it/1lgx9ol
Hey guys 👋
After years of working with Django, I’ve always appreciated its robustness and flexibility — but one thing always felt missing: a **powerful developer-friendly CLI**.
When I started exploring frameworks like **NestJS**, **AdonisJS**, and **Laravel**, I was seriously impressed by how fast you could scaffold files, enforce structure, and streamline development with just a few commands. That kind of DX (developer experience) is incredibly powerful.
So I thought… **why not bring that same energy to Django?**
That’s how [`django-smartcli`](https://pypi.org/project/django-smartcli/) was born — my very first open-source Python library! 🎉
# 🧰 What it does
`django-smartcli` helps you generate Django boilerplate with intuitive commands like:
django-smartcli create-model Product my_app
This automatically creates a `models/product.py` file with a ready-to-use model class, UUID primary key, timestamps, soft delete, and more — all following best practices.
✅ Save time
✅ Avoid repetitive boilerplate
✅ Promote clean & consistent structure
# 💡 Why I built it
* Inspired by NestJS / AdonisJS / Laravel CLI tools
* To make building Django apps faster and more enjoyable
* To learn how to build and publish a real Python package
* To help others adopt a clean microservice architecture in Django
# 📦 Try it out
pip install django-smartcli
Then
/r/django
https://redd.it/1lgx9ol
Reddit
From the django community on Reddit
Explore this post and more from the django community
🔗 Built my first Django URL Shortener with Analytics & QR Codes - Looking for feedback! [LinkFusion]
Hey r/django!
I've been working on a URL shortener app called LinkFusion and would love to get some feedback from the community. This is my another major Django project, so any suggestions would be greatly appreciated! [https://github.com/manjurulhoque/link-fusion](https://github.com/manjurulhoque/link-fusion)
# 🚀 What it does:
* Shorten URLs: Turn long URLs into branded short links
* Custom Domains: Users can add their own domains
* Password Protection: Secure links behind passwords
* QR Code Generation: QR codes for shortened link
* Analytics Dashboard: Track clicks, locations, devices, and browsers
* Link Expiration: Set expiration dates and click limits
* Admin Panel: Full admin dashboard for managing users and links
# 🛠️ Tech Stack:
Pure Django Setup:
* Django 5.0+ (Python web framework)
* SQLite database
* Django Templates + django-tailwind for styling
* Class-based views and function-based views
* Django ORM for all database operations
* AlpineJS
Key Libraries:
* qrcode + Pillow for QR code generation
* user-agents for device/browser detection
* requests for IP geolocation
* python-decouple for environment management
# 📊 Django Features I'm Using:
* Models: ShortenedURL, Click, Domain, UserProfile, QRCode
* Views: Mix of CBVs and FBVs for different functionality
* Forms: Django forms with validation for link creation
* Admin: Custom admin interface with analytics
* Templates: Responsive templates with Tailwind CSS
* Authentication: Built-in Django auth system
* Middleware: Custom analytics tracking
# 📈 Cool Django Implementation Details:
* Custom generate\_short\_code() function for unique URLs
* Custom template tags for analytics formatting
* Proper model relationships with foreign keys
* Django's built-in pagination for link lists
* Form validation with custom clean methods
# 📸 What the Django templates look like:
[Home](https://preview.redd.it/stpqp5sbi98f1.png?width=1850&format=png&auto=webp&s=004649c8302a4abb8ff12c02baceb9a5c5c37abc)
[Dashboard](https://preview.redd.it/wbbq5kcfi98f1.png?width=1850&format=png&auto=webp&s=3832385c091f44d23d3cdf267e26fc9fc3d4716a)
[Domain](https://preview.redd.it/bz63y40ll98f1.png?width=1850&format=png&auto=webp&s=cdc5abf06373d0fd528397785080d86004b1c231)
[QR Code](https://preview.redd.it/7vt9ywvnl98f1.png?width=1850&format=png&auto=webp&s=195ed89973ca8a3df9e0ac82efabd7ac8b6921c2)
Thanks for checking it out! 🙏
/r/django
https://redd.it/1lguadz
Hey r/django!
I've been working on a URL shortener app called LinkFusion and would love to get some feedback from the community. This is my another major Django project, so any suggestions would be greatly appreciated! [https://github.com/manjurulhoque/link-fusion](https://github.com/manjurulhoque/link-fusion)
# 🚀 What it does:
* Shorten URLs: Turn long URLs into branded short links
* Custom Domains: Users can add their own domains
* Password Protection: Secure links behind passwords
* QR Code Generation: QR codes for shortened link
* Analytics Dashboard: Track clicks, locations, devices, and browsers
* Link Expiration: Set expiration dates and click limits
* Admin Panel: Full admin dashboard for managing users and links
# 🛠️ Tech Stack:
Pure Django Setup:
* Django 5.0+ (Python web framework)
* SQLite database
* Django Templates + django-tailwind for styling
* Class-based views and function-based views
* Django ORM for all database operations
* AlpineJS
Key Libraries:
* qrcode + Pillow for QR code generation
* user-agents for device/browser detection
* requests for IP geolocation
* python-decouple for environment management
# 📊 Django Features I'm Using:
* Models: ShortenedURL, Click, Domain, UserProfile, QRCode
* Views: Mix of CBVs and FBVs for different functionality
* Forms: Django forms with validation for link creation
* Admin: Custom admin interface with analytics
* Templates: Responsive templates with Tailwind CSS
* Authentication: Built-in Django auth system
* Middleware: Custom analytics tracking
# 📈 Cool Django Implementation Details:
* Custom generate\_short\_code() function for unique URLs
* Custom template tags for analytics formatting
* Proper model relationships with foreign keys
* Django's built-in pagination for link lists
* Form validation with custom clean methods
# 📸 What the Django templates look like:
[Home](https://preview.redd.it/stpqp5sbi98f1.png?width=1850&format=png&auto=webp&s=004649c8302a4abb8ff12c02baceb9a5c5c37abc)
[Dashboard](https://preview.redd.it/wbbq5kcfi98f1.png?width=1850&format=png&auto=webp&s=3832385c091f44d23d3cdf267e26fc9fc3d4716a)
[Domain](https://preview.redd.it/bz63y40ll98f1.png?width=1850&format=png&auto=webp&s=cdc5abf06373d0fd528397785080d86004b1c231)
[QR Code](https://preview.redd.it/7vt9ywvnl98f1.png?width=1850&format=png&auto=webp&s=195ed89973ca8a3df9e0ac82efabd7ac8b6921c2)
Thanks for checking it out! 🙏
/r/django
https://redd.it/1lguadz
GitHub
GitHub - manjurulhoque/link-fusion: LinkFusion - django URL shortener
LinkFusion - django URL shortener. Contribute to manjurulhoque/link-fusion development by creating an account on GitHub.
Electron/Tauri React-Like Python GUI Lib (Components, State, Routing, Hot Reload, UI) BasedOn PySide
**🔗 Repo Link**
[GitHub - WinUp](https://github.com/mebaadwaheed/winup)
**🧩 What My Project Does**
This project is a framework inspired by React, built on top of PySide6, to allow developers to build desktop apps in Python using components, state management, Row/Column layouts, and declarative UI structure. Routing and graphs too. You can define UI elements in a more readable and reusable way, similar to modern frontend frameworks.
There might be errors because it's quite new, but I would love good feedback and bug reports contributing is very welcome!
**🎯 Target Audience**
* Python developers building desktop applications
* Learners familiar with React or modern frontend concepts
* Developers wanting to reduce boilerplate in PySide6 apps This is intended to be a usable, maintainable, mid-sized framework. It’s not a toy project.
**🔍 Comparison with Other Libraries**
Unlike raw PySide6, this framework abstracts layout management and introduces a proper state system. Compared to tools like DearPyGui or Tkinter, this focuses on maintainability and declarative architecture.
It is **not** a wrapper but a full architectural layer with reusable components and an update cycle, similar to React. It also has Hot Reloading- please go the github repo to learn more.
**pip install winup**
**💻 Example**
# hello_world.py
/r/Python
https://redd.it/1lh12rc
**🔗 Repo Link**
[GitHub - WinUp](https://github.com/mebaadwaheed/winup)
**🧩 What My Project Does**
This project is a framework inspired by React, built on top of PySide6, to allow developers to build desktop apps in Python using components, state management, Row/Column layouts, and declarative UI structure. Routing and graphs too. You can define UI elements in a more readable and reusable way, similar to modern frontend frameworks.
There might be errors because it's quite new, but I would love good feedback and bug reports contributing is very welcome!
**🎯 Target Audience**
* Python developers building desktop applications
* Learners familiar with React or modern frontend concepts
* Developers wanting to reduce boilerplate in PySide6 apps This is intended to be a usable, maintainable, mid-sized framework. It’s not a toy project.
**🔍 Comparison with Other Libraries**
Unlike raw PySide6, this framework abstracts layout management and introduces a proper state system. Compared to tools like DearPyGui or Tkinter, this focuses on maintainability and declarative architecture.
It is **not** a wrapper but a full architectural layer with reusable components and an update cycle, similar to React. It also has Hot Reloading- please go the github repo to learn more.
**pip install winup**
**💻 Example**
# hello_world.py
/r/Python
https://redd.it/1lh12rc
GitHub
GitHub - mebaadwaheed/winup: The repo for the WinUp Library Project.
The repo for the WinUp Library Project. Contribute to mebaadwaheed/winup development by creating an account on GitHub.
How do I deal with STATICFILES_STORAGE depreciation while migrating to django 5.2?
Since STATICFILES\_STORAGE is depreciated as of django 5.2 [see here](https://docs.djangoproject.com/en/5.2/releases/4.2/#custom-file-storages). I am wondering what effects would it have if I migrate to django 5.2. As far as I can understand I just need to use a new way of defining static files storage in my settings files. Something like this:
{
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
},
}
Do I need to change the views as well? In my views I fetch this setting by
from django.contrib.staticfiles.storage import staticfiles_storage
Which this still exists in django 5.2.
So just change the settings file and keeps the views as is. Do you see any problem here?
/r/djangolearning
https://redd.it/1leeln7
Since STATICFILES\_STORAGE is depreciated as of django 5.2 [see here](https://docs.djangoproject.com/en/5.2/releases/4.2/#custom-file-storages). I am wondering what effects would it have if I migrate to django 5.2. As far as I can understand I just need to use a new way of defining static files storage in my settings files. Something like this:
{
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},
"staticfiles": {
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
},
}
Do I need to change the views as well? In my views I fetch this setting by
from django.contrib.staticfiles.storage import staticfiles_storage
Which this still exists in django 5.2.
So just change the settings file and keeps the views as is. Do you see any problem here?
/r/djangolearning
https://redd.it/1leeln7
Django Project
Django 4.2 release notes | Django documentation
The web framework for perfectionists with deadlines.
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/1lhag85
# 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/1lhag85
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Just open-sourced Eion - a shared memory system for AI agents
Hey everyone! I've been working on this project for a while and finally got it to a point where I'm comfortable sharing it with the community. Eion is a shared memory storage system that provides unified knowledge graph capabilities for AI agent systems. Think of it as the "Google Docs of AI Agents" that connects multiple AI agents together, allowing them to share context, memory, and knowledge in real-time.
When building multi-agent systems, I kept running into the same issues: limited memory space, context drifting, and knowledge quality dilution. Eion tackles these issues by:
Unifying API that works for single LLM apps, AI agents, and complex multi-agent systems
No external cost via in-house knowledge extraction + all-MiniLM-L6-v2 embedding
PostgreSQL + pgvector for conversation history and semantic search
Neo4j integration for temporal knowledge graphs
Would love to get feedback from the community! What features would you find most useful? Any architectural decisions you'd question?
GitHub: https://github.com/eiondb/eion
Docs: https://pypi.org/project/eiondb/
/r/Python
https://redd.it/1lhbsgi
Hey everyone! I've been working on this project for a while and finally got it to a point where I'm comfortable sharing it with the community. Eion is a shared memory storage system that provides unified knowledge graph capabilities for AI agent systems. Think of it as the "Google Docs of AI Agents" that connects multiple AI agents together, allowing them to share context, memory, and knowledge in real-time.
When building multi-agent systems, I kept running into the same issues: limited memory space, context drifting, and knowledge quality dilution. Eion tackles these issues by:
Unifying API that works for single LLM apps, AI agents, and complex multi-agent systems
No external cost via in-house knowledge extraction + all-MiniLM-L6-v2 embedding
PostgreSQL + pgvector for conversation history and semantic search
Neo4j integration for temporal knowledge graphs
Would love to get feedback from the community! What features would you find most useful? Any architectural decisions you'd question?
GitHub: https://github.com/eiondb/eion
Docs: https://pypi.org/project/eiondb/
/r/Python
https://redd.it/1lhbsgi
GitHub
GitHub - eiondb/eion: Shared Memory Storage for Multi-Agent Systems
Shared Memory Storage for Multi-Agent Systems. Contribute to eiondb/eion development by creating an account on GitHub.
Struggling to find a remote Django job from the Middle East — any advice?
Hey everyone,
I’ve been working as a backend developer for 2 years, mainly using Django, DRF, PostgreSQL, and Docker. I’m based in the Middle East and have been employed full-time, but unfortunately, the pay here is very low and there’s little room for growth.
I’ve been applying to remote jobs for months now—but I still barely get shortlisted. It’s been discouraging, and I’m starting to feel stuck.
I genuinely love working with Django and backend systems. I enjoy building clean APIs, scalable architecture, and solving real problems. I just want the chance to grow and contribute to something meaningful.
Has anyone else been in a similar position? How did you break through and land your first remote opportunity? Any advice or resources would mean a lot.
Thanks for reading 🙏
/r/django
https://redd.it/1lh568b
Hey everyone,
I’ve been working as a backend developer for 2 years, mainly using Django, DRF, PostgreSQL, and Docker. I’m based in the Middle East and have been employed full-time, but unfortunately, the pay here is very low and there’s little room for growth.
I’ve been applying to remote jobs for months now—but I still barely get shortlisted. It’s been discouraging, and I’m starting to feel stuck.
I genuinely love working with Django and backend systems. I enjoy building clean APIs, scalable architecture, and solving real problems. I just want the chance to grow and contribute to something meaningful.
Has anyone else been in a similar position? How did you break through and land your first remote opportunity? Any advice or resources would mean a lot.
Thanks for reading 🙏
/r/django
https://redd.it/1lh568b
Reddit
From the django community on Reddit
Explore this post and more from the django community
Django Progress Bar + Django Unfold?
Hi, I would like to know if there is any recommended package or solution to implement a file upload progress bar in Django. I have a model with a field intended to store files (specifically videos), and I want to display the upload progress percentage on the frontend while the file is being uploaded to the backend. The goal is to achieve an experience similar to YouTube, where the upload progress is visually displayed in real time.
I would like this to be shown within the Django admin panel, which is using django-unfold.
/r/django
https://redd.it/1lh96wd
Hi, I would like to know if there is any recommended package or solution to implement a file upload progress bar in Django. I have a model with a field intended to store files (specifically videos), and I want to display the upload progress percentage on the frontend while the file is being uploaded to the backend. The goal is to achieve an experience similar to YouTube, where the upload progress is visually displayed in real time.
I would like this to be shown within the Django admin panel, which is using django-unfold.
/r/django
https://redd.it/1lh96wd
Reddit
From the django community on Reddit
Explore this post and more from the django community
I built an automation to generate coding reels like Peter Stewie’s on Instagram(got 2k followers)
**What My Project Does:**
You might’ve seen those funny Instagram reels where characters like Stewie and Peter Griffin explain coding concepts to each other while gameplay runs in the background ..all with AI voices.
I built an automation that replicates that exact format.
Just send a script, and it generates a short, engaging coding reel with:
* AI voiceovers
* Character overlays
* Gameplay footage
All fully automated , no manual editing needed.
**✨ Features:**
* Scraped and integrated AI voices
* Automated video rendering using AWS
* Optional ChatGPT support to auto-generate scripts
* Telegram interface to send scripts and receive final videos
Still improving timing and visuals, open to feedback!
**🛠️ GitHub (code + demo):** [https://github.com/Traverser25/Stewie\_it\_v1](https://github.com/Traverser25/Stewie_it_v1)
/r/Python
https://redd.it/1lhgllq
**What My Project Does:**
You might’ve seen those funny Instagram reels where characters like Stewie and Peter Griffin explain coding concepts to each other while gameplay runs in the background ..all with AI voices.
I built an automation that replicates that exact format.
Just send a script, and it generates a short, engaging coding reel with:
* AI voiceovers
* Character overlays
* Gameplay footage
All fully automated , no manual editing needed.
**✨ Features:**
* Scraped and integrated AI voices
* Automated video rendering using AWS
* Optional ChatGPT support to auto-generate scripts
* Telegram interface to send scripts and receive final videos
Still improving timing and visuals, open to feedback!
**🛠️ GitHub (code + demo):** [https://github.com/Traverser25/Stewie\_it\_v1](https://github.com/Traverser25/Stewie_it_v1)
/r/Python
https://redd.it/1lhgllq
What would be the best way to share my flask app on GitHub so that anyone can self host it?
I’ve been working on a small side project that’s a simple flask web app.
The project is mainly a learning exercise for me but I also want to learn how to properly open source code.
It’s in a state at this point where I feel it’s useable and I’ve been slowly building up a proper readme for my GitHub page.
My goal is to simplify the installation process as much as possible so for now I’ve written 2 batch files that handle the installation and the execution. But I am wondering if there is a better way to go about this.
Keen to hear any advice.
/r/flask
https://redd.it/1lh3t1v
I’ve been working on a small side project that’s a simple flask web app.
The project is mainly a learning exercise for me but I also want to learn how to properly open source code.
It’s in a state at this point where I feel it’s useable and I’ve been slowly building up a proper readme for my GitHub page.
My goal is to simplify the installation process as much as possible so for now I’ve written 2 batch files that handle the installation and the execution. But I am wondering if there is a better way to go about this.
Keen to hear any advice.
/r/flask
https://redd.it/1lh3t1v
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Working on a Django package for tracking marketing campaigns
https://github.com/YounesOMK/django-attribution
/r/django
https://redd.it/1lhlh8l
https://github.com/YounesOMK/django-attribution
/r/django
https://redd.it/1lhlh8l
GitHub
GitHub - YounesOMK/django-attribution: Track which marketing campaigns drive conversions in Django
Track which marketing campaigns drive conversions in Django - YounesOMK/django-attribution
Parallel and Concurrent Programming in Python: A Practical Guide
Hey, I made a video about Parallel and Concurrent Programming in Python with threading and multiprocessing.
First we make a program which doesn't use any of those methods and after that we take advantage of those methods and see the differences in terms of performance
https://www.youtube.com/watch?v=IQxKjGEVteI
/r/Python
https://redd.it/1lhgxek
Hey, I made a video about Parallel and Concurrent Programming in Python with threading and multiprocessing.
First we make a program which doesn't use any of those methods and after that we take advantage of those methods and see the differences in terms of performance
https://www.youtube.com/watch?v=IQxKjGEVteI
/r/Python
https://redd.it/1lhgxek
YouTube
Parallel and Concurrent Programming in Python: A Practical Guide (Read Desc)
🚀 This video is part of our Backend Development course — now available with a limited-time discount!
👉 Enroll here: https://www.udemy.com/course/learn-modern-backend-development-with-python-and-sql/?couponCode=CC79F52D249A2BE3F85B (last 24 hours)
Learn how…
👉 Enroll here: https://www.udemy.com/course/learn-modern-backend-development-with-python-and-sql/?couponCode=CC79F52D249A2BE3F85B (last 24 hours)
Learn how…
Fast, lightweight parser for Securities and Exchanges Commission Inline XBRL
Hi there, this is a niche package but may help a few people. I noticed that the SEC XBRL endpoint sometimes takes hours to update, and is missing a lot of data, so I wrote a fast, lightweight InLine XBRL parser to fix this.
https://github.com/john-friedman/secxbrl
# What my project does
Parses SEC InLine XBRL quickly using only the Inline XBRL html file, without the need for linkbases, schema files, etc.
# Target Audience
Algorithmic traders, PhD students, Quant researchers, and hobbyists.
# Comparison
Other packages such as python-xbrl, py-xbrl, and brel are focused on parsing most forms of XBRL. This package only parses SEC XBRL. This allows for dramatically faster performance as no additional files need to be downloaded, making it suitable for running on small instances such as t4g.nanos.
The readme contains links to the other packages as they may be a better fit for your usecase.
# Example
from secxbrl import parseinlinexbrl
# load data
path = '../samples/000095017022000796/tsla-20211231.htm'
with open(path,'rb') as f:
content = f.read()
# get all EarningsPerShareBasic
basic = {'val':item['_val','date':item'_context''context_period_enddate'} for item
/r/Python
https://redd.it/1lhdspc
Hi there, this is a niche package but may help a few people. I noticed that the SEC XBRL endpoint sometimes takes hours to update, and is missing a lot of data, so I wrote a fast, lightweight InLine XBRL parser to fix this.
https://github.com/john-friedman/secxbrl
# What my project does
Parses SEC InLine XBRL quickly using only the Inline XBRL html file, without the need for linkbases, schema files, etc.
# Target Audience
Algorithmic traders, PhD students, Quant researchers, and hobbyists.
# Comparison
Other packages such as python-xbrl, py-xbrl, and brel are focused on parsing most forms of XBRL. This package only parses SEC XBRL. This allows for dramatically faster performance as no additional files need to be downloaded, making it suitable for running on small instances such as t4g.nanos.
The readme contains links to the other packages as they may be a better fit for your usecase.
# Example
from secxbrl import parseinlinexbrl
# load data
path = '../samples/000095017022000796/tsla-20211231.htm'
with open(path,'rb') as f:
content = f.read()
# get all EarningsPerShareBasic
basic = {'val':item['_val','date':item'_context''context_period_enddate'} for item
/r/Python
https://redd.it/1lhdspc
GitHub
GitHub - john-friedman/secxbrl: A package to parse SEC XBRL at scale.
A package to parse SEC XBRL at scale. Contribute to john-friedman/secxbrl development by creating an account on GitHub.