Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pluginbase

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pluginbase

PluginBase is a module for Python that enables the development of flexible plugin systems in Python.

  • 1.0.1
  • PyPI
  • Socket score

Maintainers
2

PluginBase

PluginBase is a module for Python that enables the development of flexible plugin systems in Python.

Step 1:

.. code-block:: python

from pluginbase import PluginBase plugin_base = PluginBase(package='yourapplication.plugins')

Step 2:

.. code-block:: python

plugin_source = plugin_base.make_plugin_source( searchpath=['./path/to/plugins', './path/to/more/plugins'])

Step 3:

.. code-block:: python

with plugin_source: from yourapplication.plugins import my_plugin my_plugin.do_something_cool()

Or alternatively:

.. code-block:: python

my_plugin = plugin_source.load_plugin('my_plugin') my_plugin.do_something_cool()

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc