Skip to main content

Building blocks for iterators, preserving their :func:`len`\ s.

Project description

pkg docs ci cov

Have you ever been annoyed that the length information of itertools have not been preserved?

This module faithfully wraps every one of them (together with map) where len can be derived:

>>> from itertools_len import chain, product
>>> len(chain('abc', [1, 2]))
>>> len(product('abc', [1, 2]))

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for itertools-len, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size itertools_len-1.0-py3-none-any.whl (16.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size itertools-len-1.0.tar.gz (18.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page