Skip to main content

Load me later. A lazy loading plugin management system.

Project description

https://api.travis-ci.org/chfw/lml.svg?branch=master 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.

Installation

You can install it 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

Change log

0.0.1 - 30/05/2017

first release

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

lml-0.0.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

lml-0.0.1-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lml-0.0.1.tar.gz.

File metadata

  • Download URL: lml-0.0.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lml-0.0.1.tar.gz
Algorithm Hash digest
SHA256 12783c8851bb1b1aacf6d139aa41fb529e1723bff863e71034af07a55bf1e5a3
MD5 6c4e9b0cc53c8be5195d696dcc09e6c9
BLAKE2b-256 8c7cf6d8f39e3663d6db2b1ceb4c72bbc0b7e18d6b1fb4c66c879a0d973c42aa

See more details on using hashes here.

File details

Details for the file lml-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for lml-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 58a11170ecb0ce5e4680ad8971f1e353b795d58953217d65c9a56e0d774261d6
MD5 eebc26960153f6d3115f169bffd7dbef
BLAKE2b-256 21952362855180df8aea80c18d7d5ea5f8e3a46f678c3b132be3b76ebd97c995

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