title: Does Python have standard fluent iterator operators like Java 8 Stream/Kotlin Sequence?
body: <p>I am a Java/Kotlin developer crash-coursing in Python to teach a class next year. I am a bit shocked that I am not finding any functional constructs to handle iteration with chain-like operators. This can be found in Java with Streams like so:</p>
  
  <pre><code>Stream&lt;MyItem&gt; filtered = myItems.stream().filter(item -&gt; item.isSelected());
  </code></pre>
  
  <p>Or Kotlin with Sequences:</p>
  
  <pre><code>val filtered = myItems.asSequence().filter { it.isSelected }
  </code></pre>
  
  <p>I think Scala has something similar as well. I know it's possible to <a href="https://en.wikipedia.org/wiki/Fluent_interface#Python" rel="nofollow noreferrer">implement fluent interfaces</a> in Python, and <a href="https://stackoverflow.com/questions/34597358/rxpy-scheduling-understanding">RxPy</a> brings these iteration operators via reactive programming. But is there no inherent language feature, standard utility, or common library that accomplishes these operators like <code>map()</code>, <code>filter()</code>, <code>flatMap()</code>, etc in a pull-based fashion? </p>