Metadata-Version: 1.1
Name: simplere
Version: 1.0.8
Summary: Simpler, cleaner access to regular expressions. Globs too.
Home-page: https://bitbucket.org/jeunice/simplere
Author: Jonathan Eunice
Author-email: jonathan.eunice@gmail.com
License: UNKNOWN
Description: 
        
        | |travisci| |version| |downloads| |supported-versions| |supported-implementations|
        
        .. |travisci| image:: https://travis-ci.org/jonathaneunice/simplere.png?branch=master
            :alt: Travis CI build status
            :target: https://travis-ci.org/jonathaneunice/simplere
        
        .. |version| image:: http://img.shields.io/pypi/v/simplere.png?style=flat
            :alt: PyPI Package latest release
            :target: https://pypi.python.org/pypi/simplere
        
        .. |downloads| image:: http://img.shields.io/pypi/dm/simplere.png?style=flat
            :alt: PyPI Package monthly downloads
            :target: https://pypi.python.org/pypi/simplere
        
        .. |wheel| image:: https://pypip.in/wheel/simplere/badge.png?style=flat
            :alt: PyPI Wheel
            :target: https://pypi.python.org/pypi/simplere
        
        .. |supported-versions| image:: https://pypip.in/py_versions/simplere/badge.png?style=flat
            :alt: Supported versions
            :target: https://pypi.python.org/pypi/simplere
        
        .. |supported-implementations| image:: https://pypip.in/implementation/simplere/badge.png?style=flat
            :alt: Supported implementations
            :target: https://pypi.python.org/pypi/simplere
        
        A simplified interface to Python's regular expression (``re``)
        string search that tries to eliminate steps and provide
        simpler access to results. As a bonus, also provides compatible way to
        access Unix glob searches.
        
        Usage
        =====
        
        Python regular expressions are powerful, but the language's lack
        of an *en passant* (in passing) assignment requires a preparatory
        motion and then a test::
        
            import re
        
            match = re.search(pattern, some_string)
            if match:
                print match.group(1)
        
        With ``simplere``, you can do it in fewer steps::
        
            from simplere import *
        
            if match / re.search(pattern, some_string):
                print match[1]
        
        That's particularly valuable in complex search-and-manipulate
        code that requires multiple levels of searching along with
        pre-conditions, error checking, and post-match cleanup, formatting,
        and actions.
        
        As a bonus,
        ``simplere`` also provides simple glob access.::
        
            if 'globtastic' in Glob('glob*'):
                print "Yes! It is!"
            else:
                raise ValueError('OH YES IT IS!')
        
        See `Read the Docs <http://simplere.readthedocs.org/en/latest/>`_
        for the full installation and usage documentation.
        
Keywords: re regex regexp regular expression glob simple
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: BSD License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
