$npx skillfedfor your agent

slicerator

A lazy-loading, fancy-sliceable iterable.

With conditionsPyPI Software DevelopmentReleased Apr 2022337.8K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — slicerator-1.1.0-py3-none-any.whl
v1.1.0 · released 2022-04-07

Yes, if you need lazy-loading with fancy indexing and have a class-based data source. The low install friction, permissive license, and zero runtime dependencies make it a lightweight addition. However, the package is aging—latest release 2022-04-07—so verify it meets your Python version and use case before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction: pure Python wheel with no runtime dependencies.
  • Maintenance is aging—last release was 2022-04-07 and the repository has not been updated since 2025-06-30, though it remains unarchived.

License · maintenance · safety

BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions.

last release 2022-04-07 (1590 days) · last repo commit 2025-06-30 · 18 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 337,812 downloads/mo, #7,444 on PyPI

Verify before relying

from slicerator import Slicerator

@Slicerator.from_class
class MyLazyLoader:
    def __getitem__(self, i):
        return thing
    def __len__(self):
        return number_of_things

a = MyLazyLoader()
s1 = a[::2]
data = s1[0]
  • Whether the package is actively maintained or in maintenance-only mode given the gap between latest release and recent commits.
  • Performance characteristics when chaining multiple slicerator operations or working with very large datasets.
Same gist for agents: .md · .json

What it is and what it does

Slicerator is a decorator-based wrapper that turns a class with `__getitem__` and `__len__` methods into a lazy-loading, reusable iterable. Unlike a generator, a Slicerator object can be indexed multiple times and has a known length; unlike a list, it defers data loading until you actually access an element. You decorate your data-loading class with `@Slicerator.from_class`, and the wrapper automatically handles slices (e.g., `obj[::2]`), integer lists, and boolean masks—all without loading data until the final indexing operation.

The package is designed for scenarios where you want the convenience of array-like indexing and slicing but need to avoid loading everything into memory upfront. It chains slicing operations lazily, so `obj[::2][1:]` computes the combined slice without materializing intermediate results. With no runtime dependencies and a pure-Python implementation, it integrates easily into existing projects.

Use it for

  • Wrapping a file reader or database query class to support array-like slicing without loading all records into memory.
  • Building lazy-loading image or video frame sequences that only decode frames when indexed.
  • Creating a filtered or transformed view of a dataset that defers computation until specific elements are accessed.
  • Chaining multiple slice operations on large datasets to avoid intermediate materialization.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need lazy-loading with fancy indexing and have a class-based data source.

The low install friction, permissive license, and zero runtime dependencies make it a lightweight addition. However, the package is aging—latest release 2022-04-07—so verify it meets your Python version and use case before committing.

Install

slicerator on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Maintenance is aging—last release was 2022-04-07 and the repository has not been updated since 2025-06-30, though it remains unarchived.

License in practice

BSD license is permissive, allowing commercial and private use with minimal restrictions.

Quickstart

from slicerator import Slicerator

@Slicerator.from_class
class MyLazyLoader:
    def __getitem__(self, i):
        return thing
    def __len__(self):
        return number_of_things

a = MyLazyLoader()
s1 = a[::2]
data = s1[0]

Verify before relying

  • Whether the package is actively maintained or in maintenance-only mode given the gap between latest release and recent commits.
  • Performance characteristics when chaining multiple slicerator operations or working with very large datasets.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 1,590 days since the last release
Last repo commit
First released
Downloads337,812 / month, #7,444 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: slicerator-1.1.0-py3-none-any.whl

Tags

Capabilities
lazy loading iterablefancy slicing generatorreusable generator with lengthdeferred data loadingslice-aware iterator wrapper
Topics
lazy-loadingiterator-wrapper

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 loading iterable”

  • sliceratorSlicerator wraps a class's `__getitem__` method to create a…
  • flupyFlupy provides a fluent interface for lazy evaluation of operations…
  • iterproxyWraps any iterable object to provide ORM-style query methods like…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also iterproxy · Lazify · lazy-import · renew · ordered-set · slicer · wraps · lazy-loader · vine