{ "info": { "author": "Alexander Schepanovski", "author_email": "suor.web@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Debug cache\n===========\n\n**Note**. This is Alpha software, use with caution.\n\nA cache meant to speed up debugging and testing process. Stores intermediate results in files.\n\n\nInstallation\n------------\n\n pip install debug-cache\n\n\nUsage\n-----\n\n.. code:: python\n\n from debug_cache import DebugCache\n cache = DebugCache(path='/path/to/debug_cache')\n\n # or just use default\n from debug_cache import cache\n\n\nFirst ``debug_cache`` usage is to fasten repeated and heavy calls to tighten edit/rerun loop:\n\n.. code:: python\n\n @cache.cached\n def some_function(x, y):\n # do something\n return res\n\n\nSecond ``debug_cache`` usage is to check that function results didn't change. Useful when refactoring or optimizing:\n\n.. code:: python\n\n # Check that function results didn't change, they need to be cached first\n @cache.checked\n def some_function(x, y):\n # ...\n\n # Same, but cache first time, check all subsequent ones\n @cache.checked(strict=False)\n def some_function(x, y):\n # ...\n\n\nThis will stop and start debugger if function results don't match ones saved earlier. Strict version also stops if no cached results are found.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Suor/debug-cache", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "debug-cache", "package_url": "https://pypi.org/project/debug-cache/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/debug-cache/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/Suor/debug-cache" }, "release_url": "https://pypi.org/project/debug-cache/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "A way to speed up debugging and testing.", "version": "0.0.1" }, "last_serial": 1985555, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9900c2c67e1c256fccf71f3fab7e08ff", "sha256": "f75729ce62913fc47c378eb1beb14360644f229550ea3b0f8507d4a0a4106acf" }, "downloads": -1, "filename": "debug-cache-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9900c2c67e1c256fccf71f3fab7e08ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6043, "upload_time": "2016-03-02T12:08:59", "url": "https://files.pythonhosted.org/packages/af/0d/6633b108a167a6087919a071ef28ea7f1d48fc76a17fc8e93197d90b56b4/debug-cache-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9900c2c67e1c256fccf71f3fab7e08ff", "sha256": "f75729ce62913fc47c378eb1beb14360644f229550ea3b0f8507d4a0a4106acf" }, "downloads": -1, "filename": "debug-cache-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9900c2c67e1c256fccf71f3fab7e08ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6043, "upload_time": "2016-03-02T12:08:59", "url": "https://files.pythonhosted.org/packages/af/0d/6633b108a167a6087919a071ef28ea7f1d48fc76a17fc8e93197d90b56b4/debug-cache-0.0.1.tar.gz" } ] }