About iterutils
These functions have been copied from the recipes in the Python documentation for itertools: http://docs.python.org/library/itertools.html#recipes
The following license applies to the Python documentation: http://docs.python.org/license.html#terms-and-conditions-for-accessing-or-otherwise-using-python
The idea to collect all of the itertools recipes into a module named iterutils.py is from this post by Alex Martelli on stackoverflow: http://stackoverflow.com/questions/1639772
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')]
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file iterutils-0.1.4.tar.gz.
File metadata
- Download URL: iterutils-0.1.4.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b07f54376486235ce37cfd40c3431b06d1b7fd196a55347bda8f9d1f9726d95b
|
|
| MD5 |
06fac31c8eee12b2ed60c24a1c19cb90
|
|
| BLAKE2b-256 |
a6c3bf8267a70914da88ee6fa5e42c9ed66e0184233c39ca416088826863e9c7
|