{ "info": { "author": "Eugene Eeo", "author_email": "packwolf58@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "::\r\n\r\n Python _ _ _\r\n _ __(_)__ _ __ _ _ _ _ _| |__ __ _ __| |__\r\n | '_ \\ / _` / _` | || | || | '_ \\/ _` / _| / /\r\n | .__/_\\__, \\__, |\\_, |\\_, |_.__/\\__,_\\__|_\\_\\\r\n |_| |___/|___/ |__/ |__/\r\n\r\n\r\n**Supported Pythons:** 2.6+, 3.2+\r\n\r\nPython package for finding modules recursively and then\r\nimporting them. Useful for scripts/libraries which expose\r\nDSL-like stuff, like test suites and configuration.\r\n\r\nDevelopment goals include extensibility and stability. We\r\naim for a robust API that although doesn't do much does what\r\nit does well. Currently we think that we've reached those\r\ngoals.\r\n\r\n.. code-block:: python\r\n\r\n from piggyback.finder import Finder\r\n from piggyback.loader import Loader\r\n\r\n importer = Loader(Finder('path'))\r\n for module in importer.search():\r\n print(module)\r\n\r\n cache = importer.import_all()\r\n module = cache['path.module']\r\n\r\nLet Piggyback manage all the hackery required for you and\r\ngo write some code. No more manual ``execfiles`` and namespace\r\nmanagement madness. Piggyback does importing and namespaces\r\nright, namely:\r\n\r\n- We isolate every module that we ``__import__``, and their\r\n namespaces are separate of one another, as well as the\r\n current module. No namespace clashes.\r\n\r\n- The ``sys.path`` variable remains unchanged at the end of\r\n the importing- Piggyback will ensure that the `sys.path`\r\n is cleansed of all appended paths once we are finished with\r\n the importing.\r\n\r\nTo install the current version of the package, simply do a\r\n``pip install piggyback``. For the documentation you can\r\nsimply visit the `docs`_ on Github pages.\r\n\r\n.. _docs: https://eugene-eeo.github.io/piggyback\r\n\r\n.. image:: https://travis-ci.org/eugene-eeo/piggyback.svg?branch=master\r\n :target: https://travis-ci.org/eugene-eeo/piggyback\r\n\r\n.. image:: http://img.shields.io/pypi/v/Piggyback.svg\r\n :target: https://pypi.python.org/pypi/Piggyback", "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/eugene-eeo/piggyback", "keywords": "", "license": "UNKNOWN", "maintainer": "", "maintainer_email": "", "name": "Piggyback", "package_url": "https://pypi.org/project/Piggyback/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Piggyback/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/eugene-eeo/piggyback" }, "release_url": "https://pypi.org/project/Piggyback/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Recursive module importer", "version": "0.1.2" }, "last_serial": 1196690, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "556e0100afeb22c216f060805edac86c", "sha256": "42285216571bb5d4bc6e5c1f7ab1967ee1d17cf9ea9fc22a3de0c459c94f91dc" }, "downloads": -1, "filename": "Piggyback-0.1.tar.gz", "has_sig": false, "md5_digest": "556e0100afeb22c216f060805edac86c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3673, "upload_time": "2014-08-16T14:40:21", "url": "https://files.pythonhosted.org/packages/0d/a0/58de77d6cdce8ee332f012f789b112f33c9c9d766221fff1a6f7bb148545/Piggyback-0.1.tar.gz" } ], "0.1-beta": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fe09e8763d75dbf71ff40bdbc1c5e3ea", "sha256": "cb1a625a270cc0bfb7697dffedc2b4bd603e73323a1f8751221fc1ae677cb85f" }, "downloads": -1, "filename": "Piggyback-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fe09e8763d75dbf71ff40bdbc1c5e3ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3944, "upload_time": "2014-08-19T13:53:43", "url": "https://files.pythonhosted.org/packages/5d/60/fe8a69fa4b6fb108ea2ede4d25a150b910d6970cc14989ed5fe3912fbc44/Piggyback-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "715ec258f747b9a623ae6eebee6101b8", "sha256": "5fb9dbd655dbf49dde658d3cbca5b4bf8e8e0a91d4637e135ef177637fb21542" }, "downloads": -1, "filename": "Piggyback-0.1.2.tar.gz", "has_sig": false, "md5_digest": "715ec258f747b9a623ae6eebee6101b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3762, "upload_time": "2014-08-19T13:54:47", "url": "https://files.pythonhosted.org/packages/f9/fa/e0912eec4c27e15f17ec9076418c4a0793711c043b8fcc277fe2e6773230/Piggyback-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "715ec258f747b9a623ae6eebee6101b8", "sha256": "5fb9dbd655dbf49dde658d3cbca5b4bf8e8e0a91d4637e135ef177637fb21542" }, "downloads": -1, "filename": "Piggyback-0.1.2.tar.gz", "has_sig": false, "md5_digest": "715ec258f747b9a623ae6eebee6101b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3762, "upload_time": "2014-08-19T13:54:47", "url": "https://files.pythonhosted.org/packages/f9/fa/e0912eec4c27e15f17ec9076418c4a0793711c043b8fcc277fe2e6773230/Piggyback-0.1.2.tar.gz" } ] }