{ "info": { "author": "Lukas Gamper, Joel Akeret", "author_email": "hope@phys.ethz.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Scientific/Engineering :: Physics", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Compilers" ], "description": "======================================================\nHOPE - combine the ease of Python and the speed of C++\n======================================================\n\n.. image:: https://badge.fury.io/py/hope.svg\n :target: http://badge.fury.io/py/hope\n\n.. image:: http://img.shields.io/badge/arXiv-1410.4345-brightgreen.svg?style=flat\n :target: http://arxiv.org/abs/1410.4345\n\n.. image:: https://cosmo-gitlab.phys.ethz.ch/cosmo/hope/badges/master/build.svg\n\n.. image:: https://cosmo-gitlab.phys.ethz.ch/cosmo/hope/badges/master/coverage.svg\n\n**HOPE** is a specialized method-at-a-time JIT compiler written in Python for\ntranslating Python source code into C++ and compiles this at runtime. In\ncontrast to other existing JIT compliers, which are designed for general\npurpose, we have focused our development of the subset of the Python language\nthat is most relevant for astrophysical calculations. By concentrating on this\nsubset, **HOPE** is able to achieve the highest possible performance.\n\n\nBy using **HOPE**, the user can benefit from being able to write common\nnumerical code in Python and having the performance of compiled implementation.\nTo enable the **HOPE** JIT compilation, the user needs to add a decorator to\nthe function definition. The package does not require additional information,\nwhich ensures that **HOPE** is as non-intrusive as possible:\n\n.. code-block:: python\n\n from hope import jit\n\n @jit\n def sum(x, y):\n return x + y\n\n\nThe **HOPE** package has been developed at ETH Zurich in the `Software Lab of\nthe Cosmology Research Group\n`_ of the `ETH\nInstitute of Astronomy `_, and is now publicly\navailable at `GitHub `_.\n\nFurther information on the package can be found in our `paper\n`_, on\n`readthedocs.org `_ and on our\n`website `_.\n\nPython versions supported\n-------------------------\n\nHope supports Python versions from `2.7` up to `3.6`.\n\nInstallation\n------------\n\nThe package has been uploaded to `PyPI `_\nand can be installed at the command line via pip::\n\n $ pip install hope\n\nOr, if you have virtualenvwrapper installed::\n\n $ mkvirtualenv hope\n $ pip install hope\n\n\n\n\nHistory\n-------\n\n0.7.0 (2017-09-08)\n++++++++++++++++++\n\n* Support for Python 3.5 and 3.6\n\n\n0.6.1 (2016-07-04)\n++++++++++++++++++\n\n* fixing bug when accessing class members for operations\n\n0.6.0 (2016-04-19)\n++++++++++++++++++\n\n* Fixed bug in 2d array slicing\n* Array slicing with negative index\n* Fixed name clash bug with object attributes\n* Replaced assignment with reference to object attributes \n\n0.5.0 (2016-01-20)\n++++++++++++++++++\n\n* Fixed memory leak when creating array in jitted fkt\n* Fixed incorrect bound handling in numpy.interp\n\n0.4.0 (2015-02-04)\n++++++++++++++++++\n\n* Increased compilation speed for large functions\n* Support for variable allocation within if-else\n* Added support for numpy.sign\n* Updated Cython implementation in benchmarks\n* Fixed array allocation problem under OSX Yosemite (thx iankronquist)\n\n0.3.1 (2014-10-24)\n++++++++++++++++++\n\n* Better support for Python 3.3 and 3.4\n* Proper integration in Travis CI\n* Improved support for Linux systems (`accepting x86_64-linux-gnu-gcc`)\n* Avoiding warning on Linux by removing `Wstrict-prototypes` arg\n* Supporting gcc proxied clang (OS X)\n* Added set of examples\n\n0.3.0 (2014-10-16)\n++++++++++++++++++\n\n* Language: scalar return values\n* Shared libraries are written to hope.config.prefix\n* Function call can have return values\n* Fixed function calls to function with no arguments\n* Make sure code is recompiled if the python code has changed\n* Added config.optimize to simplify expression using sympy and replace pow\n* Speed improvements for hope\n* Added support for object properties\n* Added support for object methods\n* Addes support for True and False\n* Addes support for While\n* Addes support for numpy.sum\n* Addes support for numpy.pi\n* Added support for numpy.floor, numpy.ceil, numpy.trunc, numpy.fabs, numpy.log\n* improved error messages\n* Added config.rangecheck flag\n* Support xrange in for loop\n* Added cast operators for np.bool\\_, np.int\\_, np.intc, np.int8, np.int16, np.int32, np.int64, np.uint8, np.uint16, np.uint32, np.uint64, np.float\\_, np.float32, np.float64, \n* Added bool operators\n* Added the following operators:\n\n=========== ===========\nFloorDiv ``a // b``\nMod ``a % b``\nLShift ``a << b``\nRShift ``a >> b``\nBitOr ``a | b``\nBitXor ``a ^ b``\nBitAnd ``a & b``\nAugFloorDiv ``a //= b``\nAugPow ``a **= b``\nAugMod ``a %= b``\nAugLShift ``a <<= b``\nAugRShift ``a <<= b``\nAugBitOr ``a | b``\nAugBitXor ``a ^ b``\nAugBitAnd ``a & b``\n=========== ===========\n\n0.2.0 (2014-03-05)\n++++++++++++++++++\n\n* First release on private PyPI.\n\n0.1.0 (2014-02-27)\n++++++++++++++++++\n\n* Initial creation.", "description_content_type": "", "docs_url": "https://pythonhosted.org/hope/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://hope.phys.ethz.ch", "keywords": "HOPE,JIT compiler,HPC,high performance computing", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "hope", "package_url": "https://pypi.org/project/hope/", "platform": "", "project_url": "https://pypi.org/project/hope/", "project_urls": { "Homepage": "http://hope.phys.ethz.ch" }, "release_url": "https://pypi.org/project/hope/0.7.3/", "requires_dist": null, "requires_python": "", "summary": "A Python Just-In-Time compiler for astrophysical computations", "version": "0.7.3" }, "last_serial": 3895627, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "60cd0023256dc0b2240340eda2fc15d8", "sha256": "61f1851d6e5905b962ea1143e9845fcf471374a0f9a0a2374acc173154ddf895" }, "downloads": -1, "filename": "hope-0.3.0.tar.gz", "has_sig": false, "md5_digest": "60cd0023256dc0b2240340eda2fc15d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 297369, "upload_time": "2014-10-16T08:59:24", "url": "https://files.pythonhosted.org/packages/69/ec/eba289aa5aec4b3c16bc285da6c390fcd7b6d6240961e3a3dadffde32e6e/hope-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "561e4b1a991e14bcd8b51050d1aed62c", "sha256": "6f4e5b66d51a141c066a457df1e998c8050323151da086c9049c73c934876513" }, "downloads": -1, "filename": "hope-0.3.1.tar.gz", "has_sig": false, "md5_digest": "561e4b1a991e14bcd8b51050d1aed62c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 302853, "upload_time": "2014-10-24T12:27:00", "url": "https://files.pythonhosted.org/packages/54/a0/e9840333e9eef14871df009d1122c28166aeeb7c22fd203ddc31f8260088/hope-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "dbef787decf47390839c5af021aafc44", "sha256": "029bd8524e457d66ed280056877dcc2f2a54d0766d0074b9d358cc5e1a0e9ddf" }, "downloads": -1, "filename": "hope-0.4.0.tar.gz", "has_sig": false, "md5_digest": "dbef787decf47390839c5af021aafc44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 304685, "upload_time": "2015-02-04T14:20:28", "url": "https://files.pythonhosted.org/packages/24/5a/103fa6b491c734c74d8642106eb6c3d78202bd74e4e5adbeab26885c0d08/hope-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "84ac70bce21765ba79b79f16168a0118", "sha256": "08b19af362efcc7478788b4f0a0213d009c8af41d74d2219c8179b41d3d48596" }, "downloads": -1, "filename": "hope-0.5.0.tar.gz", "has_sig": false, "md5_digest": "84ac70bce21765ba79b79f16168a0118", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 318704, "upload_time": "2016-01-20T08:35:40", "url": "https://files.pythonhosted.org/packages/b2/49/3bde757b94650e9876e8313681e60b6f631f14a6fd9db0ab7ab03b263ce6/hope-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "827bc44f48c3fd2f6c3879c4aef6c3f2", "sha256": "4c6988ed3f9e103a569bf4d19cfb20cd8e542f8cfe185db05b9390b43a78b4f5" }, "downloads": -1, "filename": "hope-0.6.0.tar.gz", "has_sig": false, "md5_digest": "827bc44f48c3fd2f6c3879c4aef6c3f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 304541, "upload_time": "2016-04-19T12:51:29", "url": "https://files.pythonhosted.org/packages/63/a2/afea6202f97579b13b9c214ea2db567b8722a6723e63385669e269a57266/hope-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "09a34167a4ad6e2d6f6e49f6a1fff771", "sha256": "efb323f5cbe3f4b3e808c46fd8d8f753f75477b3669892961d0901faf54a66c6" }, "downloads": -1, "filename": "hope-0.6.1.tar.gz", "has_sig": false, "md5_digest": "09a34167a4ad6e2d6f6e49f6a1fff771", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 309520, "upload_time": "2016-07-04T09:23:30", "url": "https://files.pythonhosted.org/packages/02/24/abb7c1fc3be3c17bf07db4609244813fdc7d30d79de9425aa4247f879600/hope-0.6.1.tar.gz" } ], "0.7.1": [ { "comment_text": "", "digests": { "md5": "db7070286ed00db47ce2dd357c7a6d82", "sha256": "2d05d7a806a2df990326ee507b756e167d4763daa99badb4679a94db987cb4ae" }, "downloads": -1, "filename": "hope-0.7.1.tar.gz", "has_sig": false, "md5_digest": "db7070286ed00db47ce2dd357c7a6d82", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 320783, "upload_time": "2018-05-23T19:45:33", "url": "https://files.pythonhosted.org/packages/23/84/4046e5d25569c0404cb113251747d9096ada7fed72b56f9a598679aaf311/hope-0.7.1.tar.gz" } ], "0.7.2": [ { "comment_text": "", "digests": { "md5": "d8dcabe679ecd57f1731bc5793a6dc81", "sha256": "6a80cc5ef80012fea02101037b4282bf5a9c2c6c367093b4a661ca373e6a8267" }, "downloads": -1, "filename": "hope-0.7.2.tar.gz", "has_sig": false, "md5_digest": "d8dcabe679ecd57f1731bc5793a6dc81", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 320798, "upload_time": "2018-05-24T12:16:06", "url": "https://files.pythonhosted.org/packages/e1/87/9fb8892880b43d6933b0689f3a17a1e5243c0fd86d4a12ddfd2bf671e5a2/hope-0.7.2.tar.gz" } ], "0.7.3": [ { "comment_text": "", "digests": { "md5": "b8efc709d187aee858f2f4893b412047", "sha256": "f038b44da0b787f6ac5d07c21fdb51bfef953d9c039427e4097dbb7ffbb79a79" }, "downloads": -1, "filename": "hope-0.7.3.tar.gz", "has_sig": false, "md5_digest": "b8efc709d187aee858f2f4893b412047", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 320801, "upload_time": "2018-05-24T14:47:09", "url": "https://files.pythonhosted.org/packages/dd/eb/9e64639086133d8ee1a8a54f6c15ab0cb18d88918b4f1401156c52e912c1/hope-0.7.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b8efc709d187aee858f2f4893b412047", "sha256": "f038b44da0b787f6ac5d07c21fdb51bfef953d9c039427e4097dbb7ffbb79a79" }, "downloads": -1, "filename": "hope-0.7.3.tar.gz", "has_sig": false, "md5_digest": "b8efc709d187aee858f2f4893b412047", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 320801, "upload_time": "2018-05-24T14:47:09", "url": "https://files.pythonhosted.org/packages/dd/eb/9e64639086133d8ee1a8a54f6c15ab0cb18d88918b4f1401156c52e912c1/hope-0.7.3.tar.gz" } ] }