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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for iterutils-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ec21ce5d356b70e8bb94eace2a5ca95e5404c75464cb25345ccf48652baee58a
MD5 bda663990ce6bd57dbc32bf65616f621
BLAKE2b-256 6e817fad00163536ef62a5cd4c012c466d4497bbace2fb224d46fccbd44cb5c6

See more details on using hashes here.

Supported by

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