Metadata-Version: 1.0
Name: kwattr
Version: 2.0
Summary: decorator: make keywords arguments of bool values from function attributes
Home-page: UNKNOWN
Author: Ivan Bykov
Author-email: ivan.bykov@gmail.com
License: Python license
Description: 
        script::
        
            from kwattr import kwattr
        
            @kwattr.wait.chdir.min.max.hide
            def run(*args, **kwargs):
                return args, kwargs
        
            @kwattr.all.dirs
            def scan(arg, idir=False, ifile=True, all=False, dirs=False):
                return arg, idir, ifile, all, dirs
        
            print run.wait('sample.exe')
            print run('sample.exe')
            print run.wait.chdir('sample.exe')
        
        out::
        
            (('sample.exe',), {'max': False, 'chdir': False, 'hide': False, 'min': False, 'wait': True})
            (('sample.exe',), {'max': False, 'chdir': False, 'hide': False, 'wait': False, 'min': False})
            (('sample.exe',), {'max': False, 'chdir': True, 'hide': False, 'min': False, 'wait': True})
        
        
Platform: python 2.7
Classifier: License :: OSI Approved :: Python Software Foundation License
Classifier: Natural Language :: Russian
