Python Daily – Telegram
Python Daily
2.56K subscribers
1.49K photos
53 videos
2 files
39K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
WhatsApp Wrapped with Polars & Plotly: Analyze chat history locally

I've always wanted something like Spotify Wrapped but for WhatsApp. There are some tools out there that do this, but every one I found either runs your chat history on their servers or is closed source. I wasn't comfortable with all that, so this year I built my own.

## What My Project Does

WhatsApp Wrapped generates visual reports for your group chats. You export your chat from WhatsApp (without media), run it through the tool, and get an HTML report with analytics. Everything runs locally or in your own Colab session. Nothing gets sent anywhere.

Here is a Sample Report.

Features include message counts, activity patterns, emoji stats, word clouds, and calendar heatmaps. The easiest way to use it is through Google Colab - just upload your chat export and download the report. There's also a CLI for local use.

## Target Audience

Anyone who wants to analyze their WhatsApp chats without uploading them to someone else's server. It's ready to use now.

## Comparison

Unlike other web tools that require uploading your data, this runs entirely on your machine (or your own Colab). It's also open source, so you can see exactly what it does with your chats.

Tech: Python, Polars, Plotly, Jinja2.

Links:
- GitHub
- Sample Report
- Google

/r/Python
[https://redd.it/1po9n17
Looking for Django developer for long term collaboration

Hello, I am looking for developer for my work.

It's easy, long term part time work.

Only US, America, Europe based developers are available.

DM for details.

/r/django
https://redd.it/1podw9b
I made FastAPI Clean CLI – Production-ready scaffolding with Clean Architecture

Hey r/Python,

What My Project Does
FastAPI Clean CLI is a pip-installable command-line tool that instantly scaffolds a complete, production-ready FastAPI project with strict Clean Architecture (4 layers: Domain, Application, Infrastructure, Presentation). It includes one-command full CRUD generation, optional production features like JWT auth, Redis caching, Celery tasks, Docker Compose orchestration, tests, and CI/CD.

Target Audience
Backend developers building scalable, maintainable FastAPI apps – especially for enterprise or long-term projects where boilerplate and clean structure matter (not just quick prototypes).

Comparison
Unlike simpler tools like cookiecutter-fastapi or manage-fastapi, this one enforces full Clean Architecture with dependency injection, repository pattern, and auto-generates vertical slices (CRUD + tests). It also bundles more production batteries (Celery, Prometheus, MinIO) in one command, while keeping everything optional.

Quick start:
pip install fastapi-clean-cli
fastapi-clean init --name=my_api --db=postgresql --auth=jwt --docker

It's on PyPI with over 600 downloads in the first few weeks!

GitHub: https://github.com/Amirrdoustdar/fastclean
PyPI: https://pypi.org/project/fastapi-clean-cli/
Stats: https://pepy.tech/project/fastapi-clean-cli

This is my first major open-source tool. Feedback welcome – what should I add next (MongoDB support coming soon)?

Thanks! 🚀

/r/Python
https://redd.it/1poh525
Spark can spill to disk why do OOM errors still happen

I was thinking about Spark’s spill to disk feat. My understanding is that spark.local.dir acts as a scratchpad for operations that don’t fit in memory. In theory, anything that doesn’t fit should spill to disk, which would mean OOM errors shouldn’t happen.

Here are a few scenarios that confuse me

A shuffle between executors. The receiving executor might get more data than RAM can hold but shouldn’t it just start writing to disk
A coalesce with one partition triggers a shuffle. The executor gathers a large chunk of data. Spill-to-disk should prevent OOM here too
A driver running collect on a massive dataset. The driver keeps all data in memory so OOM makes sense, but what about executors
I can’t think of cases where OOM should happen if spilling works as expected. Yet it does happen.

want to understand what actually causes these OOM errors and how people handle them

/r/Python
https://redd.it/1poqgba
Looking for collaborator who has some web develop skills and strong communication

I am looking for a American or European individual with strong English skills and general knowledge of programming languages.

They should be able to fluently explain general concepts of program development in English and possess excellent communication skills.

The pay is $50 or more per hour, and specific details will be discussed after we meet.
If you don't mind, let me know your idea.
Thanks for your attention.

/r/django
https://redd.it/1povgtc
Python Podcasts & Conference Talks (week 51, 2025)

Hi r/python! Welcome to another post in this series brought to you by Tech Talks Weekly. Below, you'll find all the Python conference talks and podcasts published in the last 7 days:

# 🎧 Podcasts

1. **"#530: anywidget: Jupyter Widgets made easy"**Talk Python To Me ⸱ 13 Dec 2025 ⸱ 01h 11m 21s

# 📺 Conference talks

# PyData Boston 2025

1. **"Ian Stokes-Rees - "Save your API Keys for someone else" - PyData Boston 2025"** ⸱ +300 views ⸱ 15 Dec 2025 ⸱ 01h 34m 34s
2. **"Allen Downey-The SAT math gap- gender difference or selection bias--PyData Boston 2025"** ⸱ +200 views ⸱ 15 Dec 2025 ⸱ 00h 30m 14s
3. **"Eric Ma - Building LLM Agents Made Simple a - PyData Boston 2025"** ⸱ +100 views ⸱ 15 Dec 2025 ⸱ 01h 27m 50s
4. **"Katrina Riehl - CUDA Python Kernel Authoring - PyData Boston 2025"** ⸱ +100 views ⸱ 15 Dec 2025 ⸱ 02h 51m 04s
5. **"Chuxin Liu & Yiwen Liu - Build Your MCP server - PyData Boston 2025"** ⸱ +100 views ⸱ 15 Dec 2025 ⸱ 01h 15m 54s
6. **"Gilberto Hernandez - Notebook to Pipeline: Hands-On Data Engineering w Python - PyData Boston 2025"** ⸱ +100 views ⸱ 15 Dec 2025

/r/Python
https://redd.it/1pp3i0g
Any sites that I can used to make API requests for the positions of planets in the solar system

I am creating a program that calculates orbital mechanics. And one option I want is the ability to use as a starting point the current positions of the Solar System. So if would like to find a site that can I use to easily make API request for the positions (whether relative to the sun or earth), velocities, mass and radii of the planets in the solar system

/r/Python
https://redd.it/1pp0bzi
django-allauth move from GitHub to Codeberg a Year Ago Looking Smarter Every Day

tl;dr: django-allauth’s move from GitHub to Codeberg a year ago got a lot of doubt at first, but it is looking wiser by the day now with GitHub’s new fees for private repo runners coming in 2026. This shows Microsoft’s push to monetize more, which hurts trust in their freemium setup, and makes devs less likely to suggest it for work. What alternatives do you use for home and work?

A year ago, django-allauth moved from Microsoft GitHub to Codeberg, drawing skepticism over visibility, contributions, and security. But with GitHub’s new $0.002/minute charge for self-hosted runners in private repos starting March 2026 (sparking complaints about Microsoft’s profit focus), it is more evidence the move was smart. They dodged a platform that is increasingly monetizing features.

Many companies keep open source free to hook users into paid private or commercial tiers. Tailscale (I’m a big fan) does this well with affordable home plans that encourage enterprise adoption as they explain in this blog post, which is a positive approach. But when companies like Micro$oft make these changes and erode trust, they negate the model they originally adopted. People start to recognize the slow boil and eventually jump out of the pot, hurting the

/r/django
https://redd.it/1pp7jyc
I built a Japan food discovery site with Django (ListView + model-driven images)

/r/django
https://redd.it/1ppd4w7
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!

# Weekly Thread: Professional Use, Jobs, and Education 🏢

Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.

---

## How it Works:

1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.

---

## Guidelines:

- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.

---

## Example Topics:

1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?

---

Let's help each other grow in our careers and education. Happy discussing! 🌟

/r/Python
https://redd.it/1ppcapw
Released datasetiq: Python client for millions of economic datasets – pandas-ready

Hey r/Python!

I'm excited to share datasetiq v0.1.2 – a lightweight Python library that makes fetching and analyzing global macro data super simple.

It pulls from trusted sources like FRED, IMF, World Bank, OECD, BLS, and more, delivering data as clean pandas DataFrames with built-in caching, async support, and easy configuration.

\### What My Project Does

datasetiq is a lightweight Python library that lets you fetch and work millions of global economic time series from trusted sources like FRED, IMF, World Bank, OECD, BLS, US Census, and more. It returns clean pandas DataFrames instantly, with built-in caching, async support, and simple configuration—perfect for macro analysis, econometrics, or quick prototyping in Jupyter.

Python is central here: the library is built on pandas for seamless data handling, async for efficient batch requests, and integrates with plotting tools like matplotlib/seaborn.

\### Target Audience

Primarily aimed at economists, data analysts, researchers, macro hedge funds, central banks, and anyone doing data-driven macro work. It's production-ready (with caching and error handling) but also great for hobbyists or students exploring economic datasets. Free tier available for personal use.

\### Comparison

Unlike general API wrappers (e.g., fredapi or pandas-datareader), datasetiq unifies multiple sources (FRED + IMF + World Bank + 9+ others) under one simple interface, adds

/r/Python
https://redd.it/1ppgd7n
Rust and OCaml-style exhaustive error and None handling for Python

I had this Idea for over 3 years already. One time my manager called me at 3 AM on Friday and he was furious, the app I was working on crashed in production because of an unhandled error, while he was demoing it to a huge prospect. The app was using a document parsing lib that had infinite amount of edge cases (documents are messy, you can't even imagine how messy they can be). Now I finally implemented this idea. It's called Pyrethrin.

* **What My Project Does** \- It's a library that lets you create functions that explicitly define what exceptions it can raise or that it can return a None, and the other function using this one has to exhaustively implement all the cases, if any handle is missing or not handled at all, Pyrethrin will throw an error at "compile" time (on the first run in case of Python).
* **Target Audience** \- the tool is primarily designed for production use, especially in large Python teams. Other target audience is Python library developers, they can "shield" their library for their users to gain their trust (it will fail on their end way less than without Pyrethrin)
* **Comparison** \- I

/r/Python
https://redd.it/1povyby
What are some free uwsgi alternatives that have a similar set of features?

I would like to move away from uwsgi because it is no longer maintained. What are some free alternatives that have a similar set of features. More precisely I need the touch-relod and cron features because my app relies on them a lot.

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