Skip to main content

Alternative `enumerate` that can be reversed

Project description

https://travis-ci.org/cjrh/enumerate_reversible.svg?branch=master https://coveralls.io/repos/github/cjrh/enumerate_reversible/badge.svg?branch=master https://img.shields.io/pypi/pyversions/enumerate_reversible.svg https://img.shields.io/github/tag/cjrh/enumerate_reversible.svg https://img.shields.io/badge/install-pip%20install%20enumerate_reversible-ff69b4.svg https://img.shields.io/pypi/v/enumerate_reversible.svg https://img.shields.io/badge/calver-YYYY.MM.MINOR-22bfda.svg

enumerate_reversible

Alternative to the builtin enumerate(), that can be fed into another builtin, reversed(), as long as the collection being passed in implements the Sized abstract base class, which means that it implements __len__(). Note that it does not need to implement __getitem__.

Project details


Download files

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

Source Distribution

enumerate_reversible-2020.4.2.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

enumerate_reversible-2020.4.2-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page