Python 3 library to parse User-Agent strings and detect browser, OS and device details
pip install user-agent-parser