Reference
Classes
Core classes
Stream Methods
Methods for the Stream class
- Stream.__enter__()
- Stream.__exit__()
- Stream.read()
-
Read up to n bytes.
- Stream.close()
-
Close the stream and release resources.
- Stream.map()
-
Apply a function to each element.
- Stream.filter()
-
Filter elements by a predicate.
Functions
Public functions
- batch()
-
Yield items from an iterable in fixed-size batches.