A reStructuredText and Markdown wordcounter
Project description
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
$ 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rwc-0.2.0.tar.gz.
File metadata
- Download URL: rwc-0.2.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5260918e9eaa6c07fbd1633cf0a5270835d7dafa9296dfe673306275b9ee845
|
|
| MD5 |
c420c0e0200d53c18fa83b2cdb26a3e4
|
|
| BLAKE2b-256 |
b49bbc55e28e480adb4fe819e1e0e8e3414217e62d4b8493f3e9ba4789d03c05
|
File details
Details for the file rwc-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rwc-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a720ff3bf1a4835be302fa758887d3282654aa4abe8b5786b9b7f07783d581d
|
|
| MD5 |
b6bea52ee1926d12b5166dc1704ff78a
|
|
| BLAKE2b-256 |
19c4e7fbcb673d674be06b8b3771f0dd4d383508d36b8a4002cf0feacd3f5889
|