Technical Documentation
client
server
archive
catalog
color
constants
errors
find
geoip
ics
ipaddress
its
plugins
security_keys
serializers
sms
smtp_server
spf
ssh_forward
startup
templates
testing
ua_parser
parse_user_agent()
UserAgent
utilities
version
xor
This module provides functionality for parsing browser user agents to extract information from them.
Parse a user agent string and return normalized information regarding the operating system.
user_agent (str) – The user agent to parse.
A parsed user agent, None is returned if the data can not be processed.
A parsed representation of the information available from a browsers user agent string. Only the os_name attribute is guaranteed to not be None.
os_name
The OSFamily constant of the name of the operating system.
OSFamily
The version of the operating system.
The OSArch constant of the architecture of the operating system.
OSArch