Skip to main content

Streams inspired by Java 8

Project description

https://travis-ci.org/9seconds/streams.svg?branch=master https://badge.fury.io/py/streams.png

This small library provides you with convenient streams deeply inspired by Java 8 release. That release contains not only lambdas but pretty cool Stream API which provides developers with possibilities to build sequental and parallel aggregation on big collections or infinite data flows.

Frankly I am not the Java guy but I have more or less the same workflow on my previous projects where I actively used concurrent.futures or Gevent pools to process pipelines of incoming data to reduce them to some scalar value or aggregated data set. As a rule I used that approach to manage big or unpredictable collections of similar data using some appropriate concurrency where it is possible (threads on computations, coroutines on networking, etc.)

I saw how people are using the same pattern with ORMs but for generic cases they still are trying to avoid mapping, filtering and reducing the results. Actually this library tries to help.

Please checkout official documentation to get more information.

Project details


Release history Release notifications | RSS feed

This version

0.6

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pystreams-0.6.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

pystreams-0.6-py2.py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page