{ "info": { "author": "Ignacio Tartavull", "author_email": "tartavull@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\nfastpy\n===============================\n\n\n.. image:: https://img.shields.io/pypi/v/fastpy.svg\n :target: https://pypi.python.org/pypi/fastpy\n\n.. image:: https://img.shields.io/travis/tartavull/fastpy.svg\n :target: https://travis-ci.org/tartavull/fastpy\n\n.. image:: https://readthedocs.org/projects/fastpy/badge/?version=latest\n :target: https://fastpy.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://pyup.io/repos/github/tartavull/fastpy/shield.svg\n :target: https://pyup.io/repos/github/tartavull/fastpy/\n :alt: Updates\n\nPython made fast.\nDecorate your functions with @fast, we will infered the types\nyou used, compile to machine code, and execute.\n\n\n* Free software: MIT license\n* Documentation: https://fastpy.readthedocs.io.\n\n\nBiased test showing how fast fastpy is:\n---------------------------------------\n\nInitial code:\n\n.. code-block:: python\n\n def long_loop(a):\n for i in range(100000):\n for j in range(10000):\n a += 1\n return a\n print long_loop(0)\n\n\n\n.. code-block:: bash\n\n $ time python loop.py \n 1000000000\n python test.py 39.24s user 0.01s system 99% cpu 39.420 total\n\n\n\n.. code-block:: bash\n\n $ time pypy loop.py \n 1000000000\n pypy test.py 0.92s user 0.01s system 99% cpu 0.937 total\n\nNow we modify the code to use fastpy\n\n.. code-block:: python\n\n from fastpy import fast\n\n @fast\n def long_loop(a):\n for i in range(100000):\n for j in range(10000):\n a += 1\n return a\n print long_loop(0)\n\n\n.. code-block:: bash\n\n $ time python loop.py \n 1000000000\n python test.py 0.11s user 0.00s system 99% cpu 0.117 total\n\n\nCredits\n---------\nBased on this tutorial http://dev.stephendiehl.com/numpile/\n\n\n=======\nHistory\n=======\n\n0.1.0 (2016-07-09)\n------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": "https://pythonhosted.org/fastpy/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tartavull/fastpy", "keywords": "fastpy", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "fastpy", "package_url": "https://pypi.org/project/fastpy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/fastpy/", "project_urls": { "Homepage": "https://github.com/tartavull/fastpy" }, "release_url": "https://pypi.org/project/fastpy/0.1.1/", "requires_dist": [ "llvmpy (>=0.11.1)", "numpy (>=1.7.0)" ], "requires_python": "", "summary": "LLVM JIT compiler as a function decorator", "version": "0.1.1" }, "last_serial": 2213353, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "078afbb9f14f378ee61602246a36f90e", "sha256": "003256f6ae2f51f6dc882ff93703d10e00771251da1c1f8a43cb3d588c422ade" }, "downloads": -1, "filename": "fastpy-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "078afbb9f14f378ee61602246a36f90e", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 29502, "upload_time": "2016-07-10T03:21:12", "url": "https://files.pythonhosted.org/packages/5d/db/963f219fff4e81b8e25baaa3cbca5eae9213cf3d63cf60105fb39ce528d3/fastpy-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "61365d5f4fa8c5d93b50c8c8d769ac4b", "sha256": "c04deb64cd7e100a694c80fa151894be7528897f345524ae27d93aa4de784b0c" }, "downloads": -1, "filename": "fastpy-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "61365d5f4fa8c5d93b50c8c8d769ac4b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13757, "upload_time": "2016-07-10T03:21:08", "url": "https://files.pythonhosted.org/packages/c4/38/65b1c37630fb96347caf667c2f67c17cfca93cf890cbcbefff10a37f51bf/fastpy-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5e3b49a091e1bfb3b8358fba78a2c8b0", "sha256": "a996c605b729ba5688d076592c2605ce3fa38c3f35e0f1fcec82a7974e374869" }, "downloads": -1, "filename": "fastpy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5e3b49a091e1bfb3b8358fba78a2c8b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19948, "upload_time": "2016-07-10T03:21:16", "url": "https://files.pythonhosted.org/packages/36/b4/f851c30c7f4bb8de023516622f4a09db1a277a21559613ffae65fd22fdc3/fastpy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5601ff3952e08b357877daec7cff51a3", "sha256": "c5fc52aa0b436a04838eab0a4fb1e1852e51baf11ae024d92d15e7ee361bb974" }, "downloads": -1, "filename": "fastpy-0.1.1-py2.7.egg", "has_sig": false, "md5_digest": "5601ff3952e08b357877daec7cff51a3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 36761, "upload_time": "2016-07-11T02:46:59", "url": "https://files.pythonhosted.org/packages/f8/47/fdbdfbae0f598a42435cd4ff2ef5c628dbc3329728e518350f2828dda3ef/fastpy-0.1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "dd8d29232012ea279340e625c733a718", "sha256": "666b472bae4fc75dce2220dbfd3328981b006d1c19a1ed7d1961eeec5f26c06a" }, "downloads": -1, "filename": "fastpy-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dd8d29232012ea279340e625c733a718", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17128, "upload_time": "2016-07-11T02:46:55", "url": "https://files.pythonhosted.org/packages/bf/86/6eff5ddeb1d143d71c1a95d7de5bf339e687484be8002837cb55a6d47257/fastpy-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0c1f96c878f34d9bc1571c78a5f675a", "sha256": "1322a395f6c57a22549326a20367ea96a3ac86a5dba9e616ab4cc2f962d8b43f" }, "downloads": -1, "filename": "fastpy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b0c1f96c878f34d9bc1571c78a5f675a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22986, "upload_time": "2016-07-11T02:47:05", "url": "https://files.pythonhosted.org/packages/ea/03/ec0b312506082a7b0c03de716551a359fcb936a04d1c027b673139d99173/fastpy-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5601ff3952e08b357877daec7cff51a3", "sha256": "c5fc52aa0b436a04838eab0a4fb1e1852e51baf11ae024d92d15e7ee361bb974" }, "downloads": -1, "filename": "fastpy-0.1.1-py2.7.egg", "has_sig": false, "md5_digest": "5601ff3952e08b357877daec7cff51a3", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 36761, "upload_time": "2016-07-11T02:46:59", "url": "https://files.pythonhosted.org/packages/f8/47/fdbdfbae0f598a42435cd4ff2ef5c628dbc3329728e518350f2828dda3ef/fastpy-0.1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "dd8d29232012ea279340e625c733a718", "sha256": "666b472bae4fc75dce2220dbfd3328981b006d1c19a1ed7d1961eeec5f26c06a" }, "downloads": -1, "filename": "fastpy-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dd8d29232012ea279340e625c733a718", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 17128, "upload_time": "2016-07-11T02:46:55", "url": "https://files.pythonhosted.org/packages/bf/86/6eff5ddeb1d143d71c1a95d7de5bf339e687484be8002837cb55a6d47257/fastpy-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0c1f96c878f34d9bc1571c78a5f675a", "sha256": "1322a395f6c57a22549326a20367ea96a3ac86a5dba9e616ab4cc2f962d8b43f" }, "downloads": -1, "filename": "fastpy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b0c1f96c878f34d9bc1571c78a5f675a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22986, "upload_time": "2016-07-11T02:47:05", "url": "https://files.pythonhosted.org/packages/ea/03/ec0b312506082a7b0c03de716551a359fcb936a04d1c027b673139d99173/fastpy-0.1.1.tar.gz" } ] }