openai/openai-cookbook

openai/openai-cookbook has 314,634 source lines of code out of 418,340 total lines across 1,454 files, counted with tokei from the main ref at commit 2658c92cd4cd on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

openai/openai-cookbook: 314,634 code lines at commit 2658c92cd4cd, counted with tokei-15.0.0 on 2026-11-10. Saved result 15f32d160de0f922dc3e0ed261cdbe6dfdc2218b9f82f715408c6153438e070b.

OctoCounts produced this report by resolving openai/openai-cookbook to commit 2658c92cd4cd, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 75.2% of all lines, comments represent 12.5%, and the repository averages 216 code lines per file. Python is the largest programming language at 20.5% of counted code; data and prose formats such as JSON or YAML hold a larger share.

LanguageFilesLinesCodeCommentsBlanks
JSON24210591310591300
Python435737786454511238110
Jupyter Notebooks27396189559832474915457
TeX2631164811256914435
JavaScript74108249598441785
YAML20103079108431156
CSS9712261652955
SVG40435442259120
TSX223762339828336
JSX4289227052185
TypeScript292498223333232
HTML19170916121978
Sass4352302743
TOML11340288646
Makefile32461931142
Shell42161751031
Dockerfile78662321
Templ1211704
MDX5169701223474
Markdown148187880130435745
Plain Text102141300109093221

Top programming language: Python 20.5%. Generated on .

Counting rules and retention

openai/openai-cookbook: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does openai/openai-cookbook have?

openai/openai-cookbook has 314,634 lines of code, plus 52,230 comment lines and 51,476 blank lines, for 418,340 total lines at commit 2658c92cd4cd on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the openai/openai-cookbook line count measured?

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

What commit was counted for openai/openai-cookbook?

This OctoCounts report was generated from main at commit 2658c92cd4cd on November 10, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for openai/openai-cookbook on this page — 314,634 code lines across 21 languages, counted by tokei.