Metadata-Version: 1.0
Name: argfarce
Version: 1.1
Summary: UNKNOWN
Home-page: http://kkinder.com/argfarce
Author: Ken Kinder
Author-email: kkinder@gmail.com
License: UNKNOWN
Description: Argfarce
        --------
        
        Argfarce makes it easy to declare argparse structures.  Consider this example:
        
        >>> class PersonalInfoParser(ArgumentParser):
        ...     class Meta:
        ...         prog = 'person.py'
        ...     
        ...     name = Argument('-n', help="Cheese to use on your sandwich", required=False)
        ...     profession = Argument('-p', '--profession', choices=('developer', 'programmer', 'software engineer'), help="These are all pretty much the same", required=False)
        ...     comments = Argument(nargs='*')
        ... 
        >>> parser = PersonalInfoParser()
        >>> parser.parse_args('-p programmer -n Ken foo bar spam'.split())
        >>> print parser.name
        Ken
        >>> print parser.profession
        programmer
        >>> print parser.comments
        ['foo', 'bar', 'spam']
        
        This software is not yet compatible with Python 3.
        
Keywords: argument parsing,argparse,optparse
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
