textlines

Sparklines for text. text_lines counts your words, paragraphs, pages and emits a short summary. The text doesn't need to be here, but I'm trying to write a new paragraph.


License
Other
Install
pip install textlines==0.0.1

Documentation

textlines

Build Status Stories in Ready pypi version # of downloads code coverage

Features

Emoji sparklines for text. textlines counts your words, paragraphs, pages and emits a short, emoji summary.

2135 🔤 158 📃 21.35% of a 📓 3.56% of a 📚 21 minutes 💬 7 minutes 👀📖

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

API 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