keras-team/keras has 279,672 source lines of code out of 331,435 total lines across 1,012 files, counted with tokei from the master ref at commit 50be564d7d83 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-14 (commit 50be564d7d83), keras-team/keras contains 331,435 total lines: 279,672 code, 13,069 comments, 38,694 blank, across 1,012 files in 6 languages (top language: Python 99.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving keras-team/keras to commit 50be564d7d83, 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.
This is a large codebase by counted code lines. Code represents 84.4% of all lines, comments represent 3.9%, and the repository averages 276 code lines per file. Python accounts for 99.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 996 | 330532 | 279525 | 12546 | 38461 |
| TOML | 1 | 119 | 101 | 5 | 13 |
| YAML | 1 | 35 | 31 | 1 | 3 |
| Shell | 2 | 26 | 15 | 5 | 6 |
| Markdown | 5 | 587 | 0 | 397 | 190 |
| Plain Text | 7 | 136 | 0 | 115 | 21 |
Top language: Python 99.9%. Generated on .
keras-team/keras: 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.
keras-team/keras has 279,672 lines of code, plus 13,069 comment lines and 38,694 blank lines, for 331,435 total lines at commit 50be564d7d83 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 50be564d7d83, 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 master at commit 50be564d7d83 on November 14, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for keras-team/keras on this page — 279,672 code lines across 6 languages, counted by tokei.