UASparser is a Python class for user agent string analysis. It provides information on a client's software type (browser, webcrawler, anonymizer, etc.) and which OS is used by the client. It is fast and standalone. Its data file and cache are automatically updated from a remote server with version checking.