Metadata-Version: 1.1
Name: cssmediaquery
Version: 0.0.1
Summary: CSS Media Query parser and matcher
Home-page: http://github.com/kirang89/css-mediaquery
Author: Kiran Gangadharan
Author-email: me@kirang.in
License: MIT
Description: 
        ## css-mediaquery
        
        Parses and determines if a given CSS Media Query matches a set of values.
        
        This is a port of https://github.com/ericf/css-mediaquery.
        
        ### Usage
        
        ```python
        
        from cssmediaquery import match, parse
        
        isamatch = match('screen and (min-width: 40em)', {
        	'type'  : 'screen',
        	'width' : '1024px'
        })
        # returns True
        
        ast = parse('screen and (min-width: 40em)')
        print ast
        # [
        #    {
        #        'inverse': 'false',
        #        'type'   : 'screen',
        #        'expressions': [{
        #                'modifier': 'min',
        #                'feature': 'width',
        #                'value': '40em'
        #         }]
        #    }
        # ]
        ```
        
        ### Installing
        
            $ pip install cssmediaquery
        
        ### Running Tests
        
            python tests.py -v
        
Keywords: python,css,media query
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
