PythonHub
2.33K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Tiny GraphRAG (Part 1)

A tiny 1000 line implementation of GraphRAG in Python.

https://www.stephendiehl.com/posts/graphrag1/
Don't return named tuples in new APIs

Named tuples should generally be avoided in new APIs, as they add unnecessary complexity by supporting both index-based and attribute-based data access, leading to potential misuse and added maintenance. Instead, using options like data classes or typed dictionaries can offer clearer, more structured code with similar benefits.

https://snarky.ca/dont-use-named-tuples-in-new-apis/
Step-by-Step Python Package Deployment with GitHub Actions

Publishing a Python package doesn't have to be overwhelming! This video walks you through the entire deployment process step-by-step. You'll learn how to automate releases with GitHub Actions and how to successfully publish your package on PyPi.

https://www.youtube.com/watch?v=NMQwzI9hprg
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