Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

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.

Release history Release notifications

This version
History Node

0.6

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pystreams-0.6-py2.py3-none-any.whl (14.6 kB) Copy SHA256 hash SHA256 Wheel 2.7 Mar 30, 2014
pystreams-0.6.tar.gz (11.9 kB) Copy SHA256 hash SHA256 Source None Mar 30, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page