{"id":19916014,"url":"https://github.com/szhu/pythonstyleiterator","last_synced_at":"2026-06-14T07:33:15.404Z","repository":{"id":30811527,"uuid":"34368681","full_name":"szhu/PythonStyleIterator","owner":"szhu","description":null,"archived":false,"fork":false,"pushed_at":"2015-04-22T04:33:43.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-29T06:36:45.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szhu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-22T04:32:46.000Z","updated_at":"2023-09-08T16:56:58.000Z","dependencies_parsed_at":"2022-08-24T10:11:01.657Z","dependency_job_id":null,"html_url":"https://github.com/szhu/PythonStyleIterator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/szhu/PythonStyleIterator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FPythonStyleIterator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FPythonStyleIterator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FPythonStyleIterator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FPythonStyleIterator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szhu","download_url":"https://codeload.github.com/szhu/PythonStyleIterator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szhu%2FPythonStyleIterator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34313515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2024-11-12T21:43:15.805Z","updated_at":"2026-06-14T07:33:15.359Z","avatar_url":"https://github.com/szhu.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"PythonStyleIterator\n===================\n\nDoes this sound like you?\n\n - You like iterators, but...\n - You don't want to write a separate `hasNext()` method because it would involve caching.\n - You want to peek at iterator outputs.\n - You really Python's iterator interface.\n\nIf so, try out `PythonStyleIterator`! Simply subclass it, and fill in the constructor (if you so desire) and the `tryNext` method. Feel free to call `setCache` and `stopIteration` to affect the iterator at any time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszhu%2Fpythonstyleiterator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszhu%2Fpythonstyleiterator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszhu%2Fpythonstyleiterator/lists"}