openai/openai-python

openai/openai-python has 318,322 source lines of code out of 373,897 total lines across 2,138 files, counted from the main ref at commit de6d70d5c50e 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 de6d70d5c50e), openai/openai-python contains 373,897 total lines: 318,322 code, 10,756 comments, 44,819 blank, across 2,138 files in 11 languages (top: Python 63.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

As of 2026-10-21 (commit de6d70d5c50e), openai/openai-python contains 373,897 total lines: 318,322 code, 10,756 comments, 44,819 blank, across 2,138 files in 11 languages (top: Python 63.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving openai/openai-python to commit de6d70d5c50e, 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 85.1% of all lines, comments represent 2.9%, and the repository averages 149 code lines per file. Python accounts for 63.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python2072245036200427486339746
YAML3109271108082181171
JSON118752875200
JavaScript6341305432
TOML23322484935
BASH102451772246
HTML317417400
Shell3125106145
Forge Config1434120
Dockerfile1101000
Markdown269568057843784

Top language (Python 63.0%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

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

openai/openai-python has 373,897 total lines, including 318,322 code lines, 10,756 comment lines, and 44,819 blank lines.

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

OctoCounts resolved the public GitHub repository to commit de6d70d5c50e, 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-python?

This OctoCounts report was generated from main at commit de6d70d5c50e on 2026-10-21T02:55:14.813569223+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 openai/openai-python on this page — 318,322 code lines across 11 languages, counted by tokei.