PythonHub
2.44K subscribers
2.35K photos
49.3K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
How to Build Python Code with Bazel (and Why)

The post details how Bazel can optimize building Python projects by managing dependencies accurately, avoiding unnecessary rebuilds, and supporting multi-language setups like adding Rust extensions. Bazel’s declarative build configurations enable efficient and consistent builds, improving CI turnaround times and scalability as projects growattached file.

https://ohadravid.github.io/posts/2025-09-hello-bazel/
Intro to Fine-Tuning Large Language Models

This course explores key techniques for adapting pre-trained LLMs to specialized tasks, including supervised fine-tuning, RLHF, and efficient QLoRA-based methods. It covers both theory and hands-on implementation, guiding viewers through practical steps to fine-tune and deploy massive language models using Python, PyTorch, and Hugging Face tools

https://www.youtube.com/watch?v=H-oCV5brtU4
Testing the compiler optimizations your code relies on

Sometimes you can trick the compiler into generating more efficient code. How can you test this optimization continues to be applied?

https://pythonspeed.com/articles/testing-compiler-optimizations/
10 Standard Library Modules That Make Python Insanely Powerful

The video highlights 10 powerful, sometimes overlooked Python standard library modules such as dataclasses for reducing boilerplate, pathlib for modern file path handling, functools for caching and functional utilities, and tomllib for parsing TOML configs. It showcases practical code examples illustrating how these modules can simplify development, improve performance, and reduce depend...

https://www.youtube.com/watch?v=eZ9RqnkJxsk
Production-Grade Python Logging Made Easier with Loguru

This guide will walk you through building a robust logging system with Loguru. We'll directly address the patterns and pain points of the standard logging module and show how Loguru simplifies them.

https://www.dash0.com/guides/python-logging-with-loguru
Starplot

Starplot is a Python library for creating star charts and maps of the sky.

https://starplot.dev/
Python REPL Shortcuts & Features

Python 3.13 introduced a completely redesigned REPL with a much more modern feel. It's easy to overlook many of the features in the new Python REPL. Let's explore the various hidden features the new Python REPL supports, with a focus on tips that are useful for everyday usage.

https://www.pythonmorsels.com/repl-features/