Load me later. A lazy plugin management system.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.moban.d
docs
examples
lml
tests
.gitignore
.moban.yml
.travis.yml
CHANGELOG.rst
LICENSE
MANIFEST.in
Makefile
README.rst
changelog.yml
lml.yml
requirements.txt
rnd_requirements.txt
setup.cfg
setup.py
test.sh

README.rst

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

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