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-3.3.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

oops_all_itertools-3.3.1-py2.py3-none-any.whl (2.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file oops_all_itertools-3.3.1.tar.gz.

File metadata

  • Download URL: oops_all_itertools-3.3.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for oops_all_itertools-3.3.1.tar.gz
Algorithm Hash digest
SHA256 f81c6b038f9bcb9c90d76de5776ee310ac9ead731f68e6f7f01d2360551ef73a
MD5 f4955d74ff95f5f52fc34374647d6c27
BLAKE2b-256 ddbbf6ab6792e0edca0aefec7b096f90bf4e3d4543e8bbf4e21943cdc314a596

See more details on using hashes here.

Provenance

File details

Details for the file oops_all_itertools-3.3.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for oops_all_itertools-3.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 331b25350708026adc11822a3d1bc7b9b0ebd401d4bba79cecb55d64cbdf45c9
MD5 a13dce0775094f3580324254f8da5e0c
BLAKE2b-256 4ae2135aef63afe3ec4e9ca4dbb1739a029e9b3756c5b47ad91c25d3f4cf05ef

See more details on using hashes here.

Provenance

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