PythonHub
2.33K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Basilisp: Clojure on the Python VM

Everyone knows Clojure runs on the JVM and CLR, in Node, and in the browser, but what about Python? Basilisp is a mostly-compatible implementation of Clojure for Python, enabling users who may not be familiar with Java or JavaScript to experience the joy of Clojure.

https://www.youtube.com/watch?v=ruGRHYpq448
Thoughts on Django’s Core

Django's longevity is attributed to its stable core, time-based releases, and API stability policy. While there's enthusiasm for expanding Django's features, the author argues that the core should remain focused and prioritize stability. Instead, the community should embrace third-party packages as a way to innovate and extend Django's capabilities without compromising its core.

https://buttondown.com/carlton/archive/thoughts-on-djangos-core
Flash Attention derived and coded from first principles with Triton (Python)

This video provides an in-depth, step-by-step explanation of Flash Attention, covering its derivation, implementation, and underlying concepts. The presenter explains CUDA, Triton, and autograd from scratch, then derives and codes both the forward and backward passes of Flash Attention.

https://www.youtube.com/watch?v=zy8ChVd_oTM
chonkie

The no-nonsense RAG chunking library that's lightweight, lightning-fast, and ready to CHONK your texts.

https://github.com/bhavnicksm/chonkie
NanoDjango - single-file Django apps | uv integration

NanoDjango is a cool package that lets you build small scripts using all the power of Django, and also supports django-ninja for APIs. We'll dive into NanoDjango in this video, and will use uv and inline script metadata for dependency management.

https://www.youtube.com/watch?v=0-iuJgfQMOw
The Practical Guide to Scaling Django

Most Django scaling guides focus on theoretical maximums. But real scaling isn’t about handling hypothetical millions of users - it’s about systematically eliminating bottlenecks as you grow. Here’s how to do it right, based on patterns that work in production.

https://slimsaas.com/blog/django-scaling-performance
Python dependency management is a dumpster fire

This article is all about fire safety techniques and tools. It's about how you should think about dependency management, which tools you should consider for different scenarios, and what trade offs you'll have to make. Finally, it exposes the complexity and lingering problems in the ecosystem.

https://nielscautaerts.xyz/python-dependency-management-is-a-dumpster-fire.html