{ "info": { "author": "James Lim", "author_email": "jim@jimjh.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries" ], "description": "arc_cache\n=========\n\nAdaptive Replacement Cache - a Python3 decorator\n\nMostly for self-study purposes. Use at your own risk.\n\nUsage\n-----\n\n.. code-block:: python\n\n from arc_cache import arc_cache\n\n @arc_cache()\n def my_heavy_function(arg1):\n do_stuff()\n\nDeveloping\n----------\n\nSetup a virtualenv using\n\n.. code-block:: console\n\n $ pip3 install tox\n $ tox -e develop\n $ . .venv/bin/activate\n\nTesting\n-------\n\nRun all tests using\n\n.. code-block:: console\n\n $ tox\n\nReleasing\n---------\n\n.. code-block:: console\n\n $ python setup.py bdist sdist bdist_wheel\n $ gpg -u ... --detach-sign -a dist/...\n $ twine upload dist/*\n\nReferences\n----------\n\nPython 3.5 (I believe) uses a C-implementation of `lru_cache`.\n\n- `ARC`_ - A Self-Tuning, Low Overhead Replacement Cache (2003)\n- `Adaptive Replacement Cache`_ on Wikipedia\n- `lru_cache`_ in cpython 3.4\n\n.. _`ARC`: http://citeseer.ist.psu.edu/viewdoc/summary?doi=10.1.1.13.5210\n.. _`Adaptive Replacement Cache`: https://en.wikipedia.org/wiki/Adaptive_replacement_cache\n.. _`lru_cache`: https://hg.python.org/cpython/file/3.4/Lib/functools.py#l384", "description_content_type": null, "docs_url": "https://pythonhosted.org/arc_cache/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jimjh/arc_cache", "keywords": "cache lru memoize arc", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "arc_cache", "package_url": "https://pypi.org/project/arc_cache/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/arc_cache/", "project_urls": { "Homepage": "https://github.com/jimjh/arc_cache" }, "release_url": "https://pypi.org/project/arc_cache/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Memoization decorator using an adaptive replacement cache.", "version": "0.1.1" }, "last_serial": 1836925, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "d82c3e03303f07e239ca311ca580900c", "sha256": "f42c398b71319b325d9a40bb626f0432c376e7a700e3664b5b711933b913c27c" }, "downloads": -1, "filename": "arc_cache-0.1.1.macosx-10.10-x86_64.tar.gz", "has_sig": true, "md5_digest": "d82c3e03303f07e239ca311ca580900c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5398, "upload_time": "2015-11-26T06:06:40", "url": "https://files.pythonhosted.org/packages/b6/4d/1a67db240e23a9d2989418471ae0b1078cdc5aacb8380ac82ae56f9e615f/arc_cache-0.1.1.macosx-10.10-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "e811c1d1d7a1714862ad933ee24efa3d", "sha256": "bf9c12faabcdb5bf89a8616f7a93d6a14f0be74c2ab4dfce797f0bcb269f835a" }, "downloads": -1, "filename": "arc_cache-0.1.1-py3-none-any.whl", "has_sig": true, "md5_digest": "e811c1d1d7a1714862ad933ee24efa3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5665, "upload_time": "2015-11-26T06:06:35", "url": "https://files.pythonhosted.org/packages/90/42/fe40266af657d2bea4800a313ccfb35d963f7dfec204353c71422921d15e/arc_cache-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6029c479ec9464aed4be05bb2095d209", "sha256": "703fce1df5bbfe47846a102fc1fbe12d73290f2cbc291383238980610c296cef" }, "downloads": -1, "filename": "arc_cache-0.1.1.tar.gz", "has_sig": true, "md5_digest": "6029c479ec9464aed4be05bb2095d209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3992, "upload_time": "2015-11-26T06:06:46", "url": "https://files.pythonhosted.org/packages/59/a0/c0e531ac4bdc0b36d703b8892e4d2b4d9be9209dc287ecd692692bedb4e2/arc_cache-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d82c3e03303f07e239ca311ca580900c", "sha256": "f42c398b71319b325d9a40bb626f0432c376e7a700e3664b5b711933b913c27c" }, "downloads": -1, "filename": "arc_cache-0.1.1.macosx-10.10-x86_64.tar.gz", "has_sig": true, "md5_digest": "d82c3e03303f07e239ca311ca580900c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5398, "upload_time": "2015-11-26T06:06:40", "url": "https://files.pythonhosted.org/packages/b6/4d/1a67db240e23a9d2989418471ae0b1078cdc5aacb8380ac82ae56f9e615f/arc_cache-0.1.1.macosx-10.10-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "e811c1d1d7a1714862ad933ee24efa3d", "sha256": "bf9c12faabcdb5bf89a8616f7a93d6a14f0be74c2ab4dfce797f0bcb269f835a" }, "downloads": -1, "filename": "arc_cache-0.1.1-py3-none-any.whl", "has_sig": true, "md5_digest": "e811c1d1d7a1714862ad933ee24efa3d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5665, "upload_time": "2015-11-26T06:06:35", "url": "https://files.pythonhosted.org/packages/90/42/fe40266af657d2bea4800a313ccfb35d963f7dfec204353c71422921d15e/arc_cache-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6029c479ec9464aed4be05bb2095d209", "sha256": "703fce1df5bbfe47846a102fc1fbe12d73290f2cbc291383238980610c296cef" }, "downloads": -1, "filename": "arc_cache-0.1.1.tar.gz", "has_sig": true, "md5_digest": "6029c479ec9464aed4be05bb2095d209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3992, "upload_time": "2015-11-26T06:06:46", "url": "https://files.pythonhosted.org/packages/59/a0/c0e531ac4bdc0b36d703b8892e4d2b4d9be9209dc287ecd692692bedb4e2/arc_cache-0.1.1.tar.gz" } ] }