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!

Clever, quick iterators that make your smile whiter

Project Description

# yter

Version 1.8.0 2016, June 1

Clever, quick iterator functions that make your smile whiter.

This will work with versions of Python 2.6+ and 3.2+. The tests also pass with recent Pypy and Jython releases.

## Functions

There are many functions that process data from iterators in efficient ways.

  • yany – Extended version of the builtin any, test if any values are true
  • yall – Extended version of the builtin all, test if all values are true
  • first – Get the first value from an iteraterable
  • last – Get the final value from an iteraterable
  • head – Get the first values from an iteraterable
  • tail – Get the last values from an iteraterable
  • finish – Complete an iterator and get number of values
  • minmax – Find the minimum and maximum values from an iterable
  • minmedmax – Find the minimum, median, and maximum values from an iterable
  • isiter – Test if an object is iterable, but not a string type
  • contain – Copy an iterator into a list if it is not already a sequence

## Iterators

There are several iterators that wrap an existing iterator and process it’s output.

  • call – Iterator that works with mixed callable types
  • percent – Iterator that skips a percentage of values
  • flat – Iterator of values from a iterable of iterators
  • chunk – Iterator of lists with a fixed size from iterable
  • key – Iterator of pairs of key result and original values
  • unique – Iterate only the unique values
  • duplicate – Iterate only the duplicated values

## Keys

Utility functions that are useful to use as a key argument

  • formatter – Create a function that formats given values into strings
  • numeric – Split a string into string and integer sections
  • getter – Shorthand for attrgetter, itemgetter, and methodcaller operators
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
yter-1.8.0.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Jun 2, 2016 (12.8 kB) Copy SHA256 Checksum SHA256 Source Jun 2, 2016

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting