en
Feedback
PythonHub

PythonHub

Open in Telegram

News & links about Python programming. https://pythonhub.dev/

Show more
2 523
Subscribers
-324 hours
+17 days
+3030 days
Posts Archive
Checking Out CPython 3.14's remote debugging protocol https://rtpg.co/2025/06/28/checking-out-sys-remote-exec/

How to Get Foreign Keys Horribly Wrong Common Pitfalls and Potential Optimizations in Django. https://hakibenita.com/django-foreign-keys

Python Gotcha: Logging an uncaught exception Uncaught exceptions will crash an application. If you don't know how to log these, it can be difficult to troubleshoot such a crash. Let's walk through this gotcha and see how to fix it. https://andrewwegner.com/python-gotcha-logging-uncaught-exception.html

Voxtral Voxtral is an open-source AI audio model developed by Mistral, designed for automatic speech recognition and understanding. It offers features like transcription, summarization, and multilingual support at a lower cost compared to proprietary models. https://mistral.ai/news/voxtral

langchain-ai / open_deep_research https://github.com/langchain-ai/open_deep_research

fstrings.wtf How good is your knowledge of Python f-strings? https://fstrings.wtf/

Python Hub Weekly Digest for 2025-07-20 https://pythonhub.dev/digest/2025-07-20/

xai-sdk-python The official Python SDK for the xAI API. https://github.com/xai-org/xai-sdk-python

uv: Making Python Local Workflows FAST and BORING in 2025 The video demonstrates how to create fast, reliable local Python workflows for production projects using the uv packaging tool, highlighting practical techniques to streamline dependency management, automate tasks, and reduce friction in day-to-day development. It also covers integrating tools like Just, Overmind, and Direnv to further enhance workflow ergonomics and team collaboration. https://www.youtube.com/watch?v=TiBIjouDGuI

Hosting your Django sites with Coolify The article explains how deploying Django projects with Coolify streamlines the process by containerizing the app with Docker, automating builds, and managing environment variables through Coolify’s UI. This approach enables easier, near zero-downtime deployments compared to manual server setups, though users should note some nuances with environment variable availability during build steps. https://www.loopwerk.io/articles/2025/coolify-django

How I Use Abstraction to Avoid Spaghetti Code The video explains why Python projects often devolve into "spaghetti code" and shows how using abstractions such as Callable, Abstract Base Classes (ABC), and Protocol can make codebases more modular, testable, and maintainable. Through a step-by-step refactoring of an image processing example, it highlights how applying the right abstractions early reduces coupling and import complexity... https://www.youtube.com/watch?v=SNqwNILX1Gg

How to Avoid N+1 Queries in Django Python We'll see what N+1 queries are, why they can be an issue for your application, and how to mitigate them using Django’s best practices. https://blog.appsignal.com/2025/07/09/how-to-avoid-nplus1-queries-in-django-python.html

PhotoshopAPI A modern and performant C++20 read/write parser of Photoshop Files (.psd and .psb) with fully fledged Python bindings hosted on PyPi. https://github.com/EmilDohne/PhotoshopAPI

Why This Python Performance Trick Doesn’t Matter Anymore A deep dive into Python’s name resolution, bytecode, and how CPython 3.11 quietly made a popular optimization irrelevant. https://blog.codingconfessions.com/p/old-python-performance-trick

Unmute Make text LLMs listen and speak. https://github.com/kyutai-labs/unmute

Optimizing Tool Selection for LLM Workflows: Differentiable Programming with PyTorch and DSPy How local, learnable routers can reduce token overhead, lower costs, and bring structure back to agentic workflows. https://viksit.substack.com/p/optimizing-tool-selection-for-llm?ref=feedle.world

Types are Transforming Python The article describes how type annotations and new typing features have transformed Python, making code more robust, maintainable, and easier to understand by enabling static analysis, better tooling, and safer refactoring. Modern additions like data classes, generics, protocols, and TypedDict have improved both developer experience and runtime capabilities, allowing Python to compete mo... https://spin.atomicobject.com/types-are-transforming-python/

trae-agent Trae Agent is an LLM-based agent for general purpose software engineering tasks. https://github.com/bytedance/trae-agent

Reflections on 2 years of CPython's JIT Compiler: The good, the bad, the ugly https://fidget-spinner.github.io/posts/jit-reflections.html