uk
Feedback
PythonHub

PythonHub

Відкрити в Telegram

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

Показати більше
2 629
Підписники
-124 години
+217 днів
+5430 днів
Архів дописів
KubeDiagrams Generate Kubernetes architecture diagrams from Kubernetes manifest files, kustomization files, Helm charts, helmfiles, and actual cluster state https://github.com/philippemerle/KubeDiagrams

aiosqlitepool A resilient, high-performance asynchronous connection pool layer for SQLite, designed for efficient and scalable database operations. https://github.com/slaily/aiosqlitepool

html-to-markdown A modern, fully typed Python library for converting HTML to Markdown. https://github.com/Goldziher/html-to-markdown

The Step-by-Step Guide to Python Packaging Tools 2025 A future-ready guide comparing Python packaging tools like uv, Poetry, Hatch, and PDM—perfect for modern developers and teams. https://www.datumlabs.io/resources/the-step-by-step-guide-to-python-packaging-tools-2025?utm_source=pythonhub&utm_medium=blog&utm_campaign=blog-published

Operating Inside the Interpreted: Offensive Python The post discusses how Python on Windows (often preinstalled via the Microsoft Store) can be used as a surprisingly effective tool for offensive security and malware operations, thanks to its rich standard library, isolated package management, and low-profile presence in corporate environments. It outlines methods such as malware delivery, offline package installation, and leveraging cty... https://trustedsec.com/blog/operating-inside-the-interpreted-offensive-python

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