twoq chains iterators together using a double-headed input and output queue, that can be shifted and synced as needed.
twoq includes Python 2 <-> 3 compatibility aids. It also exposes some useful features buried in the standard library.
Mirrored on https://github.com/kwarterthieves/twoq/