Lines of code is a command line tool to count the number of source code lines in it.
$ python cli.py ./path/to/source/file
As an example here is the summary output:
{'total_lines': 12, 'blank_lines': 3, 'comment_lines': 3, 'code_lines': 6}
Run tests
$ python -m unittest -v tests/test_main.py