{ "info": { "author": "Jason Dusek", "author_email": "jason.dusek@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Topic :: Software Development" ], "description": "================\n``stackclimber``\n================\n\n.. image:: https://travis-ci.org/drcloud/stackclimber.svg?branch=master\n :target: https://travis-ci.org/drcloud/stackclimber\n.. image:: https://img.shields.io/pypi/v/stackclimber.svg\n :target: https://pypi.python.org/pypi/stackclimber\n.. image:: https://img.shields.io/pypi/dd/stackclimber.svg\n :target: https://pypi.python.org/pypi/stackclimber\n\n``stackclimber`` allows your function to find the module or script name of its\ncaller, or of its caller's caller.\n\n.. code:: python\n\n from stackclimber import stackclimber\n\n\n assert stackclimber() == __name__\n assert stackclimber() == stackclimber(0)\n\nWith no arguments, it finds the current function's module name. With 1, it\nfinds that of its caller; with 2, that of its caller's caller, and so forth.\n\nThis functionality can be used to implement \"automatic\" imports that use some\ninformation about the module into which they are being imported by overriding\na module's ``__getattr__``.\n", "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/drcloud/stackclimber", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "stackclimber", "package_url": "https://pypi.org/project/stackclimber/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/stackclimber/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/drcloud/stackclimber" }, "release_url": "https://pypi.org/project/stackclimber/0.99/", "requires_dist": null, "requires_python": null, "summary": "Allow a function to discover the module or script name of its caller, or its caller's caller.", "version": "0.99" }, "last_serial": 2122985, "releases": { "0.99": [ { "comment_text": "", "digests": { "md5": "e59d388fb4854e5368d40e88f6727bab", "sha256": "5fd97bd67c927d055d5b43bfcb0ed1a7c7c7ab084099aaf68452a0c881173bc9" }, "downloads": -1, "filename": "stackclimber-0.99.tar.gz", "has_sig": false, "md5_digest": "e59d388fb4854e5368d40e88f6727bab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1871, "upload_time": "2016-05-19T04:25:48", "url": "https://files.pythonhosted.org/packages/54/36/7fae81f35794423f82eaee6e206b35b6d10cf070e351661e9eb1077dc53a/stackclimber-0.99.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e59d388fb4854e5368d40e88f6727bab", "sha256": "5fd97bd67c927d055d5b43bfcb0ed1a7c7c7ab084099aaf68452a0c881173bc9" }, "downloads": -1, "filename": "stackclimber-0.99.tar.gz", "has_sig": false, "md5_digest": "e59d388fb4854e5368d40e88f6727bab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1871, "upload_time": "2016-05-19T04:25:48", "url": "https://files.pythonhosted.org/packages/54/36/7fae81f35794423f82eaee6e206b35b6d10cf070e351661e9eb1077dc53a/stackclimber-0.99.tar.gz" } ] }