{"id":26720922,"url":"https://github.com/cospectrum/ziper","last_synced_at":"2025-04-14T05:51:49.629Z","repository":{"id":168853719,"uuid":"644663816","full_name":"cospectrum/ziper","owner":"cospectrum","description":"Rust-like iterator for Python","archived":false,"fork":false,"pushed_at":"2024-09-16T02:34:43.000Z","size":45,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T04:23:09.914Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cospectrum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-05-24T02:07:08.000Z","updated_at":"2024-09-16T02:34:47.000Z","dependencies_parsed_at":"2023-11-13T01:37:50.251Z","dependency_job_id":"60d5a511-e02c-4ced-89b7-c5ef04093b57","html_url":"https://github.com/cospectrum/ziper","commit_stats":null,"previous_names":["cospectrum/ziper"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cospectrum%2Fziper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cospectrum%2Fziper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cospectrum%2Fziper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cospectrum%2Fziper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cospectrum","download_url":"https://codeload.github.com/cospectrum/ziper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830388,"owners_count":21168272,"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":[],"created_at":"2025-03-27T19:35:02.358Z","updated_at":"2025-04-14T05:51:49.604Z","avatar_url":"https://github.com/cospectrum.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ziper\n[![github]](https://github.com/cospectrum/ziper)\n\n[github]: https://img.shields.io/badge/github-cospectrum/ziper-8da0cb?logo=github\n\nRust-like iterator for Python\n\n## Install\n\n```sh\npip install ziper\n```\n\n## Usage\n\n```py\nfrom ziper import Iter\n\nxs = ['1', '2', 'a', '3', '4', 'b', 'c']\nys = [6, 7, 8, 9]\n\nevens: list = (\n    Iter(xs)\n    .filter(str.isdecimal)\n    .map(int)\n    .chain(ys)\n    .filter(lambda x: x % 2 == 0)\n    .collect(list)\n)\nassert evens == [2, 4, 6, 8]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcospectrum%2Fziper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcospectrum%2Fziper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcospectrum%2Fziper/lists"}