Skip to main content

More iterator tools

Project description

More useful tools for Python iterators. A set of common utility functions.

[![Build Status](https://travis-ci.org/mrocklin/itertoolz.png)](https://travis-ci.org/mrocklin/itertoolz)

Relationship to itertools

The itertools package (with an s) is a package in the standard library. It differs from itertoolz (with a z) in the following ways.

  • itertools has an s. itertoolz has a z.
  • itertools is strictly a library of [streaming algorithms](http://en.wikipedia.org/wiki/Streaming_algorithm) while itertoolz accepts functions that require finite iterators.
  • itertools changes very slowly and is managed by the official Python community (you submit a PEP). itertoolz is more loose (you submit a pull request)
  • itertools is minimal. itertoolz accepts recipes.

Author

[Matthew Rocklin](http://matthewrocklin.com)

LICENSE

New BSD. See [License File](LICENSE.TXT).

Install

itertoolz is on the Python Package Index (PyPi)

pip install itertoolz

or

easy_install itertoolz

or from source

./setup.py install

Dependencies

itertoolz supports Python 2.6+ and Python 3.2+ with a common codebase.

It has no dependencies outside of the standard library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
itertoolz-0.5.tar.gz (3.6 kB) Copy SHA256 hash SHA256 Source None Sep 11, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page