No project description provided
Project description
nr.stream
Provides a useful Stream
and Optional
class.
from nr.stream import Stream
values = [3, 6, 4, 7, 1, 2, 5]
assert list(Stream(values).chunks(values, 3, fill=0).map(sum)) == [13, 10, 5]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nr_stream-1.0.0.tar.gz
(5.7 kB
view hashes)
Built Distribution
Close
Hashes for nr_stream-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd4ecbf954d3789501ec9a60daec275de581734b02fc5cfbf990f4ebc305e39 |
|
MD5 | a46bffb578a02206a76cd65acc076f86 |
|
BLAKE2b-256 | d26b650095f82eb6da32b4085e9ffc08e3e47f204afed9f4812d8097bc916358 |