PythonHub
2.36K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
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
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/
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
Try This if You Don’t Like Python’s Exception Handling

Struggling with Python's unpredictable errors and None checks? This video shares a unique approach to making your code cleaner and more reliable using the returns package—no complicated try-except nests required.

https://www.youtube.com/watch?v=qkxf583t4Vc
Single-file Django Apps with nanodjango

Discover Nanodjango: a project simplifying Django development with single-file apps, APIs, and seamless transition to full projects. Perfect for quick experiments and sharing prototypes.

https://lincolnloop.com/insights/single-file-apps-with-nanodjango/
Ask HN: Who's building on Python NoGIL?

https://news.ycombinator.com/item?id=42468594