{ "info": { "author": "Mike Malinowski", "author_email": "mike@twisted.space", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "## Installation\nYou can either download or clone this repo, or alternatively you can\ninstall this module using pip:\n\n```commandline\npip install blackout\n```\n\n\n## Overview\nBlackout is a small micro-module which makes it easier to completely\nforget packages. This is particularly useful when working with packages\nmade up of multiple sub-modules.\n\nAnd example might be:\n\n /site-packages/foo/__init__.py\n /site-packages/foo/bar.py\n\nIf bar.py has a function called foo() within it, and we change that\nfunction then it is not enough to reload foo, we must specifically\nreload foo as well as foo.bar. \n\nWhen working with packages with any modules this can be time consuming\nand problematic - particularly when developing within a host which is\npersistent.\n\nBlackout helps, because we can unload the package in its entirety in \na single line using:\n\n ```blackout.drop('foo')```\n\nThis will remove any hold to foo as well as any submodules of foo. In this \ncase we can simply call ```import foo``` again, knowing that everything\nwithin that package is being loaded fresh.\n\n\n## Compatability\n\nThis has been tested under Python 2.7.13 and Python 3.6.6 under both Windows and Ubuntu.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mikemalinowski/blackout", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "blackout", "package_url": "https://pypi.org/project/blackout/", "platform": "", "project_url": "https://pypi.org/project/blackout/", "project_urls": { "Homepage": "https://github.com/mikemalinowski/blackout" }, "release_url": "https://pypi.org/project/blackout/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "A python package making it easy to drop a multi-module package from sys.modules", "version": "1.0.4" }, "last_serial": 4891339, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "350bae2ad818aa1b7d501d503c298f5d", "sha256": "4b8e8297023e0f4292cac0eb60b7adb74826a85f48bd2f77bac2e4a2ab725faf" }, "downloads": -1, "filename": "blackout-1.0.0.zip", "has_sig": false, "md5_digest": "350bae2ad818aa1b7d501d503c298f5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5212, "upload_time": "2019-02-26T17:52:07", "url": "https://files.pythonhosted.org/packages/76/3f/7a5ca5f1bbeee28255545ac73a52bb75a46d0f008a5633cee4c1bcf8c233/blackout-1.0.0.zip" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d204c91df7706844c7164dfe0d917418", "sha256": "dbea876a9fca442d3ed94bdf26ac680daba3fb9a05891f742c6e2a8cb12907ac" }, "downloads": -1, "filename": "blackout-1.0.1.zip", "has_sig": false, "md5_digest": "d204c91df7706844c7164dfe0d917418", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5223, "upload_time": "2019-02-26T17:54:46", "url": "https://files.pythonhosted.org/packages/9e/9d/d62492eac8019a9ceddb972072e8fafa2d13895b1fcb07b3786868ffe9f0/blackout-1.0.1.zip" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "8c4f5e322746c892b36f78eaff381be3", "sha256": "8e94b01c9239b4cd44f4a8c32e9a5e25d8b48c8b75052b1d41d0c8398aabe05d" }, "downloads": -1, "filename": "blackout-1.0.2.zip", "has_sig": false, "md5_digest": "8c4f5e322746c892b36f78eaff381be3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5230, "upload_time": "2019-02-26T17:56:38", "url": "https://files.pythonhosted.org/packages/27/a4/302048de4b11eeff22a591c12a1840299101eba1a2093ded8ea46b6fd0c3/blackout-1.0.2.zip" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "3773938433993daf747912f5105eff40", "sha256": "f264bdde3f7f233aeda562e0459f230f63a737dc33663d2418a7b620a5b40e75" }, "downloads": -1, "filename": "blackout-1.0.3.zip", "has_sig": false, "md5_digest": "3773938433993daf747912f5105eff40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5405, "upload_time": "2019-03-03T17:03:59", "url": "https://files.pythonhosted.org/packages/46/fc/d633acdd76aaab5d399a9c7970088f8ecda39ef34f2e2557b4e699ae9663/blackout-1.0.3.zip" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "4bf765c4ca71646573bd606e687a1d9f", "sha256": "5bf0eec6be86205ab39a52586bad5dbe4eb268432bb956786469f5f37a2285bf" }, "downloads": -1, "filename": "blackout-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4bf765c4ca71646573bd606e687a1d9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2934, "upload_time": "2019-03-03T17:06:01", "url": "https://files.pythonhosted.org/packages/8e/83/aea10c50604c7266a82fd4cc8bc9805f08fb7162ce7ffaf65222ce83d341/blackout-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4bf765c4ca71646573bd606e687a1d9f", "sha256": "5bf0eec6be86205ab39a52586bad5dbe4eb268432bb956786469f5f37a2285bf" }, "downloads": -1, "filename": "blackout-1.0.4.tar.gz", "has_sig": false, "md5_digest": "4bf765c4ca71646573bd606e687a1d9f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2934, "upload_time": "2019-03-03T17:06:01", "url": "https://files.pythonhosted.org/packages/8e/83/aea10c50604c7266a82fd4cc8bc9805f08fb7162ce7ffaf65222ce83d341/blackout-1.0.4.tar.gz" } ] }