pydantic/pydantic-ai has 266,608 source lines of code out of 341,455 total lines across 1,182 files, counted from the main ref at commit cdd22bc5bb0f by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
pydantic/pydantic-ai: 266,608 code lines at commit cdd22bc5bb0f, counted with tokei-14.0.0 on 2026-10-21. Saved result f99bd2eefeb03a7b651b62bd63702898e5398e0e28fdf70bf9c6bc58f41c56cd.
OctoCounts produced this report by resolving pydantic/pydantic-ai to commit cdd22bc5bb0f, 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.
This is a large codebase by counted code lines. Code represents 78.1% of all lines, comments represent 9.4%, and the repository averages 226 code lines per file. Python accounts for 94.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 998 | 301012 | 250480 | 14226 | 36306 |
| TSX | 31 | 5832 | 5312 | 253 | 267 |
| JSON | 5 | 3418 | 3418 | 0 | 0 |
| CSS | 2 | 3928 | 3287 | 46 | 595 |
| TypeScript | 15 | 1813 | 1453 | 217 | 143 |
| TOML | 8 | 1366 | 1035 | 243 | 88 |
| Shell | 5 | 1283 | 1009 | 171 | 103 |
| YAML | 2 | 219 | 217 | 2 | 0 |
| HTML | 5 | 200 | 191 | 2 | 7 |
| Makefile | 1 | 133 | 105 | 5 | 23 |
| JavaScript | 1 | 101 | 101 | 0 | 0 |
| Markdown | 109 | 22150 | 0 | 16987 | 5163 |
Top language (Python 94.0%). Generated at .
pydantic/pydantic-ai has 341,455 total lines, including 266,608 code lines, 32,152 comment lines, and 42,695 blank lines.
OctoCounts resolved the public GitHub repository to commit cdd22bc5bb0f, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit cdd22bc5bb0f on 2026-10-21T04:35:13.278338635Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for pydantic/pydantic-ai on this page — 266,608 code lines across 12 languages, counted by tokei.