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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file pystreams-0.6.tar.gz.

File metadata

  • Download URL: pystreams-0.6.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pystreams-0.6.tar.gz
Algorithm Hash digest
SHA256 71ac69e3b5d2493877c7781cc8b556ded6de26996850c336de0bb61d4b3f61aa
MD5 9762e9c0d9a98488824751a9e46adfb2
BLAKE2b-256 93e9919ca0945dfd48955b4d17ec6237e3bb91515b6f0a3af1b670efb5791a75

See more details on using hashes here.

File details

Details for the file pystreams-0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pystreams-0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7317a5daf7837dcebc89813cb9d32ac883319bc5088d83daa2977b88292b8808
MD5 b98a28f98bc94f954acc3b184531c37f
BLAKE2b-256 8122820295f69305e85d62adf19784ee3b2bc75d895f17b4c1c0b7ddaa3cf44a

See more details on using hashes here.

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