{ "info": { "author": "Benjamin Schollnick", "author_email": "Benjamin@Schollnick.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Software Development" ], "description": "# Py Plugin Manager\n\nA slightly different take on a Python Plugin Manager for python 3.\n\n\n\n## Introduction\n\n- ###### What is a plugin?\n\n - Well, strictly, it's a component that adds a specific feature to a program. But for Py Plugin Manager, this concept is a bit less strict. \n - PPM allows any python file be loaded and reloaded dynamically.\n\n- ###### How does PPM differ from other Plugin Managers?\n\n - Currently, no changes need to be made to the module or code you wish to import.\n - Unlike some other Plugin Managers, no configuration (aka .plugin) files need to be created.\n\n- ###### Best Practices (so far)\n\n - Separate your plugins into a separate directly, so that they are not mixed in with your application code.\n - If your plugins require access to other modules that are not within the plugin directory, make sure that the sys.path is pointing to those directories so that your plugin's can successfully import those modules.\n\n\n\n## What is Py Plugin Manager? \n\nPPM allows you to quickly load in a Python module, and be able to (reasonably) easily access variables, functions, constants, etc from those modules.\n\nFor example:\n\n```python\n >>>import PyPluginMgr\n >>>test = PyPluginMgr.PlugInMgr(plugin_dir=r\".\\plugins\", allow_creation=True, plug_ext=\".py\")\n >>>test.findcandidate_files()\n```\n\nAt this point all the .py files in .\\plugins will be loaded and placed in the plugin catalog. At this point there are several ways to access the plugin contents:\n\n1. Indirectly accessing the plugin name space (via get)\n ```python\n >>>test.get(\"pyfile1\", \"__email__\")\n 'Benjamin@Schollnick.net'\n >>>test.get(\"pyfile1\", \"test\")(\"this is an example of calling a function via get\")\n test, this is an example of calling a function via get```\n\n2. Directly access the plugin name space (via get_plugin)\n ```python\n >>>activeplugin = test.get_plugin(\"pyfile1\")\n >>>activeplugin\n \n >>>activeplugin.__name__\n 'pyfile1.py'\n >>>activeplugin.test(\"hello from Test!\")\n test, hello from Test!\n ```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bschollnick/PyPluginMgr", "keywords": "Plugin", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "PyPluginMgr", "package_url": "https://pypi.org/project/PyPluginMgr/", "platform": "", "project_url": "https://pypi.org/project/PyPluginMgr/", "project_urls": { "Homepage": "https://github.com/bschollnick/PyPluginMgr" }, "release_url": "https://pypi.org/project/PyPluginMgr/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "Python Plugin Manager.", "version": "1.0.2", "yanked": false, "yanked_reason": null }, "last_serial": 8992575, "releases": { "0.501": [ { "comment_text": "", "digests": { "md5": "fab7a2ed70a6a7b14c9435a09a1b36ba", "sha256": "d99d587e979affac7049e1e2092ad53ff7a8d61b971fb1c6468b892e09be309a" }, "downloads": -1, "filename": "PyPluginMgr-0.501-py3-none-any.whl", "has_sig": false, "md5_digest": "fab7a2ed70a6a7b14c9435a09a1b36ba", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5537, "upload_time": "2019-10-22T13:40:39", "upload_time_iso_8601": "2019-10-22T13:40:39.214799Z", "url": "https://files.pythonhosted.org/packages/50/7f/d5003440d6b9f5ac86c7da4af0949853b08981346ff5736028046537f249/PyPluginMgr-0.501-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "b26e20cc92a68d7db4ba2489ad2f0667", "sha256": "1b602e456e269dd806c8d9d6b377cf0dfb5a88032576828a70c599c8a11c4698" }, "downloads": -1, "filename": "PyPluginMgr-0.501.tar.gz", "has_sig": false, "md5_digest": "b26e20cc92a68d7db4ba2489ad2f0667", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4225, "upload_time": "2019-10-22T13:40:41", "upload_time_iso_8601": "2019-10-22T13:40:41.162972Z", "url": "https://files.pythonhosted.org/packages/6f/3f/312e5f12068568bc3a708544c6f3014879dcf390b032697c3fb056c36847/PyPluginMgr-0.501.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "9e7ffd76521eab94c1e1a6f5ee058c66", "sha256": "e855cb1fc7e76615a1636c750ac4f1f153305c910005f9133517f7286f79ecaa" }, "downloads": -1, "filename": "PyPluginMgr-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9e7ffd76521eab94c1e1a6f5ee058c66", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5123, "upload_time": "2020-05-27T01:29:12", "upload_time_iso_8601": "2020-05-27T01:29:12.425556Z", "url": "https://files.pythonhosted.org/packages/10/a2/47d438a5daeea3daa4bfa4bcf0b95b6680a13c05714ca3a79a596afb23a2/PyPluginMgr-1.0.0-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "390378f08a0123d800a08caa898356b2", "sha256": "218bfbe8699147778b6474156bc276a6fdbaf3373ff1eca179d69d1e8d3f8f7d" }, "downloads": -1, "filename": "PyPluginMgr-1.0.0.tar.gz", "has_sig": false, "md5_digest": "390378f08a0123d800a08caa898356b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5643, "upload_time": "2020-05-27T01:29:13", "upload_time_iso_8601": "2020-05-27T01:29:13.542326Z", "url": "https://files.pythonhosted.org/packages/31/4c/2770ea14150399705dbddc9d2d8280b77c4e4beb1a7608e097f65ee19db1/PyPluginMgr-1.0.0.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "5df800a01385a37f1b1bba8279192021", "sha256": "ae360e20e0443d98b8d1f306cee9ffbe59f3f08e98af12a4dba1aa1cd0254680" }, "downloads": -1, "filename": "PyPluginMgr-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5df800a01385a37f1b1bba8279192021", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5230, "upload_time": "2020-12-27T12:22:24", "upload_time_iso_8601": "2020-12-27T12:22:24.027164Z", "url": "https://files.pythonhosted.org/packages/d3/23/9e0b550d93e1840aea74efeed565969f17151585416eb1307f30b2e2ff5d/PyPluginMgr-1.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "d62bef9da22c7ccbca566b39e7d7f68c", "sha256": "9fdbdfa2f57fbcf651917f570c5f243f5a5dcc47543caee66cbdfe22e024c828" }, "downloads": -1, "filename": "PyPluginMgr-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d62bef9da22c7ccbca566b39e7d7f68c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6086, "upload_time": "2020-12-27T12:22:25", "upload_time_iso_8601": "2020-12-27T12:22:25.067361Z", "url": "https://files.pythonhosted.org/packages/ba/1d/90d132f78f3bc6c013c50b87a860ea938253ec0bf35232c0ce85734315fc/PyPluginMgr-1.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "67e40ff8e1137a8d570bb7639bef7e0f", "sha256": "f5c58e1d9d32d08db5eb0c45e0c88d539d36449627065ae01d4c476dad4e2af2" }, "downloads": -1, "filename": "PyPluginMgr-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "67e40ff8e1137a8d570bb7639bef7e0f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5365, "upload_time": "2020-12-27T14:24:39", "upload_time_iso_8601": "2020-12-27T14:24:39.674259Z", "url": "https://files.pythonhosted.org/packages/c6/77/87d3ae03de25cace28438bb90947f00060872ea7b337fa3a48f5523f08a3/PyPluginMgr-1.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "4adb89aaa33701b36ef1026f5130b6ba", "sha256": "1675ad223fd1a1f7872c0c14a631a94272ca9032fb2cef5f912d2b51df5c3bfd" }, "downloads": -1, "filename": "PyPluginMgr-1.0.2.tar.gz", "has_sig": false, "md5_digest": "4adb89aaa33701b36ef1026f5130b6ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6208, "upload_time": "2020-12-27T14:24:40", "upload_time_iso_8601": "2020-12-27T14:24:40.870786Z", "url": "https://files.pythonhosted.org/packages/ca/39/f37cb6123bdbcd1c238bd11a784c65a49cfb52af4de840fe706fb5a33fa0/PyPluginMgr-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "67e40ff8e1137a8d570bb7639bef7e0f", "sha256": "f5c58e1d9d32d08db5eb0c45e0c88d539d36449627065ae01d4c476dad4e2af2" }, "downloads": -1, "filename": "PyPluginMgr-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "67e40ff8e1137a8d570bb7639bef7e0f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5365, "upload_time": "2020-12-27T14:24:39", "upload_time_iso_8601": "2020-12-27T14:24:39.674259Z", "url": "https://files.pythonhosted.org/packages/c6/77/87d3ae03de25cace28438bb90947f00060872ea7b337fa3a48f5523f08a3/PyPluginMgr-1.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "4adb89aaa33701b36ef1026f5130b6ba", "sha256": "1675ad223fd1a1f7872c0c14a631a94272ca9032fb2cef5f912d2b51df5c3bfd" }, "downloads": -1, "filename": "PyPluginMgr-1.0.2.tar.gz", "has_sig": false, "md5_digest": "4adb89aaa33701b36ef1026f5130b6ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6208, "upload_time": "2020-12-27T14:24:40", "upload_time_iso_8601": "2020-12-27T14:24:40.870786Z", "url": "https://files.pythonhosted.org/packages/ca/39/f37cb6123bdbcd1c238bd11a784c65a49cfb52af4de840fe706fb5a33fa0/PyPluginMgr-1.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }