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
P I made a OSS alternative to Weights and Biases

Hey guys!

https://github.com/mlop-ai/mlop

I made a completely open sourced alternative to Weights and Biases with (insert cringe) blazingly fast performance (yes we use rust and clickhouse)

Weights and Biases is super unperformant, their logger blocks user code... logging should not be blocking, yet they got away with it. We do the right thing by being non blocking.

Would love any thoughts / feedbacks / roasts etc

/r/MachineLearning
https://redd.it/1kvdjet
P I scraped and applied to 7,932 Data Science jobs directly from corporate websites.


I realized many jobs on company career pages never appear on classic job boards, so I wrote a script that scrapes listings from 70k+ corporate.
Then I built a matching script that filters only the jobs most aligned with my CV.
Finally, I automated the application process with a script that applies to those jobs for me.
You can try it here: laboro.co


/r/MachineLearning
https://redd.it/1kvp4aw
I need a job/freelancing opportunity as a django developer| 5+ years exp | Remote | Affordable rates | Exp in Fintech, Ecomm, training, CRM, ERP, etc...

Hi,

I am a Python Django Backend Engineer with over 5+ 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/1kux57r
How is the current job market for Django developers? Any recommendations on where to look for opportunities?

Greetins everyone,
I'm a Python developer focusing on Django and I'm currently exploring job opportunities. I was wondering how the job market looks these days for Django devs.
Any suggestions on job boards, platforms, or even companies that are actively hiring would be really appreciated.

Thanks in advance!

/r/django
https://redd.it/1kvola7
I'm a quadriplegic and I use Django — check out my flagship website!

Hey everyone — I only have a couple developer friends, so I’m looking for some honest feedback and ideas!

I’m a self-taught C5 quadriplegic developer working entirely without hand function. A few years ago, I invented my own systems to use the computer — I operate everything with two styluses, hotkeys, and voice commands. AND ChatGPT (makes everything I do possible and streamlined)

Over the past several months, I’ve built a bunch of Django projects — but this one is my flagship:

🔗 **MatthewRaynor.com**
💻 Portfolio • 🛍️ Store • ✍️ Blog • 🤖 AI Chatbot

I built this site to:

