Skip to main content

SSPM simple plugin manger based on YAPSY

Project description

Super Simple Plugin Manager - SSPM

About SSPM

Super Simple Plugin Manager - SSPM is a simple Python library I created based off of Thibauld Nion's yapsy. I liked how yapsy uses a config file in conjunction with a python module for locating and describing plugins. This plugin manager does not have the robustness and customizability that yapsy has but allows for much quicker implementation out of the box. It is meant to be a very simple ready to go hands off plugin manager.

Usage

  1. Initialize the plugin manager

    plugin_manager = PluginManager(plugin_folder=\<INSERT PLUGINS DIR PATH HERE\>)
    
  2. Import the plugins in the plugins directory

    plugin_manager.import_plugins()
    
  3. Get the imported plugin

    plugin = sspm.get_active_plugin("Plugin name")
    

    or

    plugins = sspm.active_plugins
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SSPM-1.1.0.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file SSPM-1.1.0.tar.gz.

File metadata

  • Download URL: SSPM-1.1.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.4

File hashes

Hashes for SSPM-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d83bb50b7b17e9cae6c7e47bd5338525a73815385e78f9470402ecaf3fe28a02
MD5 0ab552911dad878eb93d44e0c5de906d
BLAKE2b-256 71e354d759b4a8ef562d2d92941f8489a22757cfea54a72fd71cc9ddf083357c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page