{ "info": { "author": "Adam Tauber", "author_email": "asciimoo@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python", "Topic :: Utilities" ], "description": "Memspector\n==========\n\nInspect memory usage of python functions\n\n\nFeatures\n~~~~~~~~\n\n- Thread handling\n- External tool, doesn't require code modification\n\nCheck ``memspector --help`` for command line options\n\n\nInstallation\n~~~~~~~~~~~~\n\nvia pip: ``pip install memspector``\n\n\nExample\n~~~~~~~\n\n``example.py``:\n\n.. code-block:: python\n\n l = []\n\n\n def a():\n l.extend(range(100000))\n\n\n def b():\n global l\n l = []\n\n\n a()\n a()\n b()\n a()\n b()\n a()\n\n\nRun ``memspector example.py`` to get the following output:\n\n.. code-block::\n\n example.py:b() thread: main_thread\n total memory diff\n 2,940,336 -1,799,976\n 2,040,440 -900,048\n\n example.py:a() thread: main_thread\n total memory diff\n 1,139,848 900,400\n 2,040,280 900,000\n 1,140,408 900,048\n 1,140,408 900,048\n\n example.py thread: main_thread\n total memory diff\n 1,133,832 906,232\n\n\n\nBugs\n~~~~\n\nBugs or suggestions? Visit the `issue tracker `__\n\n\nLicense\n~~~~~~~\n\n.. code-block::\n\n Memspector\n Copyright (C) 2015 Adam Tauber \n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n This program is distributed in the hope that it will be useful,\n but WITHOUT ANY WARRANTY; without even the implied warranty of\n MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n GNU General Public License for more details.\n\n See .", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/asciimoo/memspector", "keywords": "memory debugger inspector", "license": "GNU Affero General Public License", "maintainer": null, "maintainer_email": null, "name": "memspector", "package_url": "https://pypi.org/project/memspector/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/memspector/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/asciimoo/memspector" }, "release_url": "https://pypi.org/project/memspector/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Inspect memory usage of python functions", "version": "0.1.2" }, "last_serial": 1730977, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e5ce8f1cbc1b71141ba9a42ca864c23d", "sha256": "8ba903f7f8645e0b2a5e722ffb8760be13abc90ae1c248e6b0c0369af65d220f" }, "downloads": -1, "filename": "memspector-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e5ce8f1cbc1b71141ba9a42ca864c23d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3754, "upload_time": "2015-09-20T22:07:00", "url": "https://files.pythonhosted.org/packages/1e/3d/cee9d18539870c24ac2c5b433d469444d41f2d3df7e07940786e6ae27788/memspector-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "af4b98244bffe13e82a6f30cc1b1b3e5", "sha256": "a5e8434465a47e9fb6baa62077283393d3f20c337c60cb055e885198baa8986d" }, "downloads": -1, "filename": "memspector-0.1.2.tar.gz", "has_sig": false, "md5_digest": "af4b98244bffe13e82a6f30cc1b1b3e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3746, "upload_time": "2015-09-20T22:10:41", "url": "https://files.pythonhosted.org/packages/2d/b1/a6a89d336bb4d5cf6939d48c5b0b944dba10a83c5cd94fe7c1d5dbe88209/memspector-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af4b98244bffe13e82a6f30cc1b1b3e5", "sha256": "a5e8434465a47e9fb6baa62077283393d3f20c337c60cb055e885198baa8986d" }, "downloads": -1, "filename": "memspector-0.1.2.tar.gz", "has_sig": false, "md5_digest": "af4b98244bffe13e82a6f30cc1b1b3e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3746, "upload_time": "2015-09-20T22:10:41", "url": "https://files.pythonhosted.org/packages/2d/b1/a6a89d336bb4d5cf6939d48c5b0b944dba10a83c5cd94fe7c1d5dbe88209/memspector-0.1.2.tar.gz" } ] }