{"id":19435031,"url":"https://github.com/neverendingqs/pyiterable","last_synced_at":"2025-04-24T20:32:25.141Z","repository":{"id":62581107,"uuid":"41976694","full_name":"neverendingqs/pyiterable","owner":"neverendingqs","description":"Python comes with some nice built-in methods for operating on iterables, but it can get messy really quickly if you want to transform an iterable multiple times. Write more expressive code by chaining built-in transformations with this module.","archived":false,"fork":false,"pushed_at":"2016-06-18T20:32:08.000Z","size":87,"stargazers_count":3,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-17T18:25:32.180Z","etag":null,"topics":["functional-programming","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neverendingqs.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-05T21:47:43.000Z","updated_at":"2017-02-18T19:09:30.000Z","dependencies_parsed_at":"2022-11-03T21:32:25.301Z","dependency_job_id":null,"html_url":"https://github.com/neverendingqs/pyiterable","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverendingqs%2Fpyiterable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverendingqs%2Fpyiterable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverendingqs%2Fpyiterable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverendingqs%2Fpyiterable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neverendingqs","download_url":"https://codeload.github.com/neverendingqs/pyiterable/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250704911,"owners_count":21473785,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["functional-programming","python"],"created_at":"2024-11-10T14:49:03.779Z","updated_at":"2025-04-24T20:32:24.905Z","avatar_url":"https://github.com/neverendingqs.png","language":"Python","readme":"[![Build Status](https://travis-ci.org/neverendingqs/pyiterable.svg?branch=master)](https://travis-ci.org/neverendingqs/pyiterable)\n[![Coverage Status](https://coveralls.io/repos/neverendingqs/pyiterable/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/neverendingqs/pyiterable?branch=master)\n\n# Pyiterable\n\nPython comes with some nice built-in methods for operating on iterables, but it can get messy really quickly if you want to transform an iterable multiple times. Write more expressive code by chaining built-in transformations with this module.\n\nGet it via `pip install pyiterable`!\n\n## Example\n\n    from pyiterable import Iterable\n    ...\n    values = Iterable([\"1\", \"2\", \"5\", \"9\"])\n    \n    sum = (values\n           .map(lambda x: int(x))\n           .filter(lambda x: x \u003e 4)\n           .reduce(lambda a, b: a + b)\n    )\n\n## Inspiration\n\n* [C#'s Enumerable class](https://msdn.microsoft.com/en-us/library/system.linq.enumerable.aspx)\n* [Apache Spark RDD Operations](http://spark.apache.org/docs/latest/programming-guide.html#rdd-operations)\n* [Java stream package](https://docs.oracle.com/javase/8/docs/api/java/util/stream/package-summary.html)\n\n## Links\n\n* API docs: [http://pyiterable.readthedocs.io/en/stable/](http://pyiterable.readthedocs.io/en/stable/)\n* Travis CI: [https://travis-ci.org/neverendingqs/pyiterable](https://travis-ci.org/neverendingqs/pyiterable)\n* Coveralls: [https://coveralls.io/github/neverendingqs/pyiterable](https://coveralls.io/github/neverendingqs/pyiterable)\n* Source: [https://github.com/neverendingqs/pyiterable](https://github.com/neverendingqs/pyiterable)\n* Package: [https://pypi.python.org/pypi/pyiterable/](https://pypi.python.org/pypi/pyiterable/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverendingqs%2Fpyiterable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneverendingqs%2Fpyiterable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverendingqs%2Fpyiterable/lists"}