If you use Django -Framework, you get such a user agent
request.META['HTTP_USER_AGENT']
A very nice httpagentparser plugin extracts every detail and puts it into a dictionary.
Installation works through pip
pip install httpagentparser
Hope this helps ... I searched Google for about 30 minutes until I found something useful :)
Ron
source share