Jivago-Streams
Jivago-Streams brings the ability to chain functional-style operations on collections.
This package provides a single class (Stream), which is extracted from the Jivago web framework.
Note that jivago-streams can be used independently from the Jivago web framework.
from jivago_streams import Stream
# Result : [4, 16, 36]
square_of_even_numbers = Stream([1, 2, 3, 4, 5, 6]) \
.filter(lambda x: x % 2 == 0) \
.map(lambda x: x ** 2) \
.toList()
Installation
pip install jivago-streams
Documentation
The documentation is available at https://docs.jivago.io.
Release files for jivago-streams 0.5.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jivago-streams-0.5.5.tar.gz | 4.2 kB | Details |
Release files / jivago-streams-0.5.5.tar.gz
| Download URL | jivago-streams-0.5.5.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27c838ccfc3ccb04cbc2bc2b3453b44a96f6806aefddf0edc13f006751391687
|
|
BLAKE2b-256 checksum How to use checksums |
dff83caa9fee02d334a5a7ffa385db2a792346ded31c7bde810609c7a188bc94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|