Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
I built ErrorTrace Pro — Make Python errors visual, easier to understand, and log to the cloud

Hi everyone 👋,

I always felt Python error tracebacks were... ugly and sometimes confusing, especially on bigger projects. So I created ErrorTrace Pro — a library to:

Make tracebacks beautiful and visual
Suggest solutions for common errors
Send errors automatically to the cloud for analysis
Help debug faster and smarter

# Why I built it:

I got tired of reading endless walls of red text, so I decided to make error handling more intuitive, clear, and developer-friendly.

GitHub: https://github.com/Hamed233/ErrorTrace-Pro

PyPi: https://pypi.org/project/errortrace-pro/

/r/Python
https://redd.it/1k95s2g
Django Mentor or Learning Partner in Taiwan

Learning Django in Taiwan was kind of hard to find a mentor or people to work with. I can barely find people that using Django or talking about it.
Currently, I'm learning it on my own, but I really happy to have a person that can talk to, even help me to check or discuss even just sharing the progress , so just wondering is there any people that were also into Django are in Taiwan.

/r/djangolearning
https://redd.it/1k8thzq
Best way to upload multiple images.

many to many field doesn't allow multiple image files to be selected and uploaded at once. What work arounds are there for this? Thanks in advance!

/r/django
https://redd.it/1k9i1kk
Deploying Flask app with frontend

I have just created a Flask app to learn Flask and try out TailwindCSS. I want to deploy it for free (it’s a fun project so traffic will be almost zero). It has two Python files: the first contains the program logic that fetches user data using a GraphQL query and returns it, and the second contains the Flask code. For the frontend, I’ve used HTML/CSS, JavaScript, and TailwindCSS.I have not used any database in this program.
How can I safely deploy this app, so I don’t end up with a huge bill if a spammer attacks?

/r/flask
https://redd.it/1k9148r
Advices for cloud

I'm currently working on a web site for a small business and for holding its backend (made in django) I I thought of using google cloud for its pricing, which advices do you give me to do this?

/r/django
https://redd.it/1k9o07q
Monday Daily Thread: Project ideas!

# Weekly Thread: Project Ideas 💡

Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.

## How it Works:

1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.

## Guidelines:

* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.

# Example Submissions:

## Project Idea: Chatbot

**Difficulty**: Intermediate

**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar

**Description**: Create a chatbot that can answer FAQs for a website.

**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)

# Project Idea: Weather Dashboard

**Difficulty**: Beginner

**Tech Stack**: HTML, CSS, JavaScript, API

**Description**: Build a dashboard that displays real-time weather information using a weather API.

**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)

## Project Idea: File Organizer

**Difficulty**: Beginner

**Tech Stack**: Python, File I/O

**Description**: Create a script that organizes files in a directory into sub-folders based on file type.

**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)

Let's help each other grow. Happy

/r/Python
https://redd.it/1k9i87u
How are social logins implemented

So i know different libraries like all-auth and other but how exactly are they to be used. i typically build Django rest apis and i am very confused about the whole concept of implementing them through rest framework, what endpoint am i supposed to make the user go to and what type of request do they need to do to get a social media login.

is there any guide on this any resources for like beginners.
please help thank you

/r/djangolearning
https://redd.it/1k9pfza
NEED A JOB/FREELANCING | Django Developer | 4-5+ years| Remote

Hi,

I am a Python Django Backend Engineer with over 4+ years of experience, specializing in Python, Django, DRF(Rest Api) , Flask, Kafka, Celery3, Redis, RabbitMQ, Microservices, AWS, Devops, CI/CD, Docker, and Kubernetes.
My expertise has been honed through hands-on experience and can be explored in my project at https://github.com/anirbanchakraborty123/gkart_new.
I contributed to https://www.tocafootball.com/,https://www.snackshop.app/, https://www.mevvit.com, http://www.gomarkets.com/en/, https://jetcv.co, designed and developed these products from scratch and scaled it for thousands of daily active users as a Backend Engineer 2.

I am eager to bring my skills and passion for innovation to a new team. You should consider me for this position, as I think my skills and experience match with the profile. I am experienced working in a startup environment, with less guidance and high throughput. Also, I can join immediately.


Please acknowledge this mail.
Contact me on whatsapp/call +91-8473952066.

I hope to hear from you soon.
Email id = anirbanchakraborty714@gmail.com


/r/djangolearning
https://redd.it/1k8fojs
A month into Django, I made a website for my friend's side hustle. Please rate my work :)

Hi everyone. I started with Django inspired by the community and by the popularity of Django. My friend approached me to make a website for his mentorship side hustle where he plans to provide one on one mentorship to students. Please visit the site and let me know how is the UI and backed? You can also test the website by scheduling a call.

Website link: https://apnamentor.pythonanywhere.com/

As a beginner, your responses are deeply appreciated

/r/django
https://redd.it/1k9r9x0
How can I remove CKEditor buttons on my page?

I'm trying to configure the flask ckeditor by removing some buttons and also to style it a bit. Right now I have this snippet in my html file:

<div class="mb-3">
{{ form.body.label(class="form-label") }}
{{ form.body(class="form-control") }}
</div>

At the end I have:

{{ ckeditor.load() }}
{{ ckeditor.config(name='body') }}

I'd like to remove the 'About CKEditor' button, is there a way to do this without custom js scripts? Is there a way to customize the color of the editor, its border etc..

/r/flask
https://redd.it/1k9yl09
'Django Spellbook' - Markdown Content Management System (my first library)

I wanted to show off the Django Library I've been working on!

https://preview.redd.it/n9rzz0rbrlxe1.png?width=1036&format=png&auto=webp&s=9bad311c3ff9dde10761a59732223bdb646b4b96

Django Spellbook extends Django's templating and rendering capabilities with a focus on markdown-based content. It transforms markdown files into fully-rendered Django templates with auto-generated views and URLs, eliminating boilerplate code while maintaining Django's flexibility.

This website is powered by Django Spellbook: https://django-spellbook.org/

Here is the github: https://github.com/smattymatty/django\_spellbook (Stars are appreciated!)

I hope you like it I made it because I write a lot of markdown, and wanted a way to mix Django template language with simple markdown in a way where non-coders can contribute styled and user friendly interfaces for their content.

If you try the library, please report any bugs, issues, or feature requests! I plan on working on this for a while, I would like it to become a respected open-source library in the Django framework :)

/r/django
https://redd.it/1k9zwt3
Flask-based via telegram bot

I have built a secure and scalable Flask-based platform that integrates with a Telegram bot to streamline photo uploads into an online album.
Users can seamlessly create categories and assign photos directly through the bot interface.
All interactions are safeguarded with a robust authentication flow, requiring username, password, and TOTP (Time-based One-Time Password) verification to ensure high-level security and user integrity.

Any more features or ideas you can suggest for me?

/r/flask
https://redd.it/1k88wu1
D IJCAI 2025 Paper Result & Discussion

This is the discussion for accepted/rejected papers in IJCAI 2025. Results are supposed to be released within the next 24 hours.

/r/MachineLearning
https://redd.it/1k9twhg
Tuesday Daily Thread: Advanced questions

# Weekly Wednesday Thread: Advanced Questions 🐍

Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.

## How it Works:

1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.

## Guidelines:

* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.

## Recommended Resources:

* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.

## Example Questions:

1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the

/r/Python
https://redd.it/1kaagpl