Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Plugin handling system

Project Description

(Spelled like multiplug) The purpose of this module is to provide a dead simple plugin handler module. I wanted something:

  1. Capable of handling multiple plugins (and that’s pretty obvious)
  2. Capable of handling multiple implementation of the same plugin
  3. Capable of handling multiple pkg_resources.WorkingSet-s… by itself
  4. Easy to initialize in your pluggable application/framework.

I wanted somthing like:

content_types = multipla.power_up('scriba.content_types')

def to_json(object):
    content_type = content_types.get('application/json')
    return content_type.format(ojbect)

def to_user_supplied_type(object, content_type):
    return content_types.get(content_type).format(object)

or:

from loremipsum import generator
import multipla

samples = multipla.power_up('loremipsum.samples')
vaporware = generator.Generator(samples.get('vaporware'))

You can read more on Pythonhosted or Read the Docs. Since this package has en extensive docstring documentation as well as code comments, you can read more browsing the source code or in the python interactive shell.

Release History

This version
History Node

0.3.3

History Node

0.3.2

History Node

0.3.0

History Node

0.2.0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
multipla-0.3.3-py2.py3-none-any.whl
(9.4 kB) Copy SHA256 Hash SHA256
Wheel 2.7 Dec 7, 2014
multipla-0.3.3.tar.gz
(9.8 kB) Copy SHA256 Hash SHA256
Source None Dec 7, 2014
multipla-0.3.3.zip
(14.1 kB) Copy SHA256 Hash SHA256
Source None Dec 7, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting