Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

iterplus provides functionality that extends itertools

Project Description

iterplus - itertools extended

This library provides a set of functions that complement Python itertools. These include means to access iterable content via slicing, scan generator (easy series) and chainable wrapper (ie.…).filter(…)).



fibo = scan(0, 1, lambda a, b: a + b)

“scan” returns an iterator. Note how simple it’s to define series such as Fibonacci’s using it. In case an explicit rule is not provided, it infers one automatically (ie. 1,2,3,…).


sliceable(scan(0, 1))[2:5] # returns list containing third, fourth and fifth item

“sliceable” makes it possible to slice the content of iterators.


chainable([1, 2, 3]).map(lambda x: x * 2).filter(lambda x: x > 3).val() == [4, 6]

“chainable” makes it possible to use basic functional utilities (map, filter, reduce) using a chaining syntax.


iterplus is available under MIT license. See LICENSE for more details.


0.2.5 (2011-11-16)

  • Added index and rindex
  • Tidied up docs

0.2.0 (2011-11-11)

  • First public release
  • Added caching to sliceable

0.1.0 (2011-09-26)

  • Initial release

Release History

This version
History Node


History Node


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
(3.1 kB) Copy SHA256 Hash SHA256
Source None Nov 16, 2011

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers