Wordsum is a package for counting words within a folder of files recursively.
import wordsum
if __name__ == "__main__":
print(wordsum.count_words('./example_files',['.md','.ipynb']))
wordsum.list_supported_formats()
If you are using pip:
pip install wordsum
Currently wordsum only supports markdown .md
and jupyter notebooks .ipynb
.
PRs are welcome for anything!