{ "info": { "author": "Aleksey Yeletsky ", "author_email": "a.eletsky@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Natural Language :: Russian", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n#######################\nSmart import for Python\n#######################\n\n|pypi| |python_versions| |test_coverege_develop|\n\nAutomatically discovers & imports entities, used in current module.\n\nNo magic or monkey patching. Only standard Python functionality.\n\n+---------------------------------------------+---------------------------------------------+\n| Before | After |\n+=============================================+=============================================+\n|.. code:: python |.. code:: python |\n| | |\n| import math | import smart_imports |\n| from my_project import calc | smart_imports.all() |\n| # 100500 other imports | # no any other imports |\n| | |\n| def my_code(argument, function=calc): | def my_code(argument, function=calc): |\n| return math.log(function(argument)) | return math.log(function(argument)) |\n| | |\n+---------------------------------------------+---------------------------------------------+\n\n-------------\nShort summary\n-------------\n\n* Get source code of module, from which ``smart_imports`` has called;\n* Parse it, find all not initialized variables;\n* Search imports, suitable for found variables;\n* Import them.\n\nProcess only modules, from which ``smart_imports`` called explicitly.\n\n--------\nSee also\n--------\n\n- `Gitter chat room `_\n- `Change log `_\n\n\n.. |pypi| image:: https://img.shields.io/pypi/v/smart_imports.svg?style=flat-square&label=latest%20stable%20version&reset_github_caches=4\n :target: https://pypi.python.org/pypi/smart_imports\n :alt: Latest version released on PyPi\n\n.. |python_versions| image:: https://img.shields.io/pypi/pyversions/smart_imports.svg?style=flat-square&reset_github_caches=4\n :target: https://pypi.python.org/pypi/smart_imports\n :alt: Supported Python versions\n\n.. |test_coverege_develop| image:: https://coveralls.io/repos/github/Tiendil/smart-imports/badge.svg?branch=develop&reset_github_caches=4\n :target: https://coveralls.io/github/Tiendil/smart-imports?branch=develop\n :alt: Test coverage in develop\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Tiendil/smart-imports", "keywords": "python,import", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "smart-imports", "package_url": "https://pypi.org/project/smart-imports/", "platform": "", "project_url": "https://pypi.org/project/smart-imports/", "project_urls": { "Homepage": "https://github.com/Tiendil/smart-imports" }, "release_url": "https://pypi.org/project/smart-imports/0.2.3/", "requires_dist": null, "requires_python": "", "summary": "automatic importing for Python modules", "version": "0.2.3" }, "last_serial": 5530249, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6313b5472b9743fdfc62e936b6e69c44", "sha256": "55ca001763c9dac6fe6ffeace0aa2947c7398ca8b16836a04762562c8730254b" }, "downloads": -1, "filename": "smart_imports-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6313b5472b9743fdfc62e936b6e69c44", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13663, "upload_time": "2018-07-29T12:04:00", "url": "https://files.pythonhosted.org/packages/b6/96/96dc4c6ea7197ddeaee83021c40fbafa15c5034600d5e7182ac77e77f624/smart_imports-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a80906c29862546bf8a4d8d0613ea832", "sha256": "248558b52feefecc7e2e68b9f436a238682ee1e746d0ed6d6bce4abbb29c25f5" }, "downloads": -1, "filename": "smart_imports-0.1.1.tar.gz", "has_sig": false, "md5_digest": "a80906c29862546bf8a4d8d0613ea832", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13673, "upload_time": "2018-07-29T13:36:14", "url": "https://files.pythonhosted.org/packages/1e/64/396d29c15741574e022eafa3c65a9176ebebe493670898d420a0274ea3be/smart_imports-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "025e9f46c36b7afc19a29417c58998a8", "sha256": "cb42ef98be665c5b21d07d70a8191cf204a7a10268e9d913b5372aa28bdf803f" }, "downloads": -1, "filename": "smart_imports-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "025e9f46c36b7afc19a29417c58998a8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27439, "upload_time": "2019-01-19T14:29:58", "url": "https://files.pythonhosted.org/packages/20/22/e1e1fd29d97e7ea123ff122133ebced9c7c6e1605084a12b1da1e8822db2/smart_imports-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cf218d52879fc2dc85f07365c86c3ae1", "sha256": "e9472a05c39622807a7ed87aa3ade57a15aa6efd36cecb7233996a1f04c013d1" }, "downloads": -1, "filename": "smart_imports-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cf218d52879fc2dc85f07365c86c3ae1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5634639, "upload_time": "2019-01-19T14:30:04", "url": "https://files.pythonhosted.org/packages/b8/04/c7dec785ebbada498e1f5f89378dfa425f62a7a756bc8ca513caac6f0f3b/smart_imports-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "c2646a8369ac7c0fd4f90c0dfe2ab970", "sha256": "51067e2c3555bb881d1ad8bd0a9231b57b748014f9b81dc987fda8440d4c90a8" }, "downloads": -1, "filename": "smart_imports-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c2646a8369ac7c0fd4f90c0dfe2ab970", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 27437, "upload_time": "2019-01-19T14:29:59", "url": "https://files.pythonhosted.org/packages/d3/93/7e94aee755b40054f229318beca42cd93c4ebb1469172cbede2ba942932d/smart_imports-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "44af3ed7a7ddb8f64eeb4cbc6e45fb18", "sha256": "d5a397ff5e86b2e143d29e2307c0acc087c16ff1ea41dd2e93d11cd5c510c9af" }, "downloads": -1, "filename": "smart_imports-0.2.1.tar.gz", "has_sig": false, "md5_digest": "44af3ed7a7ddb8f64eeb4cbc6e45fb18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5635011, "upload_time": "2019-01-19T14:30:12", "url": "https://files.pythonhosted.org/packages/fa/23/9c69822f5a09d9155d36e6d387aee2214046a15756451ce85c87925b44bc/smart_imports-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "860968a0a9f48bf95afb1d0b5a9e3323", "sha256": "02f933b896071db58f9a2796fc11b2f132df7486a56c14c84a3756bfcb508a54" }, "downloads": -1, "filename": "smart_imports-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "860968a0a9f48bf95afb1d0b5a9e3323", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 28186, "upload_time": "2019-07-14T07:00:53", "url": "https://files.pythonhosted.org/packages/af/4f/cd31fc2260b75f41b50fd0947987f1d95e742d0cbb0040b3534e9c305888/smart_imports-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1eb0b4558493a0cf5cdac607645dbdb3", "sha256": "f2db9f9cd7cd128a797f380139cc9844d43c754f3ec76e7c232e9e6b19fa7a23" }, "downloads": -1, "filename": "smart_imports-0.2.2.tar.gz", "has_sig": false, "md5_digest": "1eb0b4558493a0cf5cdac607645dbdb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5645535, "upload_time": "2019-07-14T07:00:59", "url": "https://files.pythonhosted.org/packages/c1/b8/ed02f9e0ed3131729635ab128e0fbe3ad574f4f934b3cbead5d6106395c1/smart_imports-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "7a4b5fdae9c73ade4bbee00c01bffe14", "sha256": "5ee236d171a5386551ffc8697f4e163355e61f3ebf8e88ac3dad98505d4b75a6" }, "downloads": -1, "filename": "smart_imports-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "7a4b5fdae9c73ade4bbee00c01bffe14", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31542, "upload_time": "2019-07-14T07:59:11", "url": "https://files.pythonhosted.org/packages/c3/24/228b452cc10a4ac22cf9c2317eadb84cf4d18a85ab838bb990369acb86c1/smart_imports-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c5fc0b6fdbb4cd47322a91adee8c1f4", "sha256": "5527a612bb2bd004f2ea4b21bd2ea1012e2eed0200411cf5a39cfd9c302b36d4" }, "downloads": -1, "filename": "smart_imports-0.2.3.tar.gz", "has_sig": false, "md5_digest": "0c5fc0b6fdbb4cd47322a91adee8c1f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5646036, "upload_time": "2019-07-14T07:59:15", "url": "https://files.pythonhosted.org/packages/f7/52/f2393bc88cd13dd2d79703e523cffbb8a0ee75e82abf7fff7a986e07da31/smart_imports-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7a4b5fdae9c73ade4bbee00c01bffe14", "sha256": "5ee236d171a5386551ffc8697f4e163355e61f3ebf8e88ac3dad98505d4b75a6" }, "downloads": -1, "filename": "smart_imports-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "7a4b5fdae9c73ade4bbee00c01bffe14", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 31542, "upload_time": "2019-07-14T07:59:11", "url": "https://files.pythonhosted.org/packages/c3/24/228b452cc10a4ac22cf9c2317eadb84cf4d18a85ab838bb990369acb86c1/smart_imports-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0c5fc0b6fdbb4cd47322a91adee8c1f4", "sha256": "5527a612bb2bd004f2ea4b21bd2ea1012e2eed0200411cf5a39cfd9c302b36d4" }, "downloads": -1, "filename": "smart_imports-0.2.3.tar.gz", "has_sig": false, "md5_digest": "0c5fc0b6fdbb4cd47322a91adee8c1f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5646036, "upload_time": "2019-07-14T07:59:15", "url": "https://files.pythonhosted.org/packages/f7/52/f2393bc88cd13dd2d79703e523cffbb8a0ee75e82abf7fff7a986e07da31/smart_imports-0.2.3.tar.gz" } ] }