awesome-python/website
Vinta Chen 95115f7949
refactor(fetch_github_stars): replace manual slice loop with itertools.batched
Use itertools.batched (stdlib since Python 3.12, targeted by this project)
instead of manual range(0, N, BATCH_SIZE) slicing. Loosen fetch_batch,
build_graphql_query, and parse_graphql_response signatures from list[str]
to Sequence[str] since batched yields tuples.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-04-19 22:01:35 +08:00
..
static adjust css 2026-04-19 21:34:14 +08:00
templates feat(website): add sponsors section parsed from README 2026-04-19 21:10:50 +08:00
tests refactor(build): inline format_stars_short into its call site 2026-04-19 22:00:45 +08:00
build.py refactor(build): inline format_stars_short into its call site 2026-04-19 22:00:45 +08:00
fetch_github_stars.py refactor(fetch_github_stars): replace manual slice loop with itertools.batched 2026-04-19 22:01:35 +08:00
readme_parser.py refactor(readme_parser): inline _is_leading_link at its call site 2026-04-19 21:59:59 +08:00