Metadata-Version: 2.1
Name: rwc
Version: 0.2.0
Summary: A reStructuredText and Markdown wordcounter
Home-page: https://git.sr.ht/~ren/rwc
Author: Lauren Jenkinson
Author-email: lauren@kat.net.nz
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Requires-Dist: docutils (==0.16)
Requires-Dist: markdown (==3.3)
Requires-Dist: html-sanitizer (==1.9)
Provides-Extra: build
Requires-Dist: bork (==6.0.0b1) ; extra == 'build'
Requires-Dist: pip (==21.0.1) ; extra == 'build'
Requires-Dist: setuptools (==54.1.2) ; extra == 'build'
Requires-Dist: wheel (==0.36.2) ; extra == 'build'

# rwc

A reStructuredText and Markdown wordcounter,
designed for long-form writing.

rwc looks for reStructuredText and Markdown files
in the directory (or directories) passed on the command line,
renders them to HTML,
strips away everything but the text from that rendered HTML,
and does per-file word counts on that text,
outputting the count per file
as well as a total for the directory.

## Usage

```shell
$ ls
test-one.md test-two.rst test-three.rst

$ rwc .
test-one.md: 10 words
test-two.rst: 10 words
test-three.rst: 23 words
-----
total: 43 words
```

## License

rwc is licensed under the MIT License.
See [the LICENSE file](./LICENSE).


