Skip to main content

A stream abstraction with a fluent interface. Inspired by Java 8 streams.

Project description

Fluent stream

A stream abstraction with a fluent interface. Inspired by Java 8 streams, but a lot simpler and not lazy. It allows you to express something like:

Stream([1, 2, 3, 4, 5, 6, 7, 8, 9])\
    .filter(lambda x: x % 2 == 0)\
    .map(lambda x: x + 0.5)\
    .limit(4)\
    .fold(lambda x, y: x + y)

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

fluentstream-0.1.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

fluentstream-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file fluentstream-0.1.0.tar.gz.

File metadata

  • Download URL: fluentstream-0.1.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Linux/5.15.22-xanmod1-1

File hashes

Hashes for fluentstream-0.1.0.tar.gz
Algorithm Hash digest
SHA256 61f918c955d8f452c2cdd03b8a4b1360e24884ac97a2c9539867988447e7ac0d
MD5 ac06dcfba3a164a97175580aa416e97b
BLAKE2b-256 3e8c8a47607f638035dfa382a55e669025d45d36ae53e5d20124120b57b4a262

See more details on using hashes here.

File details

Details for the file fluentstream-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fluentstream-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.10.2 Linux/5.15.22-xanmod1-1

File hashes

Hashes for fluentstream-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81839822002258e4090316be869106f713ad8de59d1bf5c1b13791e6d61985aa
MD5 1da972d0629ab553ca360278bb2cfc8f
BLAKE2b-256 69728034f69dfcf28535877a47be9f2d61dc77afe3165cf9c6424ce8c7138e01

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