PythonHub
2.33K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Scaling AI-Based Data Processing with Hugging Face + Dask

The article demonstrates how to scale AI-based data processing using Hugging Face and Dask, progressing from processing 100 rows locally with pandas to handling 211 million rows across multiple GPUs in the cloud. It showcases the use of Dask for distributed computing, enabling efficient data loading, preprocessing of large datasets, and parallel model inference, with a practical example ...

https://huggingface.co/blog/dask-scaling
uv IS the Future of Python Packaging

The video discusses the recent release of UV 0.3.0, a Python packaging tool that aims to streamline the development workflow by integrating features that allow it to serve as a comprehensive solution for managing Python projects. The presenter highlights its speed, ease of use, and potential to replace existing tools, while also addressing current limitations and areas for improvement in...

https://www.youtube.com/watch?v=8UuW8o4bHbw
Python and SysV shared memory

The article explains how to use Python's ctypes to wrap SystemV shared memory functions (like shmat, shmget) for interprocess communication on systems restricted to Python 3.7. The author demonstrates creating, reading, writing, and destroying shared memory segments through Python, noting that while this approach isn't needed in Python 3.8+ due to built-in abstractions, it's useful in re...

https://euroquis.nl/blabla/2024/10/08/shm.html
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/