SkillAgentSearch skills...

Lazylist

Lazily evaluated lists in Python

Install / Use

/learn @ryanhaining/Lazylist
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

lazylist

Lazily evaluated lists in Python

A lazylist.List accepts a single iterable as its only constructor argument. The intention is for this to be a generator. The lazylist.List will behave as a normal list does, but will only evaluate the iterable as it needs to. If there is a request for index [5], then elements 0 - 5 will be evaluated if they have not been yet. Certain operations like len and negative indexing will force the list to be evaluated. This decision was made to make the lazylist outwardly appear as much like a normal list as possible.

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated4mo ago
Forks3

Languages

Python

Security Score

87/100

Audited on Nov 8, 2025

No findings