Lines
- Lines of Code
- 3,266,013
- in 5,916 files
- Lines Added
- +11,141,789
- 83 per commit
- Lines Removed
- −7,876,923
- 59 per commit
Lines of code
Lines added and removed per month
Lines added (green, up) and removed (red, down) by each month's commits.
How CPython compares with other Python open source projects →
How CPython ranks among Python open source projects by AI-assisted commits →
Generate this report for your own repository with gitstats-action · All Gallery reports
The smallest workflow
Publishes the report to GitHub Pages on every push to main: turn on Pages for the gh-pages branch.
# .github/workflows/gitstats.yml
name: GitStats Report
on:
push:
branches: [main]
permissions:
contents: write
jobs:
gitstats:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: shenxianpeng/gitstats-action@v1
with:
deploy-to-pages: true