Metadata-Version: 1.1
Name: fastpy
Version: 0.1.0
Summary: LLVM JIT compiler as a function decorator
Home-page: https://github.com/tartavull/fastpy
Author: Ignacio Tartavull
Author-email: tartavull@gmail.com
License: MIT license
Description: ===============================
        fastpy
        ===============================
        
        
        .. image:: https://img.shields.io/pypi/v/fastpy.svg
                :target: https://pypi.python.org/pypi/fastpy
        
        .. image:: https://img.shields.io/travis/tartavull/fastpy.svg
                :target: https://travis-ci.org/tartavull/fastpy
        
        .. image:: https://readthedocs.org/projects/fastpy/badge/?version=latest
                :target: https://fastpy.readthedocs.io/en/latest/?badge=latest
                :alt: Documentation Status
        
        .. image:: https://pyup.io/repos/github/tartavull/fastpy/shield.svg
             :target: https://pyup.io/repos/github/tartavull/fastpy/
             :alt: Updates
        
        Python made fast.
        Decorate your functions with @fast, we will infered the types
        you used, compile to machine code, and execute.
        
        
        * Free software: MIT license
        * Documentation: https://fastpy.readthedocs.io.
        
        
        Biased test showing how fast fastpy is:
        ---------------------------------------
        
        Initial code:
        
        .. code-block:: python
        
            def long_loop(a):
              for i in range(100000):
                for j in range(10000):
                  a += 1
            return a
            print long_loop(0)
        
        
        
        .. code-block:: bash
        
            $ time python loop.py 
            1000000000
            python test.py  39.24s user 0.01s system 99% cpu 39.420 total
        
        
        
        .. code-block:: bash
        
            $ time pypy loop.py   
            1000000000
            pypy test.py  0.92s user 0.01s system 99% cpu 0.937 total
        
        Now we modify the code to use fastpy
        
        .. code-block:: python
        
            from fastpy import fast
        
            @fast
            def long_loop(a):
              for i in range(100000):
                for j in range(10000):
                  a += 1
              return a
            print long_loop(0)
        
        
        .. code-block:: bash
        
            $  time python loop.py 
            1000000000
            python test.py  0.11s user 0.00s system 99% cpu 0.117 total
        
        
        Credits
        ---------
        Based on this tutorial http://dev.stephendiehl.com/numpile/
        
        
        =======
        History
        =======
        
        0.1.0 (2016-07-09)
        ------------------
        
        * First release on PyPI.
        
Keywords: fastpy
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
