PythonHub Logo Python Hub Weekly Digest for 2024-12-08

This week in Python, the popular topics included Python's Metadata Dilemma, the SmolLM & SmolLM2 models, and a practical VSCode setup for Python development. Interesting articles covered building an AI Photo Generator with Python and FastAPI, and using Ollama to build powerful AI applications locally. Exciting projects included Bagels, a terminal-based expense tracker, and Promptic, a tool aiming to be the most productive way to build LLM applications. Also, discussions on Protocols vs Abstract Base Classes in Python were trending on Reddit. Wishing you a good week and happy coding!

đź’– Most Popular

Constraints are Good: Python's Metadata Dilemma
Some of the issues of why Python packaging is unnecessarily hard.

smollm
Everything about the SmolLM & SmolLM2 family of models.

opennb

The Best No-Nonsense VSCode Setup for Python Devs
Setting up VSCode for Python development doesn't have to be a headache! This video walks you through a complete and practical VSCode setup that tackles common pain points—like missing imports, mismatched Python versions, and pytest issues with finding tests.

ridgeplot
Beautiful ridgeline plots in Python.


đź“– Articles

Let's build a AI Photo Generator with Python and FastAPI
This course teaches how to fine-tune the Flux AI model using Replicate to create personalized image generation. It also covers building a FastAPI service to access and utilize this model efficiently.

Ollama Course – Build AI Apps Locally
Learn how to set up and use Ollama to build powerful AI applications locally. This hands-on course covers pulling and customizing models, REST APIs, Python integrations, and real-world projects like a Grocery List Organizer, RAG System, and an AI Recruiter Agency. Perfect for developers and AI enthusiasts ready to bring their ideas to life with local LLMs.

Solving Boolean satisfiability and integer programming with Python packaging

Htmy – Async, pure-Python rendering engine

Hiding a message in my PyTorch weights
This post explains how to embed an arbitrary message into a tensor that contains floating-point numbers, and how to detect the presence of such a message.

Abusing Talon to use my eye tracker in a project
The author describes how they used Talon, a voice control software, to access eye tracker data for a game project. They created a Python script within Talon to expose eye gaze data via a local web server, allowing integration with a Rust program

Python Hub Weekly Digest for 2024-12-01


⚙️ Projects

Bagels
Powerful expense tracker that lives in your terminal.

Marco-o1
An Open Large Reasoning Model for Real-World Solutions.

Promptic
Promptic aims to be the "requests" of LLM development -- the most productive and pythonic way to build LLM applications.

Pushing the boundaries of Streamlit
How I learned to stop worrying and love Streamlit's execution model.

fast-graphrag
Streamlined and promptable Fast GraphRAG framework designed for interpretable, high-precision, agent-driven retrieval workflows.

moka-py
A high performance caching library for Python written in Rust.

bionemo-framework
A framework for building and adapting AI models in drug discovery at scale.

aisuite
Simple, unified interface to multiple Generative AI providers.


đź‘ľ Reddits

Protocols vs Abstract Base Classes in Python

Big Tech Best Practices


← Previous

Project by Ruslan Keba. Since 2012. Powered by Python. Made in đź‡şđź‡¦Ukraine.