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
Looking for a couple of senior Django devs

We’re building a mental health practice management app that will offer unparalleled automation and more features than anything currently available in the US. There are some technically challenging components, so we’re looking for two Senior Django Developers:

* One Senior++ Dev with architecture experience (top range of the budget: \~$7K)
* One Senior Dev without architecture duties ($5K-$6K range)
* (We're also open to mid-senior devs for which the range would be around $4K-$5K)

We need strong Python backend developers with experience in Django or FastAPI (we're using Django, and need quick ramp-up, so I believe these two would be the most relevant experience), SQL, Celery, security, and API performance optimization. Bonus if you know AWS, OpenAPI, CI/CD or have startup/healthcare experience.

The details:

* Contract: Independent contractor (Self-employed/LLC)
* Salary: $4K-$7K/month (gross), depending on seniority
* Hours: Mon-Fri, 12:00 - 21:00 EET (incl. 1h lunch) - these are the hours that our current devs work, but we're flexible as long as there's an overlap
* Culture: no BS, no useless meetings, we want to get stuff done

I want to make sure no one falls through the cracks, and with Reddit messages, there’s a chance I might miss some. To make sure your application is seen, upload it to[

/r/django
https://redd.it/1j505g3
I built DjipFast - a shipfast alternative but for django

Marc Lou's Shipfast is great. I wanted something like this - but for Django.

I know that Django already has "Batteries included", but when it comes down to it, there are a lot of pitfalls and configuration errors that took me days to fix in the past.

If you are using DaisyUI + Tailwind i think you might especially appreciate the *no Node.js* dev workflow of compiling the CSS.


Let me know what you think :)

https://djipfast.com

/r/django
https://redd.it/1j5insz
Docker and Kubernetes

Hi all,

I’ve worked mostly on backend in terms of creating models, APIs having OpenAPI specification docs etc and also have used docker containers and tied multi containers using docker compose.

Now I’ve been introduced to Kubernetes and this one pod one container is so confusing to me.

Why do we need pods? Make it manageable? Why not someone include these management/ scaling methods etc in docker itself? It feels like adding additional wrapper to docker and repeating writing config files etc.

If I have a VM then I can only have one Kubernetes to manage all the docker files?

E.g. In one VM I can setup multiple website/ backends right? How does Kubernetes help me there?

/r/django
https://redd.it/1j5c3hy
Rio Hits 100K Downloads & 2K GitHub Stars – Open Source Python Web Apps

Hey everyone,

Over the past 10 months, my friends and I created Rio, an open-source framework to help Python developers build modern web apps without needing HTML, CSS, or JavaScript. Today, we’re excited to share that Rio surpassed 100,000 downloads and over 2,300 GitHub stars since launch! 🎉

A huge thank you to this amazing community for the support, feedback, and contributions that have helped us improve Rio!

What is Rio?

Rio lets you build full-stack web apps entirely in Python. With Rio, the UI is defined using Python components, inspired by React and Flutter. Instead of writing HTML/CSS, you compose reusable UI elements in Python and let Rio handle rendering and state updates. The backend and frontend stay seamlessly connected using WebSockets, so data syncs automatically without manual API calls. Since Rio is fully Python-native, you can integrate it with any Python library, from data science tools to AI models.

We’ve seen people build everything from CRM tools to dashboards, LLM interfaces, and interactive reports using Rio, but we’re always looking for ways to improve. If you’re a Python developer interested in web apps, we’d love to hear:

* What do you like about Rio?
* What’s missing?
* What features would you love to see?

[https://github.com/rio-labs/rio](https://github.com/rio-labs/rio)

/r/Python
https://redd.it/1j5ofdj
Are There Any Tools for Detecting Unhandled Exceptions or Hidden Asynchronous Calls in Python?

Title: Any Tools to Detect Unhandled Exceptions or Hidden asyncio.run() Calls in Python?

Hey Python devs,

I often struggle with unhandled exceptions and hidden async issues in Python. Existing tools (mypy, pylint, pyright) help, but they don’t fully solve these problems.


1. Unhandled Exceptions

When calling third-party functions, it’s unclear what exceptions they raise:

import somelibrary

def process():
result = some
library.dosomething() # What exceptions can this raise?
return result

• No easy way to detect **undocumented exceptions**.

• Hard to ensure **exceptions are properly handled across the call stack**.



**2. Hidden
asyncio.run() Calls**

A function might internally use 
asyncio.run(), breaking if called from another event loop:

async def process():
result = something() # Is there already an
asyncio.run() inside?

def outside
process():
asyncio.run(process()) # Will this break?

• Detecting nested asyncio.run() calls is tricky.

• Some libraries use async without making it obvious.



Questions for the Community:

• Are there tools that statically analyze these issues?

• Would it be worth starting an open-source project for exception tracking and async validation?

Would love to hear your thoughts! 🚀

/r/Python
https://redd.it/1j5pged
Django 5.2 Shell auto import tip

/r/django
https://redd.it/1j5nwzh
I made a comics site and did what everyone says is impossible!

You know what people say about flask? That it's great for medium and small projects, pff

I didn't listen. I went with my head and used the framework I like and make big :)) LONG LIVE FLASK LMAO

I created a fully functional comics site inspired but not too much by mangadex.

Database, users, comments, etc.

eh I'm going to try to put images of the code in reply because I'm super dumb and I don't know how to put images on reddit post

I really want to help people, if you have questions for flask projects, I think I'm finally at a level where I'm not ready to help!



If u wanna see the site : https://javu.xyz/ ( YES IT'S XYZ BUT AINT SCAM I'M JUST BROKE SORRY )
and it's might be down sometime cause i still dev, .. yes i use port 80 in dev progress, but i need to show my friend and get feedback and too dum to use Ngnix SORRY 🥲

/r/flask
https://redd.it/1j5mxei
Seeking Experienced Django Developer to Help Finalize Our Learning Management System (LMS)




Hello Redditors,

We're a team building a cutting-edge Learning Management System (LMS) using Django, and we're looking for an experienced Django developer to help us finalize the project.

Project Overview:

Our LMS aims to solve problems for private career colleges in Alberta and the way they manage their courses, students, and instructors. We've made significant progress, but we need an expert's touch to ensure the project meets the highest standards.

Responsibilities:

- Review and optimize our existing Django codebase
- Implement new features and functionality as needed
- Ensure scalability, security, and performance
- Collaborate with our team to resolve any issues or bugs

Requirements:

- 3+ years of experience with Django development
- Strong understanding of Django's ORM, templates, and views
- Experience with google classroom and google workspace API
- Excellent problem-solving skills and attention to detail
- Strong communication and collaboration skills

What We Offer:

- Competitive rates (negotiable)
- Opportunity to work on a high-impact project
- Flexible working hours and remote work options
- Collaborative and supportive team environment

If you're a seasoned Django developer looking for a new challenge, we'd love to hear from you! Please share your experience, portfolio, and availability in the comments below.



/r/django
https://redd.it/1j5wc0n
D What are the best practices for using PySpark with ML libraries

I use Pyspark for the data processing part of my project because my dataset is pretty large and using Pandas dataframe would be very slow.

But once my data is ready I want to use some of the methods from sklearn such as Stratified splitting which is not available on pyspark.ml. I considered converting the Pyspark data frame into the Panda's data frame and from there using sklearn and other ml libraries but this part is very computationally expensive and leads to memory errors

/r/MachineLearning
https://redd.it/1j5y3d2
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/1j645mw
Polars Cloud; the distributed Cloud Architecture to run Polars anywhere

The team of Polars is releasing Polars Cloud. A way to remotely run Polars queries. You can apply for early access.

https://pola.rs/posts/polars-cloud-what-we-are-building/

/r/Python
https://redd.it/1j61i82
can i get some help beta testing my flask chatroom before i upload to python anywhere

i made a chatroom on replit before uploading for me and some friends i need help finding bugs and testing the profanity filter.

https://2715b3d1-7a59-402a-8c03-a163c99efbdd-00-22r3agubyqyof.kirk.replit.dev/chat


if you would like you can join the final version after testing



/r/flask
https://redd.it/1j688ry
Help understanding the difference between TestCase, APIRequestFactory, and APIClient from Django REST

As the name implies, I need help learning the differences between the TestCase, APIRequestFactory, and APIClient classes. I started learning about Django testing today because I want to use it for my portfolio project, but I'm having a hard time understanding the difference and choosing one of them. For context, I'm creating a Django REST API that will interact with a PostgreSQL database and right now I want to test my views and models.

/r/django
https://redd.it/1j69vt4
What's your setup on AWS today?

Hi folks.. I'm building an app platform - LocalOps - for devs to deploy any piece of dockerized code on AWS. My setup spins up a VPC and EKS cluster to automate all steps.

Curious - How are you deploying your Django app today? Are you using AWS? If so, what does your AWS setup look like? Why?

/r/django
https://redd.it/1j6gdhw
Why are you using Tailwind?

does anyone use Tailwind css in their Flask projects? If so, how and why? I use it personally, but I wonder how others do it? Why this particular CSS?

/r/flask
https://redd.it/1j6ehrg
Python is big in Europe

TIL the Python docs analytics are public, including visitors’ countries. I thought it was interesting to showcase according to this there’s more Python going on in Europe than in the US! Blog post: https://thib.me/python-is-big-in-europe, top countries:

1. 🇩🇪 Germany, 245k
2. 🇬🇧 United Kingdom, 227k
3. 🇫🇷 France, 177k
4. 🇪🇸 Spain, 93k
5. 🇵🇱 Poland, 80.2k
6. 🇮🇹 Italy, 78.6k
7. 🇳🇱 Netherlands, 74.4k
8. 🇺🇦 Ukraine, 66.5k

TL;DR; maps can be misleading when they look at country-level data without adjusting for the size of the place. Per capita there are loads of areas of the world that have more Python users than the country-level data suggests. For Europe – get you DjangoCon and EuroPython 2025 tickets already!

/r/Python
https://redd.it/1j6d2wo
Has anyone created a really good set of cursor rules for Django?

I think there should be a middle ground between vibe coding and whatever we’re calling manual coding these days.

Telling cursor the structure and the rules of my django projects should rapidly accelerate development. I don’t just want to vibe code something, get it working but have no idea what’s going on in there.

Has anyone started a group of cursor rules specifically for django?

/r/django
https://redd.it/1j6j1ql
I built a python library for realistic web scraping and captcha bypass

After countless hours spent automating tasks only to get blocked by Cloudflare, rage-quitting over reCAPTCHA v3 (why is there no button to click?), and nearly throwing my laptop out the window, I built PyDoll.

GitHub: https://github.com/thalissonvs/pydoll/

It’s not magic, but it solves what matters:
- Native bypass for reCAPTCHA v3 & Cloudflare Turnstile (HCaptcha coming soon).
- 100% async – because nobody has time to wait for requests.
- Currently running in a critical project at work (translation: if it breaks, I get fired).

Built on top of Chromium's CDP, with a focus on realistic interactions—from clicks to navigation behavior. If you’d like to support or contribute, drop a star! ⭐️

/r/Python
https://redd.it/1j689ag
I have a angular with django backend. I am trying to implement redis with celery and rabbit mq for parallel processing so that when I am sending multiple request to backend, it could be in a quene and then work accordingly.

How do I do it?

/r/djangolearning
https://redd.it/1j6jcfc
How Does a Django Project Work in Real-World Startups? Seeking Insights from Experienced Developers

Hey everyone,

We’ve just started a new startup, and after some research, we’ve decided to go with Django for our backend. Right now, I’m the one leading the Django team, but my experience is mostly in freelancing. Managing a team and handling the entire tech process—from planning to deployment—is something new for me, and I’d love to hear from experienced Django developers about how things work in real-world projects.

Here are the main things I’d love to understand:

1. Planning & Architecture – How do you structure a Django project for long-term scalability?
2. Git & GitHub Workflow – Best practices for managing a team using GitHub (branches, PRs, CI/CD).
3. Scaling Considerations – Differences in approach for a small project vs. a high-scale system.
4. Is Django a Good Choice for a Low-Scale Project? – Would you recommend Django for early-stage startups, or is it overkill?
5. Deployment – What are the best deployment strategies for Django in 2024? Docker, Kubernetes, traditional servers?
6. Technology Stack – What are the essential tools (DB, caching, task queues, etc.) used in professional Django setups?
7. Security & Best Practices – How do you keep a Django project secure in production?
8. Team Management – How do you manage a team of

/r/django
https://redd.it/1j6pc54