Metadata-Version: 1.1
Name: whatever-forever
Version: 0.0.13
Summary: prototype whatever in the Jupyter notebook
Home-page: http://github.com/tonyfast/whatever-forever
Author: Tony Fast
Author-email: tony.fast@gmail.com
License: BSD-3-Clause
Description: 
        .. code:: python
        
            from whatever import *
        
        ``whatever-forever``
        ====================
        
        -  Syntactic sugar to build complex functions in Python; it's just a
           class.
        -  Multiple dispatching ``dict``\ s.
        -  Stupid easy cell magics.
        
        Chaining
        ========
        
        ``Chain`` and ``_X``
        
        .. code:: python
        
            Chain(5).range.list
        
        
        
        
        .. parsed-literal::
        
            [0, 1, 2, 3, 4]
        
        
        
        .. code:: python
        
            _X(5) | range | list
        
        
        
        
        .. parsed-literal::
        
            [0, 1, 2, 3, 4]
        
        
        
        A random list
        '''''''''''''
        
        .. code:: python
        
            from random import random
            random_list = _X(5).range | map(lambda x: random()) > list
            str(random_list)
        
        
        
        
        .. parsed-literal::
        
            '[0.9935285316596995, 0.014724817177512728, 0.8948846635050951, 0.8599661767263426, 0.2981499631390274]'
        
        
        
        .. code:: python
        
            from random import random
            _X(random_list) * (lambda s: '%3.2f' % s) | list
        
        
        
        
        .. parsed-literal::
        
            ['0.99', '0.01', '0.89', '0.86', '0.30']
        
        
        
        .. code:: python
        
            from random import random
            ((_X(random_list) + (lambda x: x >.5) )
             * (lambda s: '%3.2f' % s) 
             | list
            )
        
        
        
        
        .. parsed-literal::
        
            ['0.99', '0.89', '0.86']
        
        
        
        ``magical``
        -----------
        
        Easy to construct cell magics
        
        Cell Magics
        ~~~~~~~~~~~
        
        Create a ``jinja`` to Markdown magic.
        
        .. code:: python
        
            from jinja2 import Template
            @magical('jinja2', lang='jinja2', display='Markdown')
            def render_jinja_with_globals(cell):
                return Template(cell).render(**globals())
        
        Development
        -----------
        
        Running test and the docs server.
        
        ::
        
            watchmedo tricks tricks.yaml
            jekyll serve docs -wit
        
        License
        -------
        
        ``whatever-forever`` is released as free software under the `BSD
        3-Clause
        license <https://github.com/tonyfast/whatever-forever/blob/master/LICENSE>`__.
        
Keywords: IPython Magic Jupyter
Platform: UNKNOWN
Classifier: Topic :: Utilities
Classifier: Framework :: IPython
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Topic :: Software Development :: Testing