Showcase my projects (including my first client build — an art moving logistics system)
Sell my photography book and aluminum prints
Share my story and recovery journey (I'm currently living in a nursing home)
Host a motivational AI chatbot (open-sourced and pluggable via widget)
Run a personal fundraiser to help me transition back to independent living

Everything is full-stack Django, styled with Bootstrap + custom SCSS. The chatbot uses OpenAI and a JSON knowledge base. I’ve also used Stripe, Google SSO, Docker, Heroku, GitHub Actions, and built 25+ custom templates.

👨‍💻 Looking for:

Honest technical or UX feedback
Suggestions for improving employability
Ideas for getting

/r/django
https://redd.it/1kver0d
I need a job/freelancing opportunity as a django developer| 5+ years exp | Remote | Affordable rates | Exp in Fintech, Ecomm, training, CRM, ERP, etc...

Hi,

I am a Python Django Backend Engineer with over 5+ 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/1kux3au
Single process, multiple interpreters, no GIL contention - pre-Python3.12

Hey y'all. Over the past week I figured out how to run subinterpreters without a locking GIL in py3.8. Longish post here about how - https://basisrobotics.tech/2025/05/26/python/ but TL;DR:

1. Use `dlmopen` to manually open `libpython3.8.so` for each interpreter you like

2. Find a way to inject the pthread_ APIs into that handle

3. Fix a bunch of locale related stuff so that numpy and other things import properly

4. Don't actually do this, why would you want to do this, it's probably going to break some mystery way anyhow

/r/Python
https://redd.it/1kvy7nf
Codel: Search code from all over the internet

This is an attempt of making a useful website people can use and publishing it, enjoy!

codel-search.vercel.app

Here's the github link too!

\-> https://github.com/usero1a/codel-python-public

/r/flask
https://redd.it/1kw0ngz
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/1kw9et4
MicroPie (ultra thin ASGI framework) version 0.9.9.8 Released

Few days ago I released the latest 'stable' version of my MicroPie ASGI framework. MicroPie is a fast, lightweight, modern Python web framework that supports asynchronous web applications. Designed with flexibility and simplicity in mind.

Version 0.9.9.8 introduces minor bug fixes as well as new optional dependency. MicroPie will now use orjson (if installed) for JSON responses and requests. MicroPie will still handle JSON data the same if orjson is not installed. It falls back to json from Python's standard library.

We also have a really short Youtube video that shows you the basic ins and outs of the framework: https://www.youtube.com/watch?v=BzkscTLy1So

For more information check out the Github page: https://patx.github.io/micropie/

/r/Python
https://redd.it/1kwd9ml
CometChat API integration for Django

So for a little bit of background, I am currently an intern and I was tasked with choosing a backend framework for a new project. My co-interns are more comfortable with Python (due to school projects) so they want to go with Django. However, my supervisor is more on Laravel/PHP. I was considering to go with Laravel/PHP for the guidance advantages. My co-interns and I did learn Laravel/PHP but some of them are really struggling since we are only given a week to take everything in.

We had a discussion and my supervisor wants to know if CometChat API would be compatible with Django. I have been researching and the only resources I could find were with Laravel/PHP. My supervisor needs a final answer regarding the chosen backend framework (Django or Laravel) tomorrow, so I really need advice from experts who have more experience.

/r/django
https://redd.it/1kwccpq
Skylos- Another dead code sniffer (but hear me out)

Hey everyone! 👋

We've been working on Skylos, a Python static analysis tool that helps you find and remove dead code from your projs (again.....). We are trying to build something that actually catches these issues faster and more accurately (although this is debatable because different tools catch things differently). The project was initially written in Rust, and it flopped, there were too many false positives and the speed was just 2 seconds faster than vulture, a close competitor. Now we have completely rewritten the entire codebase in Python. We have also included how we do our benchmarking, so any feedback is welcome. It can be found in the root directory titled BENCHMARK.md

# What Skylos Does:

Detects unreachable functions and methods
Finds unused imports (even aliased ones)
Identifies unused classes
Spots unused variables
Detects unused parameters (just added this!)
Smarter heuristics to avoid false positives

# Target Audience:

Python developers working on medium to large codebases
Teams looking to reduce technical debt
Open source maintainers who want to keep their projects clean
Anyone tired of manually searching for dead code

# Key Features:

bash
# Basic usage
skylos /path/to/your/project



/r/Python
https://redd.it/1kwakjj
Set Up User Authentication in Minutes — With or Without Managing a User Database


Github: lihil
Official Docs: lihil.cc

## What My Project Does

As someone who has worked on multiple web projects, I’ve found user authentication to be a recurring pain point. Whether I was integrating a third-party auth provider like Supabase, or worse — rolling my own auth system — I often found myself rewriting the same boilerplate:

- Configuring JWTs

- Decoding tokens from headers
- Serializing them back
- Hashing passwords
- Validating login credentials

And that’s not even touching error handling, route wiring, or OpenAPI documentation.

So I built lihil-auth, a plugin that makes user authentication a breeze. It supports both third-party platforms like Supabase and self-hosted solutions using JWT — with minimal effort.

### Supabase Auth in One Line

If you're using Supabase, setting up authentication is as simple as:

from lihil import Lihil
from lihil.plugins.auth.supabase import signin_route_factory, signup_route_factory

app = Lihil()
app.include_routes(
signin_route_factory(route_path="/login"),
signup_route_factory(route_path="/signup"),
)

Here signin_route_factory and signup_route_factory generate the /login and /signup routes for you, respectively. They handle everything from user registration to login, including password hashing and JWT generation(thanks to supabase).

You can customize credential type by configuring sign_up_with parameter, where you might want to use phone instead of email(default option) for signing up users:

These routes immediately become available in your OpenAPI docs (/docs), allowing you to

/r/Python
https://redd.it/1kwftsz
Django lovers, did you try Litestar?

Hi there!

I've worked with Django for many years and loved it. Then I tried FastAPI to make a fair comparison and despite some positive points (like strict typing), I was a bit disapointed by the overall experiance because I constantly needed to reinvent the wheel for no real reason.

Then I found litestar and thought it's a perfect sweet spot between FastAPI and Django. Very modern, but with batteries included.

I wrote a blog post about it, if you want to find out why I think it's better than FastAPI: https://www.david-dahan.com/blog/litestar-is-the-fastapi-killer

/r/django
https://redd.it/1kv5h89
Project I just built my first project and I was wondering if I could get some feedback. :)

What My Project Does: Hello! I just created my first project on Python, its called Sales Report Generator and it kinda... generates sales reports. :)

You input a csv or excel file, choose an output folder and it can provide files for excel, csv or pdf. I implemented 7 different types of reports and added a theme just to see how that would go.

Target Audience: Testers? Business clerks/managers/owners of some kind if this was intended for publishing.

Comparison: I'm just trying new things.

As I mentioned, its my very first project so I'm not expecting for it to be impressive and would like some feedback on it, I'm learning on my own so I relied on AI for revising or whenever I got stuck. I also have no experience writing readme files so I'm not sure if it has all the information necessary.

The original version I built was a portable .exe file that didn't require installation, so that's what the readme file is based on.

The repository is here, I would like to think it has all the files required, thanks in advance to anyone who decides to give it a test.

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