==================
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>`_.
Raw data
{
"_id": null,
"home_page": "",
"name": "oops-all-itertools",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "itertools,iterator,iteration,filter,peek,peekable,chunk,chunked",
"author": "Lonnen",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/e2/97/edfada13fe74a60b61eb9a548cf8282047ee4913ecc473c3587e2cad84e5/oops-all-itertools-2.0.2.tar.gz",
"platform": null,
"description": "==================\nOops All Itertools\n==================\n\nPython's ``more-itertools`` is a fantastic compliment to ``itertools`` but it's\ninconvenient to have to constantly look up which itertool is in which library.\nOops All Itertools heaps them together into a loose pile in a single namespace.\n\nInspired by `more-itertools issue 681 <https://github.com/more-itertools/more-itertools/issues/681>`_\n\n|Build Status|\n\n.. |Build Status| image:: https://github.com/lonnen/oops-all-itertools/actions/workflows/python-app.yml/badge.svg?branch=main\n :target: https://github.com/lonnen/oops-all-itertools/actions/workflows/python-app.yml\n\n:Code: https://github.com/lonnen/oops-all-itertools\n:Issues: https://github.com/lonnen/oops-all-itertools/issues\n:Releases: https://pypi.org/project/oops_all_itertools/#history\n:License: MIT; See LICENSE\n\nInstall\n=======\n\nTo get started, install the library with `pip <https://pip.pypa.io/en/stable/>`_:\n\n.. code-block:: shell\n\n $ pip install oops-all-itertools\n\n\nUsage\n=====\n\n.. code-block:: python\n\n >>> from oops_all_itertools import chain, chunked\n\n >>> list(chain.from_iterable(chunked(range(6), 3)))\n [0, 1, 2, 3, 4, 5]\n\n\nFor the full list of functions, see the `itertools API documentation <https://docs.python.org/3/library/itertools.html>`_\nand the `more-itertools API documentation <https://more-itertools.readthedocs.io/en/stable/api.html>`_.\n",
"bugtrack_url": null,
"license": "",
"summary": "itertools and more-itertools all in one namespace",
"version": "2.0.2",
"split_keywords": [
"itertools",
"iterator",
"iteration",
"filter",
"peek",
"peekable",
"chunk",
"chunked"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "0404ade687df21efe74980ed7ae0229dc52be472ff1c85abea49be23243bf6f6",
"md5": "0de205e4335e00f289da4fe105cfca68",
"sha256": "ac50652bee06a54db7a03f279c3ee257dc7a47e4c7d31f0e3a7e1a2931073628"
},
"downloads": -1,
"filename": "oops_all_itertools-2.0.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0de205e4335e00f289da4fe105cfca68",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 2825,
"upload_time": "2023-04-21T08:06:51",
"upload_time_iso_8601": "2023-04-21T08:06:51.164812Z",
"url": "https://files.pythonhosted.org/packages/04/04/ade687df21efe74980ed7ae0229dc52be472ff1c85abea49be23243bf6f6/oops_all_itertools-2.0.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e297edfada13fe74a60b61eb9a548cf8282047ee4913ecc473c3587e2cad84e5",
"md5": "02f21b230dcf8fbef734a0ce1cad53e9",
"sha256": "58e6b84e130c4b892588c6116cbb96f27303f09de7ee6b27e8e7e1fabd6ff68f"
},
"downloads": -1,
"filename": "oops-all-itertools-2.0.2.tar.gz",
"has_sig": false,
"md5_digest": "02f21b230dcf8fbef734a0ce1cad53e9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2373,
"upload_time": "2023-04-21T08:06:53",
"upload_time_iso_8601": "2023-04-21T08:06:53.723237Z",
"url": "https://files.pythonhosted.org/packages/e2/97/edfada13fe74a60b61eb9a548cf8282047ee4913ecc473c3587e2cad84e5/oops-all-itertools-2.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-21 08:06:53",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "oops-all-itertools"
}