{ "info": { "author": "Faraz Yashar", "author_email": "faraz.yashar@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development", "Topic :: Utilities" ], "description": "The Smuggler \ud83d\udeac\n===============\n\n.. image:: https://travis-ci.org/fny/thesmuggler.svg?branch=master\n :target: https://travis-ci.org/fny/thesmuggler\n :alt: Build Status\n\n.. image:: https://badge.fury.io/py/thesmuggler.svg\n :target: https://pypi.python.org/pypi/thesmuggler\n :alt: Smuggler on PyPI\n\nSidestep :code:`import` and load Python files as relative paths.\n\nIntended for one-off imports (e.g. global configuration). Currently, :code:`thesmuggler` can't import files that import other local packages, but you can :code:`smuggle` files that\nhave already smuggled other files.\n\nTested and working on Python 2.7 and up.\n\nUsage\n-----\n\n:code:`pip install thesmuggler`, then:\n\n.. code:: python\n\n from thesmuggler import smuggle\n\n # \u00c0 la `import weapons`\n weapons = smuggle('weapons.py')\n\n # \u00c0 la `from contraband import drugs, alcohol`\n drugs, alcohol = smuggle('drugs', 'alcohol', source='contraband.py')\n\n # \u00c0 la `from contraband import drugs as dope, alcohol as booze`\n dope, booze = smuggle('drugs', 'alcohol', source='contraband.py')\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fny/thesmuggler", "keywords": "import modules packages files", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "thesmuggler", "package_url": "https://pypi.org/project/thesmuggler/", "platform": "", "project_url": "https://pypi.org/project/thesmuggler/", "project_urls": { "Homepage": "https://github.com/fny/thesmuggler" }, "release_url": "https://pypi.org/project/thesmuggler/1.0.1/", "requires_dist": null, "requires_python": "", "summary": "Sidestep import and load Python files as relative paths", "version": "1.0.1" }, "last_serial": 3252372, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "5cc0c91ad8534aefa25287cb4674b89b", "sha256": "cc237191065ace11e93115154a81ccc1c3f860945b66676a328a7adfb73fc373" }, "downloads": -1, "filename": "thesmuggler-1.0.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "5cc0c91ad8534aefa25287cb4674b89b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3862, "upload_time": "2017-10-15T21:47:58", "url": "https://files.pythonhosted.org/packages/ce/a0/ab5c4bac828ee34c11759935bad04040c64f00fa20e37fb3c4a3e3beb273/thesmuggler-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "31c131ab6172f4668eb53a4107f8dae9", "sha256": "b3bbfa70f91f1381d9e1b7f00981ba97429d199199f73910f40ee78a2e9c3bc7" }, "downloads": -1, "filename": "thesmuggler-1.0.0.tar.gz", "has_sig": true, "md5_digest": "31c131ab6172f4668eb53a4107f8dae9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3036, "upload_time": "2017-10-15T21:47:59", "url": "https://files.pythonhosted.org/packages/f2/d0/1cdbf41625d53ee1861f64496e3fc8f9b05bdbbb4d75fb0f9975212ee565/thesmuggler-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "4bcca56b3c7ee5a367506e133436da37", "sha256": "d153131355aa0a53e2e124c40e777413397c7960966b0d006699f66ffb7f90d0" }, "downloads": -1, "filename": "thesmuggler-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "4bcca56b3c7ee5a367506e133436da37", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3892, "upload_time": "2017-10-15T23:45:21", "url": "https://files.pythonhosted.org/packages/c1/97/41b17caf76c6019479f3dbda3f374eaaa9cc5b2ef0a2158027263146a070/thesmuggler-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9405367db90ec1860189697e33eafc65", "sha256": "9c8e6942626dd69cfd6beb6ef577232646a3af21d829f67273cec30d5b15b689" }, "downloads": -1, "filename": "thesmuggler-1.0.1.tar.gz", "has_sig": true, "md5_digest": "9405367db90ec1860189697e33eafc65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3059, "upload_time": "2017-10-15T23:45:22", "url": "https://files.pythonhosted.org/packages/07/02/01179d6b54d13b6509dd78040d6ee5548dc9e5a86e8704bd7a9f4ab1af02/thesmuggler-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4bcca56b3c7ee5a367506e133436da37", "sha256": "d153131355aa0a53e2e124c40e777413397c7960966b0d006699f66ffb7f90d0" }, "downloads": -1, "filename": "thesmuggler-1.0.1-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "4bcca56b3c7ee5a367506e133436da37", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3892, "upload_time": "2017-10-15T23:45:21", "url": "https://files.pythonhosted.org/packages/c1/97/41b17caf76c6019479f3dbda3f374eaaa9cc5b2ef0a2158027263146a070/thesmuggler-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9405367db90ec1860189697e33eafc65", "sha256": "9c8e6942626dd69cfd6beb6ef577232646a3af21d829f67273cec30d5b15b689" }, "downloads": -1, "filename": "thesmuggler-1.0.1.tar.gz", "has_sig": true, "md5_digest": "9405367db90ec1860189697e33eafc65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3059, "upload_time": "2017-10-15T23:45:22", "url": "https://files.pythonhosted.org/packages/07/02/01179d6b54d13b6509dd78040d6ee5548dc9e5a86e8704bd7a9f4ab1af02/thesmuggler-1.0.1.tar.gz" } ] }