examples/generators/integers.py
from __future__ import print_function
from series import integers

for i in integers():
    print(i)
    if i >= 10:
        break