GitXplorerGitXplorer
f

itertools-len

public
2 stars
3 forks
1 issues

Commits

List of commits on branch main.
Verified
1cfb34c5f03cf752c88b662aea223766a18aeec9

[pre-commit.ci] pre-commit autoupdate (#98)

ppre-commit-ci[bot] committed 5 days ago
Verified
091b2b4d94c016f54de7ef0ab99e4b2487e5a80a

[pre-commit.ci] pre-commit autoupdate (#97)

ppre-commit-ci[bot] committed 11 days ago
Verified
aab052e2132595ec73a834cae559f7639ee296b4

[pre-commit.ci] pre-commit autoupdate (#96)

ppre-commit-ci[bot] committed 23 days ago
Verified
1b2dd5beb51a49174fe9673e096a98f94da2095d

[pre-commit.ci] pre-commit autoupdate (#95)

ppre-commit-ci[bot] committed a month ago
Verified
123f833d423e4501bf960f6fe910cd2c81fc33ba

[pre-commit.ci] pre-commit autoupdate (#94)

ppre-commit-ci[bot] committed a month ago
Verified
998b7f0d2b905176ef0f3b38c4bf6cfd97720a8c

[pre-commit.ci] pre-commit autoupdate (#93)

ppre-commit-ci[bot] committed 2 months ago

README

The README file for this repository.

itertools-len

|pkg| |docs| |ci| |cov|

.. |pkg| image:: https://img.shields.io/pypi/v/itertools-len :target: https://pypi.org/project/itertools-len .. |docs| image:: https://readthedocs.org/projects/itertools-len/badge/?version=latest :target: https://itertools-len.readthedocs.io .. |ci| image:: https://github.com/flying-sheep/itertools-len/actions/workflows/python-package.yml/badge.svg :target: https://github.com/flying-sheep/itertools-len/actions/workflows/python-package.yml .. |cov| image:: https://codecov.io/gh/flying-sheep/itertools-len/branch/master/graph/badge.svg :target: https://codecov.io/gh/flying-sheep/itertools-len

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])) 5 len(product('abc', [1, 2])) 6