lml
Load me later. A lazy plugin management system.
Decision gist · record as of 2026-08-14
Yes, if you are building a library or application that needs a plugin architecture and want to defer loading of heavy dependencies. The package is stable, has no external dependencies, and is used in established projects. However, the aging maintenance status means you should verify it works with your target Python versions before committing to it as a core dependency.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- Maintenance status is aging—last release was 516 days ago, though the repository remains active.
License · maintenance · safety
New BSD (permissive) — Licensed under New BSD (permissive), allowing commercial and private use with minimal restrictions.
last release 2025-03-16 (516 days) · last repo commit 2025-03-22 · 12 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,580,018 downloads/mo, #2,992 on PyPI
Alternatives
Verify before relying
from lml.plugin import PluginInfo, PluginManager
@PluginInfo("cuisine", tags=["Portable Battery"])
class Boost(object):
def make(self, food=None, **keywords):
print("I can cook %s for robots" % food)
class CuisineManager(PluginManager):
def __init__(self):
PluginManager.__init__(self, "cuisine")
manager = CuisineManager()
chef = manager.get_a_plugin("Portable Battery")
chef.make()- Whether lazy loading actually reduces memory footprint in practice for typical plugin scenarios
- Current Python version support—classifiers list Python 2.6 through 3.8, but 0.2.0 removed Python 2 support; exact supported range unclear
What it is and what it does
lml is a plugin management framework that lets you define, discover, and load plugins from your Python environment without loading them all at startup. Instead of importing all plugins upfront—which can be slow and memory-intensive if they have heavy dependencies—lml defers loading until you actually request a plugin. You decorate plugin classes or functions with @PluginInfo, subclass PluginManager to define how plugins are retrieved, and call get_a_plugin() when needed. The system discovers plugins installed in your environment automatically, so users can add or remove plugins via pip without changing your application code.
The package has no runtime dependencies and is designed for library authors who want to let their users pick and choose optional functionality. It replaces the Factory pattern with a discovery-based approach, making it easier to distribute related features across separate installable packages. lml handles the registration and lookup; you handle the plugin interface design.
Use it for
- Modular data processing libraries where users install only the format handlers or transformers they need
- Applications with optional integrations that should not load unless used
- Large projects that want to split functionality into separate packages to reduce initial import time
- Plugin ecosystems where end users can extend functionality by installing third-party packages without modifying core code
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a library or application that needs a plugin architecture and want to defer loading of heavy dependencies.
The package is stable, has no external dependencies, and is used in established projects. However, the aging maintenance status means you should verify it works with your target Python versions before committing to it as a core dependency.
Install
lml on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance status is aging—last release was 516 days ago, though the repository remains active.
License in practice
Licensed under New BSD (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
from lml.plugin import PluginInfo, PluginManager
@PluginInfo("cuisine", tags=["Portable Battery"])
class Boost(object):
def make(self, food=None, **keywords):
print("I can cook %s for robots" % food)
class CuisineManager(PluginManager):
def __init__(self):
PluginManager.__init__(self, "cuisine")
manager = CuisineManager()
chef = manager.get_a_plugin("Portable Battery")
chef.make()
Verify before relying
- Whether lazy loading actually reduces memory footprint in practice for typical plugin scenarios
- Current Python version support—classifiers list Python 2.6 through 3.8, but 0.2.0 removed Python 2 support; exact supported range unclear
Package facts
| License | New BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 516 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,580,018 / month, #2,992 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Topic :: Software Development :: Libraries |
Evidence: lml-0.2.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “lazy plugin loading”
- lmllml provides a lazy plugin management system that discovers and loads…
- napari-plugin-engineA plugin discovery and hook-calling system for napari, enabling…
- LazifyLazify provides lazy evaluation utilities for Python, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also stevedore · pluginlib · lazy-model · plux · lazy-loader · Lazify · lazy-import · plugincode · pluginbase · nornir