textlines
Features
Emoji sparklines for text.
textlines
counts your words, paragraphs, pages and emits a short, emoji summary.
2135
Usage
Install textlines
:
pip install textlines
Run the cli:
textlines.
Usage:
textlines [options] <source>
textlines -h | --help
Options:
--debug Debug.
-h --help Show this screen.
$ textlines a-brief-history-of-the-word/talk/abstract.md
2135 :abc: 158 :page_with_curl: 21.35% of a :notebook: 3.56% of a :books: 21 minutes :speech_balloon: 7 minutes :eyes::book:
Documentation
Testing
Install development requirements:
pip install -r requirements.txt
Tests can then be run with:
nosetests
Lint the project with:
flake8 textlines tests
API documentation
Generate the documentation with:
cd docs && PYTHONPATH=.. make singlehtml
To monitor changes to Python files and execute flake8 and nosetests automatically, execute the following from the root project directory:
stir