Skip to main content

itertools and more-itertools all in one namespace

Project description

Python’s more-itertools is a fantastic compliment to itertools but it’s inconvenient to have to constantly look up which itertool is in which library. Oops All Itertools heaps them together into a loose pile in a single namespace.

Inspired by more-itertools issue 681

Build Status

Code:

https://github.com/lonnen/oops-all-itertools

Issues:

https://github.com/lonnen/oops-all-itertools/issues

Releases:

https://pypi.org/project/oops_all_itertools/#history

License:

MIT; See LICENSE

Install

To get started, install the library with pip:

$ pip install oops-all-itertools

Usage

>>> from oops_all_itertools import chain, chunked

>>> list(chain.from_iterable(chunked(range(6), 3)))
[0, 1, 2, 3, 4, 5]

For the full list of functions, see the itertools API documentation and the more-itertools API documentation.

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

oops-all-itertools-2.0.2.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

oops_all_itertools-2.0.2-py2.py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 2 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