PythonHub
2.65K subscribers
2.35K photos
50.6K links
Human-curated Python news, projects, articles & tools.

https://pythonhub.dev/
Download Telegram
python-date-parser

A Rust-backed Python library for fast fuzzy parsing of heterogeneous date strings, with bulk-list and Polars APIs that avoid Python-level iteration and can outperform pure-Python alternatives by orders of magnitude.

https://github.com/SEIU-Tech/python-date-parser
Building a small Django app with help from AI

This tutorial demonstrates how to build a basic Django idea-voting application using AI as an interactive assistant rather than an autonomous developer. It emphasizes using targeted prompts to generate boilerplate, explain error messages, write tests, and catch edge cases like database race conditions while keeping architectural decisions in the developer’s hands.

https://codewithstein.com/building-a-small-django-app-with-help-from-ai/
Speculative Decoding: The Art of Guessing Well

Speculative decoding lets smaller models guess several tokens ahead while the larger model verifies them in parallel, reducing LLM inference latency without changing the final sampling distribution. From the acceptance math to Gumbel coupling, EAGLE-3, and multi-token prediction, the piece shows how increasingly sophisticated drafters make those guesses accurate enough to deliver real sp...

https://astralord.github.io/posts/speculative-decoding-the-art-of-guessing-well/
loopinfo: let your for loop know if it is on the first or last item

Python loops do not know where they are. loopinfo adds loop.first, loop.last, loop.index, loop.count, previous, next and more.

https://pypi.org/project/loopinfo/
Quicksand

Quicksand is an async Python API for launching, controlling, snapshotting, and rolling back QEMU virtual machines to provide isolated sandboxes for AI agents without requiring Docker or root privileges.

https://github.com/microsoft/quicksand
🙏1
Python vs Go: A Practical Comparison for Developers

Python offers a huge ecosystem, especially for AI, data, and scripting, while Go trades some flexibility for faster execution, simpler deployment, and built-in concurrency. This post compares where each language fits best today, including performance, typing, tooling, developer adoption, and why many teams end up using both rather than choosing one outright.

https://blog.jetbrains.com/go/2026/10/13/python-vs-go/
How I Found a $90,000 Remote Code Execution Vulnerability in Google

A leaked Flask session signing secret let an attacker forge session cookies containing malicious pickled data, turning OAuth state handling into unauthenticated remote code execution on several Google developer sites. The writeup shows how combiningpicklewith client-controlled session data can turn a secret leak into code execution, and why untrusted data should never cross a pickle dese...

https://simonkoeck.com/writeups/google-devsite-flask-session-pickle-rce