News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
The Polars vs pandas difference nobody is talking about
A closer look at non-elementary group-by aggregations.
https://labs.quansight.org/blog/dataframe-group-by
Python Hub Weekly Digest for 2024-11-17
https://pythonhub.dev/digest/2024-11-17/
Django bugfix release issued: 5.1.3
https://www.djangoproject.com/weblog/2024/nov/05/bugfix-release/
mac_computer_use
A fork of Anthropic Computer Use that you can run on Mac computers to give Claude and other AI models autonomous access to your computer.
https://github.com/deedy/mac_computer_use
venvstacks
Virtual environment stacks for Python.
https://github.com/lmstudio-ai/venvstacks
Mesa 3.0: A major update to Python's Agent-Based Modeling library 🎉
https://www.reddit.com/r/Python/comments/1gn5q8z/mesa_30_a_major_update_to_pythons_agentbased/
Integuru
The first AI agent that builds third-party integrations through reverse engineering platforms' internal APIs.
https://github.com/Integuru-AI/Integuru
Jeopardy game using LLM and Python
https://github.com/kmarker1101/jeopardy
terminal-tree
An experimental filesystem navigator for the terminal, built with Textual.
https://github.com/willmcgugan/terminal-tree
Why Durable Execution Should Be Lightweight
How to make your programs crashproof without changing the way they're built.
https://www.dbos.dev/blog/what-is-lightweight-durable-execution
browser-use
Open-Source Web Automation library with any LLM.
https://github.com/gregpr07/browser-use
Tiny GraphRAG (Part 1)
A tiny 1000 line implementation of GraphRAG in Python.
https://www.stephendiehl.com/posts/graphrag1/
code-embedder
Keep your code snippets in README up-to-date!
https://github.com/kvankova/code-embedder
TinyTroupe, a new LLM-powered multiagent persona simulation Python library
https://github.com/microsoft/TinyTroupe
Python Hub Weekly Digest for 2024-11-10
https://pythonhub.dev/digest/2024-11-10/
Pex: A tool for generating .pex (Python EXecutable) files, lock files and venvs
https://github.com/pex-tool/pex
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
crewAIInc / crewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
https://github.com/crewAIInc/crewAI
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
Python Logic Simulation Library
https://github.com/cjdrake/seqlogic
digit360
Digit 360 is a modular platform that unlocks new capabilities, and enables future research on the nature of touch.
https://github.com/facebookresearch/digit360
PiML: Python Interpretable Machine Learning Toolbox
https://github.com/SelfExplainML/PiML-Toolbox
All-Hands-AI / OpenHands
🙌 OpenHands: Code Less, Make More
https://github.com/All-Hands-AI/OpenHands
State of Python 3.13 Performance: Free-Threading
https://codspeed.io/blog/state-of-python-3-13-performance-free-threading
hertz-dev
First base model for full-duplex conversational audio.
https://github.com/Standard-Intelligence/hertz-dev
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/
tinylangs
Real programming languages in 50 lines of code.
https://github.com/zserge/tinylangs/
ToolGit
ToolGit is a collection of scripts that extend Git with various sub-commands to make life easier.
https://github.com/ahmetsait/toolgit
A Comprehensive Guide to Python Project Management and Packaging: Concepts Illustrated with uv – Part I
The goal of this guide is to provide a comprehensive guide to Python project management and packaging. We’ll explore concepts in the standard, like the different tables in pyproject.toml by revisiting the PEPs that led to what we have today. We’ll explain what was used before, why it needed to change, and how the changes provided by the PEPs solved the issues. This walkthrough of the his...
https://reinforcedknowledge.com/a-comprehensive-guide-to-python-project-management-and-packaging-concepts-illustrated-with-uv-part-i/