Metadata-Version: 1.0
Name: uasparser2
Version: 0.1.1
Summary: Fast and reliable User Agent parser for Python.
Home-page: https://github.com/hamaxx/uasparser2
Author: Jure Ham
Author-email: jure.ham@zemanta.com
License: BSD
Description: 
        uasparser2
        ----------
        
        Fast and reliable User Agent parser.
        
        Easy to use
        ```````````
        
        ::
        
            from uasparser2 import UASparser
        
            uas_parser = UASparser('/path/to/your/cache/folder', mem_cache_size=1000)
        
            result = uas_parser.parse('YOUR_USERAGENT_STRING')
        
            # If input data is not avaible in cache folde, UASparser will download and prepare it on init.
            # Force data update by calling:
        
            uas_parser.updateData()
        
        
        Fast
        ````
        
        ::
        
            Parsing 100,000 real user agents (10,000 unique):
        
            original uasparser: 7264.2 sec
            uasparser2 without cache: 171.7 sec
            uasparser2 with cache(size 1000): 34.6 sec
        
        
        Links
        `````
        
        * `GitHub Home <https://github.com/hamaxx/uasparser2/>`_
        * `User Agent Database <http://user-agent-string.info/>`_
        
        
Platform: any
