Skip to content

Switch download badge from pepy.tech to pypistats.org#3052

Merged
koxudaxi merged 1 commit intomainfrom
fix/switch-download-badge-to-pypistats
Mar 14, 2026
Merged

Switch download badge from pepy.tech to pypistats.org#3052
koxudaxi merged 1 commit intomainfrom
fix/switch-download-badge-to-pypistats

Conversation

@koxudaxi
Copy link
Copy Markdown
Owner

@koxudaxi koxudaxi commented Mar 14, 2026

Summary by CodeRabbit

  • Documentation
    • Updated download badge sources across README and documentation pages.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 14, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 75e2a065-b9bf-43f2-8549-7bd2585a61cc

📥 Commits

Reviewing files that changed from the base of the PR and between df834dc and 15747b8.

⛔ Files ignored due to path filters (1)
  • docs/llms-full.txt is excluded by none and included by none
📒 Files selected for processing (2)
  • README.md
  • docs/index.md

📝 Walkthrough

Walkthrough

Updates to README.md and docs/index.md that replace the Downloads badge source from pepy.tech to img.shields.io with a corresponding URL change to track datamodel-code-generator statistics.

Changes

Cohort / File(s) Summary
Badge Source Updates
README.md, docs/index.md
Replaced Downloads badge link from pepy.tech to img.shields.io-based badge (pypi/dm/datamodel-code-generator), including updated badge URL and project statistics endpoint references.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A badge refreshed, a link made new,
From pepy's old to shields so true,
The project shines with brighter wear,
Stats dance through the digital air! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: switching the download badge source from pepy.tech to pypistats.org, which matches the file changes in both README.md and docs/index.md.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/switch-download-badge-to-pypistats
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can use TruffleHog to scan for secrets in your code with verification capabilities.

Add a TruffleHog config file (e.g. trufflehog-config.yml, trufflehog.yml) to your project to customize detectors and scanning behavior. The tool runs only when a config file is present.

@github-actions
Copy link
Copy Markdown
Contributor

📚 Docs Preview: https://pr-3052.datamodel-code-generator.pages.dev

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Mar 14, 2026

Merging this PR will improve performance by 10.03%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 1 improved benchmark
✅ 10 untouched benchmarks
⏩ 98 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime test_perf_graphql_style_pydantic_v2 887.4 ms 806.6 ms +10.03%

Comparing fix/switch-download-badge-to-pypistats (15747b8) with main (df834dc)

Open in CodSpeed

Footnotes

  1. 98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@koxudaxi koxudaxi merged commit 61f916d into main Mar 14, 2026
35 checks passed
@koxudaxi koxudaxi deleted the fix/switch-download-badge-to-pypistats branch March 14, 2026 16:47
@github-actions
Copy link
Copy Markdown
Contributor

Breaking Change Analysis

Result: No breaking changes detected

Reasoning: This PR only changes download badge URLs in documentation files (README.md, docs/index.md, docs/llms-full.txt), switching from pepy.tech to pypistats.org. These are purely cosmetic changes to documentation badges with no impact on code generation, templates, API/CLI, default behavior, Python version support, or error handling.


This analysis was performed by Claude Code Action

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (df834dc) to head (15747b8).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #3052   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           85        85           
  Lines        17911     17911           
  Branches      2074      2074           
=========================================
  Hits         17911     17911           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 4, 2026

🎉 Released in 0.56.0

This PR is now available in the latest release. See the release notes for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant