⚡ Lightweight Python 3 library for fast, accurate User-Agent string parsing — browser, OS & device detection in one call.
Python library to detect Browser, Engine, OS, CPU, and Device type/model from User-Agent data
Provides a helper to detect the best Pytorch device (env override, CUDA, MPS, XPU, or CPU) and to clear CUDA caches.