dimz

:100: CLI tool for counting the number of lines of code in any given directory.


License
MIT
Install
pip install dimz==0.3

Documentation

💯 dimz

CLI tool for counting the number of lines of code in any given directory.

$ dimz
File Name                Lines    Tokens    Tokens / Line  Language
---------------------  -------  --------  ---------------  ----------
dimz/__main__.py          67       509             7.60  Python
dimz/test.py              39       255             6.54  Python
setup.py                    35       134             3.83  Python
tools/autopep8_all.py       15        83             5.53  Python
dimz/__init__.py           3         9             3.00  Python
push_pypi.sh                 2        11             5.50  Shell
test.sh                      2         4             2.00  Shell

File count: 7
Total Line Count: 163
Total Token Count: 1005

Note

dimz only counts actual lines of code. Not whitespace. This means that if it tells you that you have a 100,000 line C project, you really did write 100,000 lines of C.

License

Copyright (c) Brandon Pacewic

SPDX-License-Identifier: MIT