skillfed

lmz

small functions that should be part of python3, supplementing generator functions

lmz v0.1.20 83.7K downloads/30d#14,056 on PyPI0
Copyleft license GPLv3 DORMANT released

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 on this page — 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

lmz on PyPI

pip

pip install lmz

uv

uv add lmz

poetry

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 the current Python release (>=3.8)
Install friction high — source build required
Runtime dependencies none
Maintenance dormant — 730 days since the last release
Last repo commit
First released
Downloads 83,668/month — #14,056 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: lmz-0.1.20.tar.gz

Tags

map filter group iterablespython list utilitiesgrouper transpose flattenfunctional programming helpersiterable manipulation tools
functional-programmingsequence-utilities

More Software Development packages