PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Creating drum machines, effects, sequencers, samplers, and synths with Python

I created a subreddit where I post scripts showing how to make drum machines, sequencers, samplers, and synths with Python.

https://www.reddit.com/r/supriya_python/s/wFMjENJQ02
Ditching Django Admin for FastHTML with HTMX

Building a Django Admin-like dashboard with automatic refresh using FastHTML and HTMX.

https://simn.fr/posts/dicthing-django-admin-for-fasthtml
🔥1
Building AI Agents for JupyterLab using Notebook Intelligence

This post introduces Notebook Intelligence (NBI), an AI coding assistant framework for JupyterLab, and demonstrates how to build AI Agents using NBI's tool-calling capabilities with examples of tools for geo-coordinate lookup, map generation, notebook creation, and sharing. It provides a guide for developers to integrate custom AI-powered functionalities into JupyterLab's Copilot Chat.

https://blog.jupyter.org/building-ai-agents-for-jupyterlab-using-notebook-intelligence-0515d4c41a61
How to add an object in Django Admin with a bookmarklet

The article explains how to create a Django Admin bookmarklet that pre-fills form fields when adding new items, like bookmarks, using a web page's URL, title, and selected text. It walks through setting up the JavaScript snippet, customizing it for your Django app, and adding it as a browser bookmark for quick data entry.

https://www.gyford.com/phil/writing/2025/02/14/django-admin-bookmarklet
Minions

Minions is a communication protocol that enables small on-device models to collaborate with frontier models in the cloud. By only reading long contexts locally, we can reduce cloud costs with minimal or no quality degradation.

https://github.com/HazyResearch/minions
Craw4LLM

CRAW4LLM is an efficient web crawling method that prioritizes webpages based on their potential influence on LLM pretraining, replacing traditional graph-connectivity-based priorities. By crawling only 21% of URLs, it achieves the same downstream performance as previous methods, significantly reducing data waste and website burden.

https://github.com/cxcscmu/Craw4LLM
AI Engineering Goes Visual: Web Scraping & Data Prep with PyFlyde

In part one of two part tutorial, we explore how to use Flyde, a visual programming tool, to build a web scraper that feeds into a Retrieval Augmentation Generation (RAG) system. We will cover the process of scraping web content and storing it locally, setting the stage for more advanced AI engineering tasks.

https://blog.kodigy.com/post/visual-ai-engineering-with-pyflyde-pt1-scraper/
NotaGen

NotaGen is a symbolic music generation model leveraging Large Language Models (LLMs) through pre-training on 1.6M musical pieces, fine-tuning on classical compositions, and reinforcement learning using a novel CLaMP-DPO method.

https://github.com/ElectricAlexis/NotaGen