PythonHub
2.33K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Building an image search engine on Postgres

This post demonstrates how to build a basic image search engine using Postgres, CLIP (a pre-trained AI model), and the pgvector extension. It explains the process of generating embeddings for images and text, storing them in Postgres, and performing similarity searches using both image and text queries1

https://tembo.io/blog/image-search
Building internal AI tools with Streamlit

The article explains how to build internal AI tools using Streamlit and PropelAuth for authentication. It walks through setting up secure user authentication and integrating with AI models, making it easier to build AI-driven web apps for internal company use.

https://www.propelauth.com/post/internal-ai-tools-with-streamlit
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