Skip to main content

Itertools recipes.

Project description

About iterutils

These functions have been taken from the recipes in the Python documentation for itertools. They were originally written by Raymond Hettinger and various other people.

This license applies to the Python documentation.

The idea to collect all of the itertools recipes into a module named iterutils is from this post by Alex Martelli.

Installation

Because iterutils has been packaged for pypi, it can be installed using:

$ pip install iterutils

Usage

After iterutils has been installed, its functions can be imported and used as follows:

>>> import iterutils
>>> list(iterutils.pairwise('abc'))
[('a', 'b'), ('b', 'c')]

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

iterutils-0.1.6.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file iterutils-0.1.6.tar.gz.

File metadata

  • Download URL: iterutils-0.1.6.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for iterutils-0.1.6.tar.gz
Algorithm Hash digest
SHA256 1e33ff57f956afe7b14edcfd42e85d40bbd0572d04cb7d60a3328b9da31d46b6
MD5 e293044ec65d757ce075ac170ad9ada8
BLAKE2b-256 51afe4fffd9eccb706e1c077813d31bf4da84ee9b13feb3a6994b767bb83d4aa

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page