# psf/black SLOC report

> As of 2026-08-26 (commit 8947c48ef207), psf/black contains 108,294 total lines: 101,105 code, 3,821 comments, 3,368 blank, across 73 files in 9 languages (top: Python 99.1%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving psf/black to commit 8947c48ef207, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 93.4% of all lines, comments represent 3.5%, and the repository averages 1,385 code lines per file. Python accounts for 99.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 59 | 104,068 | 100,233 | 1,449 | 2,386 |
| Vim Script | 2 | 398 | 370 | 8 | 20 |
| TOML | 1 | 244 | 185 | 29 | 30 |
| JSON | 1 | 163 | 163 | 0 | 0 |
| YAML | 1 | 87 | 77 | 5 | 5 |
| INI | 1 | 66 | 58 | 3 | 5 |
| Dockerfile | 1 | 27 | 19 | 3 | 5 |
| Markdown | 5 | 2,946 | 0 | 2,072 | 874 |
| Plain Text | 2 | 295 | 0 | 252 | 43 |

Top language (Python 99.1%). Generated at 2026-08-26T18:36:01.511977500+00:00. Canonical report: https://octocounts.com/github/psf/black

## Report FAQ

### How many lines of code does psf/black have?

psf/black has 108,294 total lines, including 101,105 code lines, 3,821 comment lines, and 3,368 blank lines.

### How was the psf/black line count measured?

OctoCounts resolved the public GitHub repository to commit 8947c48ef207, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for psf/black?

This OctoCounts report was generated from main at commit 8947c48ef207 on 2026-08-26T18:36:01.511977500+00:00.

## Similar repository reports

- [SenteLabsAI/OpenExecutive](https://octocounts.com/github/SenteLabsAI/OpenExecutive) — Python, 102,253 code lines
- [verl-project/verl](https://octocounts.com/github/verl-project/verl) — Python, 103,358 code lines
- [xinhuangcs/CareerDesk](https://octocounts.com/github/xinhuangcs/CareerDesk) — Python, 98,738 code lines
- [deepfakes/faceswap](https://octocounts.com/github/deepfakes/faceswap) — Python, 97,338 code lines
- [youssofal/MTPLX](https://octocounts.com/github/youssofal/MTPLX) — Python, 105,843 code lines
- [oraios/serena](https://octocounts.com/github/oraios/serena) — Python, 95,984 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
