From 26a25aef4a09e8d38ac8b108c84399d76a428775 Mon Sep 17 00:00:00 2001 From: Waylon Walker Date: Fri, 11 Jun 2021 07:24:53 -0500 Subject: [PATCH] Clean remove four letter things --- pypi-list.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pypi-list.py b/pypi-list.py index 3fdf69f..8f1ce55 100644 --- a/pypi-list.py +++ b/pypi-list.py @@ -59,24 +59,12 @@ pipeline = Pipeline( outputs="packages", name="packages", ), - node( - lambda packages: [package for package in packages if len(package) == 4], - inputs="packages", - outputs="four_letter_packages", - name="four_letter_packages", - ), node( lambda words: words.split(), inputs="raw_words_alpha", outputs="words", name="words", ), - node( - lambda words: [word for word in words if len(word) == 4], - inputs="words", - outputs="four_letter_words", - name="four_letter_words", - ), node( lambda words, packages: list(set(words) - set(packages)), inputs=["words", "packages"],