en
Feedback
PythonHub

PythonHub

Open in Telegram

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

Show more
2 631
Subscribers
-424 hours
No data7 days
+5230 days
Posts Archive
The hand-picked selection of the best Python libraries and tools of 2024 – 10th edition! https://www.reddit.com/r/Python/comments/1hbs4t8/the_handpicked_selection_of_the_best_python/

Helping Securing the Python with Mike Fiedler The episode discusses the security challenges faced by PyPI, including account takeovers and typo-squatting, highlighting the importance of measures like 2FA and collaboration with security researchers. It also explores the debate between maintaining legacy systems and greenfield development, emphasizing the complexities of managing critical infrastructure and the often underestimated ro... https://share.transistor.fm/s/db1d4d9f

Django: launch pdb when a given SQL query runs This article discusses a technique for debugging Django applications by using database instrumentation to identify and break on specific SQL queries. This allows you to trace the execution flow back to the code that triggered the query, even when it's not immediately obvious. https://adamj.eu/tech/2024/12/05/django-sql-breakpoint/

Imposter Attack – Among Us-themed infrared game made with ESP32 and MicroPython https://blog.langworth.com/imposter-attack

Text Chunking for RAG Systems with Chonkie Speaks about the need for efficient text chunking and how to do that practically https://medium.com/generative-ai/text-chunking-for-rag-systems-with-chonkie-d609d0eef55c

Jules Jules by Google is an experimental AI-powered code agent that can handle Python and JavaScript bug fixes and other coding tasks. It integrates with GitHub, creates detailed plans, and generates code, saving developers time and boosting productivity. https://labs.google.com/jules/home

flow_matching A PyTorch library for implementing flow matching algorithms, featuring continuous and discrete flow matching implementations. It includes practical examples for both text and image modalities. https://github.com/facebookresearch/flow_matching

Helium: Lighter Web Automation with Python https://github.com/mherrmann/helium

Building a Tiny CDN With pyinfra and Chimera Linux The author set up a DIY content delivery network for his link blog using multiple servers worldwide, reducing average response time from 807ms to 189ms. He utilized pyinfra for automation, Chimera Linux as the host OS, and implemented GeoDNS for traffic routing, demonstrating significant performance improvements without relying on major CDN providers. https://www.wezm.net/v2/posts/2024/tiny-cdn/

Parlant A structured approach to building and guiding customer-facing AI agents. https://github.com/emcie-co/parlant

A Deep Dive into Celery Task Resilience, Beyond Basic Retries How to make your Celery tasks more resilient with best practices to prevent workflow interruptions and handle various failure scenarios. https://blog.gitguardian.com/celery-tasks-retries-errors/

Minima Chat with RAG on local files. https://github.com/dmayboroda/minima

Django and Postgres for the Busy Rails Developer The article compares Django and Ruby on Rails frameworks from a Rails developer's perspective, focusing on database interactions with PostgreSQL. It highlights similarities and differences in language runtime management, library management, migrations, models, and command-line tools, providing insights for developers familiar with Rails who are exploring Django. https://andyatkinson.com/django-python-postgres-busy-rails-developer

Writing down (and searching through) every UUID The post describes a creative project to generate and catalog every possible Version 4 UUID, creating a comprehensive searchable database of unique identifiers. The author developed a method to systematically generate all 2^122 possible UUIDs, enabling full-text search and exploration of these globally unique identifiers. https://eieio.games/blog/writing-down-every-uuid/

Vanir Vanir is a source code-based static analysis tool that automatically identifies the list of missing security patches in the target system. By default, Vanir pulls up-to-date CVEs from Open Source Vulnerabilities (OSV) together with their corresponding signatures so that users can transparently scan missing patches for an up-to-date list of CVEs. https://github.com/google/vanir

Lazy self-installing Python scripts with uv The article introduces UV, a Python tool that streamlines script execution by managing dependencies automatically. It enables self-installing scripts with metadata for dependencies, eliminating the need for manual virtual environment setups or packaging. UV also offers tools to replace pipx and pyenv for Python installations and CLI tools. https://treyhunner.com/2024/12/lazy-self-installing-python-scripts-with-uv/