Skip to main content

A lazy evaluating, memory friendly, chainable stream solution

Project description

pystreamer

A lazy evaluating, memory friendly, chainable stream solution.

Inspired by the syntactical sugar of Java stream.

from streamer import Stream
with open("myfile.txt") as f_input:
    uniq = Stream(f_input) \
        .map(str.strip) \
        .flat_map(str.split) \
        .collect(set)   # uniq tokens in a file

Project details


Download files

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

Source Distribution

pystreamer-0.4.3.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pystreamer-0.4.3-py2.py3-none-any.whl (14.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pystreamer-0.4.3.tar.gz.

File metadata

  • Download URL: pystreamer-0.4.3.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pystreamer-0.4.3.tar.gz
Algorithm Hash digest
SHA256 e71617f08b02db2781ffcf93bf1faaa930723ff0a791bff0a3e0b95f4c109cfe
MD5 b96e261b7d302c60ef91b02b5f9e1c65
BLAKE2b-256 5428a9189833cdf61e0346917b2b31b63a54f7fbebc5a67c9f33e80c36763b42

See more details on using hashes here.

File details

Details for the file pystreamer-0.4.3-py2.py3-none-any.whl.

File metadata

  • Download URL: pystreamer-0.4.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pystreamer-0.4.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 746d52e9872c96e13f5b4ab4783e59401252d46039314fbd7df0b1ea43d524a2
MD5 8592c9add4632c0fb5b32057070485a7
BLAKE2b-256 a67c29568afa21e3a090c1bc99defb223ae8215e870a55c3d138999d91fd308e

See more details on using hashes here.

Supported by

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