--- id: lmz version: "0.1.20" license: GPLv3 license_treatment: copyleft maintenance: dormant --- # lmz — small functions that should be part of python3, supplementing generator functions License: copyleft · Maintenance: dormant · Downloads: 83.7K/mo ## What it is and what it does lmz is a small utility library that wraps common functional programming operations—Map, Zip, Filter, Grouper, Range, Transpose, Flatten—into convenient functions intended to supplement Python's built-in generator tools. It has no runtime dependencies and is designed for developers who want a more direct, list-returning interface to these operations rather than working with iterators or generator expressions. The package is dormant (last release 2024-08-14) and carries a GPLv3 copyleft license. It supports Python >=3.8. Use it when you need quick, readable functional transformations on sequences and prefer explicit function calls over chained comprehensions or itertools. Use it for: - Group a sequence into fixed-size chunks without manual slicing logic. - Apply a function with keyword arguments across an iterable using Map. - Flatten nested iterables from grouping or other operations. - Transpose a 2D structure (e.g., rows to columns) in a single call. - Select a specific element from an iterator by index without materializing the whole sequence. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides convenience functions for mapping, filtering, grouping, and transposing iterables—operations that complement Python's built-in generator functions. Yes, if you work frequently with sequences and prefer explicit, readable functional calls over comprehensions or itertools—and if you accept GPLv3 licensing. No, if you need active maintenance, comprehensive documentation, or proprietary-compatible licensing. The high install friction and dormant status suggest it is stable but not under active development. ## Install pip install lmz uv add lmz poetry add lmz ## Installing lmz Before you install: High install friction with no runtime dependencies. Package is dormant (last update 2024-08-14), though it remains available and supports current Python versions (>=3.8). License in practice: GPLv3 copyleft license requires that any derivative work or distribution be licensed under GPLv3 as well—suitable for open-source projects but restrictive for proprietary use. Quickstart: pip install lmz from lmz import Map, Grouper, Flatten, Transpose result = Map(lambda x: x + 1, range(5)) grouped = Grouper(range(10), 3) Requires Python >=3.8. Verify before relying: - What 'high install friction' means for a zero-dependency package (may reflect distribution or build issues). - Whether dormant status indicates the package is no longer receiving updates or is stable as-is. - Current maintenance intentions and whether the repository accepts contributions. ## Package facts - License: GPLv3 (copyleft) - Python support: supports_current - Install friction: high - Maintenance: dormant - Downloads: 83.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags map filter group iterables, python list utilities, grouper transpose flatten, functional programming helpers, iterable manipulation tools, functional-programming, sequence-utilities [View on SkillFed](https://skillfed.io/packages/lmz) · [View on PyPI](https://pypi.org/project/lmz/)