user-agents (pypi): A library to identify devices (phones, tablets) and their capabilities by parsing browser user agent strings.
Keywords: browser-detection|python|user-agent-detection