PythonHub
2.33K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Python client for the $20 Colmi R02 smart ring

https://tahnok.github.io/colmi_r02_client/colmi_r02_client.html
TypedDicts are better than you think

This post explains how Python’s TypedDict can enhance code clarity and maintainability by enabling more precise type annotations in dictionaries. It discusses how TypedDict ensures type safety and helps with early error detection in dynamic programming environments.

https://blog.changs.co.uk/typeddicts-are-better-than-you-think.html
Python 3.13.0

The newest major release of Python introduces several new features including an improved interactive interpreter, an experimental free-threaded build mode, and a preliminary JIT, along with various optimizations and changes to the standard library.

https://www.python.org/downloads/release/python-3130/
The New Python 3.13 Is FINALLY Here!

Python 3.13 is here with exciting updates! Dive into the key new features, including the game-changing option to disable the Global Interpreter Lock (GIL).

https://www.youtube.com/watch?v=eUDGlxu_-ic
Pyloid

Pyloid is the Python backend version of Electron and Tauri, providing an open-source project that allows you to easily utilize various Python integration features. With Pyloid, developing desktop applications becomes simple, enabling you to effortlessly build apps by integrating Python's powerful capabilities.

https://github.com/pyloid/pyloid
The Uncertain Art of Accelerating ML Models

This podcast episode features Sylvain Gugger, a machine learning engineer at Jane Street, discussing techniques for accelerating ML models. The conversation covers topics like learning rate schedules, performance optimization in PyTorch, GPU utilization, and the unique challenges of applying ML in trading environments.

https://signalsandthreads.com/the-uncertain-art-of-accelerating-ml-models/
Writing a Home Assistant Core Integration: Part 1

The article details the development of pytouchlinesl, a Python library for interacting with Roth Touchline SL underfloor heating systems. It covers the design process, API implementation, testing strategies, CI/CD setup, and publishing to PyPI, highlighting the use of modern Python tools like uv, pydantic, and ruff.

https://jnsgr.uk/2024/09/pytouchlinesl/
A hand-holding guide to writing FUSE-based filesystems in Python

This video tutorial provides a step-by-step guide to writing FUSE-based filesystems in Python. It starts with a simple example and gradually adds more features, making it suitable for beginners.

https://www.youtube.com/watch?v=VuKK0bEkSdo
Adding syntax to the CPython interpreter

https://leontrolski.github.io/grammar.html