Metadata-Version: 2.1
Name: oops-all-itertools
Version: 3.3.1
Summary: itertools and more-itertools all in one namespace
Keywords: itertools,iterator,iteration,filter,peek,peekable,chunk,chunked
Author: Lonnen
Description-Content-Type: text/x-rst
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: more-itertools == 10.3.0
Project-URL: Home, https://github.com/lonnen/oops-all-itertools

==================
Oops All Itertools
==================

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 <https://github.com/more-itertools/more-itertools/issues/681>`_

|Build Status|

.. |Build Status| image:: https://github.com/lonnen/oops-all-itertools/actions/workflows/python-app.yml/badge.svg?branch=main
   :target: https://github.com/lonnen/oops-all-itertools/actions/workflows/python-app.yml

: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 <https://pip.pypa.io/en/stable/>`_:

.. code-block:: shell

    $ pip install oops-all-itertools


Usage
=====

.. code-block:: python

    >>> 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 <https://docs.python.org/3/library/itertools.html>`_
and the `more-itertools API documentation <https://more-itertools.readthedocs.io/en/stable/api.html>`_.
