pydantic/pydantic-ai

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.

As of 2026-10-21 (commit cdd22bc5bb0f), pydantic/pydantic-ai contains 341,455 total lines: 266,608 code, 32,152 comments, 42,695 blank, across 1,182 files in 12 languages (top: Python 94.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-21 (commit cdd22bc5bb0f), pydantic/pydantic-ai contains 341,455 total lines: 266,608 code, 32,152 comments, 42,695 blank, across 1,182 files in 12 languages (top: Python 94.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
Python9983010122504801422636306
TSX3158325312253267
JSON53418341800
CSS23928328746595
TypeScript1518131453217143
TOML81366103524388
Shell512831009171103
YAML221921720
HTML520019127
Makefile1133105523
JavaScript110110100
Markdown109221500169875163

Top language (Python 94.0%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does pydantic/pydantic-ai have?

pydantic/pydantic-ai has 341,455 total lines, including 266,608 code lines, 32,152 comment lines, and 42,695 blank lines.

How was the pydantic/pydantic-ai line count measured?

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.

What commit was counted for pydantic/pydantic-ai?

This OctoCounts report was generated from main at commit cdd22bc5bb0f on 2026-10-21T04:35:13.278338635+00:00.

Similar repository reports

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.