==================
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": null,
"name": "oops-all-itertools",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "itertools, iterator, iteration, filter, peek, peekable, chunk, chunked",
"author": "Lonnen",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/dd/bb/f6ab6792e0edca0aefec7b096f90bf4e3d4543e8bbf4e21943cdc314a596/oops_all_itertools-3.3.1.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": null,
"summary": "itertools and more-itertools all in one namespace",
"version": "3.3.1",
"project_urls": {
"Home": "https://github.com/lonnen/oops-all-itertools"
},
"split_keywords": [
"itertools",
" iterator",
" iteration",
" filter",
" peek",
" peekable",
" chunk",
" chunked"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4ae2135aef63afe3ec4e9ca4dbb1739a029e9b3756c5b47ad91c25d3f4cf05ef",
"md5": "a13dce0775094f3580324254f8da5e0c",
"sha256": "331b25350708026adc11822a3d1bc7b9b0ebd401d4bba79cecb55d64cbdf45c9"
},
"downloads": -1,
"filename": "oops_all_itertools-3.3.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "a13dce0775094f3580324254f8da5e0c",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 2825,
"upload_time": "2024-06-16T04:25:50",
"upload_time_iso_8601": "2024-06-16T04:25:50.775490Z",
"url": "https://files.pythonhosted.org/packages/4a/e2/135aef63afe3ec4e9ca4dbb1739a029e9b3756c5b47ad91c25d3f4cf05ef/oops_all_itertools-3.3.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ddbbf6ab6792e0edca0aefec7b096f90bf4e3d4543e8bbf4e21943cdc314a596",
"md5": "f4955d74ff95f5f52fc34374647d6c27",
"sha256": "f81c6b038f9bcb9c90d76de5776ee310ac9ead731f68e6f7f01d2360551ef73a"
},
"downloads": -1,
"filename": "oops_all_itertools-3.3.1.tar.gz",
"has_sig": false,
"md5_digest": "f4955d74ff95f5f52fc34374647d6c27",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2302,
"upload_time": "2024-06-16T04:25:52",
"upload_time_iso_8601": "2024-06-16T04:25:52.087999Z",
"url": "https://files.pythonhosted.org/packages/dd/bb/f6ab6792e0edca0aefec7b096f90bf4e3d4543e8bbf4e21943cdc314a596/oops_all_itertools-3.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-16 04:25:52",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "lonnen",
"github_project": "oops-all-itertools",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "oops-all-itertools"
}