PythonHub Logo Python Hub Weekly Digest for 2024-11-17

This week in Python news, Basilisp, a Clojure implementation for Python, and ToolGit, a script collection to extend Git, caught attention. PiML, a Python Interpretable Machine Learning Toolbox, was introduced, and a discussion on avoiding named tuples in new APIs for clearer, more structured code was highlighted. A step-by-step guide on Python package deployment with GitHub Actions was shared. In projects, tinylangs, terminal-tree, and browser-use were notable, while Mesa 3.0 marked a major update to Python's Agent-Based Modeling library. Have a great week and happy coding!

๐Ÿ’– Most Popular

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.

ToolGit
ToolGit is a collection of scripts that extend Git with various sub-commands to make life easier.

PiML: Python Interpretable Machine Learning Toolbox

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.

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.


๐Ÿ“– Articles

Django bugfix release issued: 5.1.3

Jeopardy game using LLM and Python

Tiny GraphRAG (Part 1)
A tiny 1000 line implementation of GraphRAG in Python.

State of Python 3.13 Performance: Free-Threading

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...

Why Durable Execution Should Be Lightweight
How to make your programs crashproof without changing the way they're built.

crewAIInc / crewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.

Python Logic Simulation Library

Python Hub Weekly Digest for 2024-11-10

All-Hands-AI / OpenHands
๐Ÿ™Œ OpenHands: Code Less, Make More

TinyTroupe, a new LLM-powered multiagent persona simulation Python library


โš™๏ธ Projects

tinylangs
Real programming languages in 50 lines of code.

terminal-tree
An experimental filesystem navigator for the terminal, built with Textual.

browser-use
Open-Source Web Automation library with any LLM.

code-embedder
Keep your code snippets in README up-to-date!

hertz-dev
First base model for full-duplex conversational audio.

Integuru
The first AI agent that builds third-party integrations through reverse engineering platforms' internal APIs.

digit360
Digit 360 is a modular platform that unlocks new capabilities, and enables future research on the nature of touch.

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.

venvstacks
Virtual environment stacks for Python.


๐Ÿ‘พ Reddits

Mesa 3.0: A major update to Python's Agent-Based Modeling library ๐ŸŽ‰


← Previous

Project by Ruslan Keba. Since 2012. Powered by Python. Made in ๐Ÿ‡บ๐Ÿ‡ฆUkraine.