Codebase list python-lml / master
master

Tree @master (Download .tar.gz)

lml - Load me later. A lazy plugin management system.

https://api.travis-ci.org/chfw/lml.svg https://codecov.io/github/chfw/lml/coverage.png https://readthedocs.org/projects/lml/badge/?version=latest

lml seamlessly finds the lml based plugins from your current python environment but loads your plugins on demand. It is designed to support plugins that have external dependencies, especially bulky and/or memory hungry ones. lml provides the plugin management system only and the plugin interface is on your shoulder.

lml enabled applications helps your customers [1] in two ways:

  1. Your customers could cherry-pick the plugins from pypi per python environment. They could remove a plugin using pip uninstall command.
  2. Only the plugins used at runtime gets loaded into computer memory.

When you would use lml to refactor your existing code, it aims to flatten the complexity and to shrink the size of your bulky python library by distributing the similar functionalities across its plugins. However, you as the developer need to do the code refactoring by yourself and lml would lend you a hand.

[1]the end developers who uses your library and packages achieve their objectives.

Installation

You can install lml via pip:

$ pip install lml

or clone it and install it:

$ git clone https://github.com/chfw/lml.git
$ cd lml
$ python setup.py install

License

New BSD