{ "info": { "author": "Jon Crall", "author_email": "erotemic@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "|Travis| |Codecov| |Appveyor| |Pypi|\n\nTools for static and dynamic code introspection.\n\n\nHelps with writing doctests\n\n::\n\n def func(a=1, b=2, c=3):\n \"\"\"\n Example:\n >>> from this.module import * # import contextual namespace\n >>> import xinspect\n >>> globals().update(xinspect.get_func_kwargs(func)) # populates globals with default kwarg value\n >>> print(a + b + c)\n 6\n \"\"\"\n\n\nHelps with code that generates code\n\n::\n\n >>> import ubelt as ub\n >>> source = ub.codeblock(\n >>> '''\n >>> p = os.path.dirname(join('a', 'b'))\n >>> glob.glob(p)\n >>> ''')\n >>> # Generate a list of lines to fix the name errors\n >>> lines = autogen_imports(source=source)\n >>> print(lines)\n ['import glob', 'from os.path import join', 'import os']\n\n\nSee Also: https://github.com/Erotemic/xdev\n\n\n\n.. |Travis| image:: https://img.shields.io/travis/Erotemic/xinspect/master.svg?label=Travis%20CI\n :target: https://travis-ci.org/Erotemic/xinspect\n.. |Codecov| image:: https://codecov.io/github/Erotemic/xinspect/badge.svg?branch=master&service=github\n :target: https://codecov.io/github/Erotemic/xinspect?branch=master\n.. |Appveyor| image:: https://ci.appveyor.com/api/projects/status/github/Erotemic/xinspect?branch=master&svg=True\n :target: https://ci.appveyor.com/project/Erotemic/xinspect/branch/master\n.. |Pypi| image:: https://img.shields.io/pypi/v/xinspect.svg\n :target: https://pypi.python.org/pypi/xinspect\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Erotemic/xinspect", "keywords": "", "license": "Apache 2", "maintainer": "", "maintainer_email": "", "name": "xinspect", "package_url": "https://pypi.org/project/xinspect/", "platform": "", "project_url": "https://pypi.org/project/xinspect/", "project_urls": { "Homepage": "https://github.com/Erotemic/xinspect" }, "release_url": "https://pypi.org/project/xinspect/0.0.3/", "requires_dist": [ "pytest", "coverage", "xdoctest", "pytest-cov", "redbaron" ], "requires_python": "", "summary": "", "version": "0.0.3" }, "last_serial": 4467724, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "d314c4b286fae4050c40d5acfbee041d", "sha256": "43e4ab01036d1e527834ce2c9424c82a76d0bcd31f986b2da6816fcaafa75715" }, "downloads": -1, "filename": "xinspect-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d314c4b286fae4050c40d5acfbee041d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13916, "upload_time": "2018-11-09T00:27:31", "url": "https://files.pythonhosted.org/packages/c9/b8/2f0d53bb04b4555d07ce46ed444b41c4cc6136391586fa462d8e4a5dd4e7/xinspect-0.0.3-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d314c4b286fae4050c40d5acfbee041d", "sha256": "43e4ab01036d1e527834ce2c9424c82a76d0bcd31f986b2da6816fcaafa75715" }, "downloads": -1, "filename": "xinspect-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d314c4b286fae4050c40d5acfbee041d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 13916, "upload_time": "2018-11-09T00:27:31", "url": "https://files.pythonhosted.org/packages/c9/b8/2f0d53bb04b4555d07ce46ed444b41c4cc6136391586fa462d8e4a5dd4e7/xinspect-0.0.3-py2.py3-none-any.whl" } ] }