A full python tool to gather statistics from your codebase. It can be customized flexibly to fit your needs.
Install the package via pip:
pip install stats-codeRun the tool on your codebase:
stats-codeOr specify a directory:
stats-code /path/to/your/codebaseIn default, the tool will read .gitignore file to exclude files and directories. But you can disable this behavior with --no-git flag:
stats-code --no-gitIf you have uv installed, you can begin development with:
uv syncRun the tool:
uv run -m src.stats_codeInstall development dependencies:
pip install -e .Run the tool:
python -m src.stats_code