# sqlalchemy/sqlalchemy SLOC report

> As of 2026-11-16 (commit 6f924b05d72c), sqlalchemy/sqlalchemy contains 268,684 total lines: 223,650 code, 11,162 comments, 33,872 blank, across 353 files in 8 languages (top language: Python 99.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

sqlalchemy/sqlalchemy has 223,650 source lines of code out of 268,684 total lines across 353 files, counted with tokei from the main ref at commit 6f924b05d72c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving sqlalchemy/sqlalchemy to commit 6f924b05d72c, 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.

## Counting rules and retention

sqlalchemy/sqlalchemy: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 83.2% of all lines, comments represent 4.2%, and the repository averages 634 code lines per file. Python accounts for 99.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 342 | 266,888 | 222,460 | 10,924 | 33,504 |
| ReStructuredText | 4 | 841 | 647 | 0 | 194 |
| TOML | 1 | 360 | 270 | 33 | 57 |
| INI | 1 | 357 | 222 | 59 | 76 |
| Forge Config | 1 | 55 | 38 | 13 | 4 |
| Autoconf | 1 | 19 | 9 | 6 | 4 |
| Cython | 2 | 19 | 4 | 12 | 3 |
| Plain Text | 1 | 145 | 0 | 115 | 30 |

Top language: Python 99.5%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/sqlalchemy/sqlalchemy

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/sqlalchemy/sqlalchemy/commit/6f924b05d72c763b1c1c2336404c2e3880746f36?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=abee8a5f25a51f197e7d00f51bf327644e371cf7f877945e0f125b1a03843e8b).

## Report FAQ

### How many lines of code does sqlalchemy/sqlalchemy have?

sqlalchemy/sqlalchemy has 223,650 lines of code, plus 11,162 comment lines and 33,872 blank lines, for 268,684 total lines at commit 6f924b05d72c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the sqlalchemy/sqlalchemy line count measured?

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

### What commit was counted for sqlalchemy/sqlalchemy?

This OctoCounts report was generated from main at commit 6f924b05d72c on November 16, 2026.

## Similar repository reports

- [scenario-labs/skills](https://octocounts.com/github/scenario-labs/skills) — Python, 225,342 code lines
- [meta-pytorch/torchrec](https://octocounts.com/github/meta-pytorch/torchrec) — Python, 220,288 code lines
- [AstrBotDevs/AstrBot](https://octocounts.com/github/AstrBotDevs/AstrBot) — Python, 228,070 code lines
- [open-jarvis/OpenJarvis](https://octocounts.com/github/open-jarvis/OpenJarvis) — Python, 228,563 code lines
- [K-Dense-AI/scientific-agent-skills](https://octocounts.com/github/K-Dense-AI/scientific-agent-skills) — Python, 230,344 code lines
- [syrizelink/OpenFic](https://octocounts.com/github/syrizelink/OpenFic) — Python, 231,189 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
