{"library":"streamerate","title":"Streamerate","type":"library","description":"streamerate is a fluent and expressive Python library for chainable iterable processing, inspired by Java 8 streams. It provides lazy evaluation, parallel execution options, and a rich set of operations. Current version 1.2.11 requires Python >=3.10 and <4.0. It is actively maintained on GitHub.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install streamerate"],"cli":null},"imports":["from streamerate import stream"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/asuiu/streamerate","docs":null,"changelog":null,"pypi":"https://pypi.org/project/streamerate/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from streamerate import stream\n\n# Create a stream from a list and apply operations\nresult = stream([1, 2, 3, 4, 5])\\\n    .filter(lambda x: x > 2)\\\n    .map(lambda x: x * 2)\\\n    .to_list()\nprint(result)  # [6, 8, 10]","lang":"python","description":"Creates a stream from a list, filters elements greater than 2, maps each to double, and collects to a list.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}