Count the number of words on the specified URL(s).
Project description
word-counter
Count the number of words on the specified URL(s).
Requirements
python 3.4+
libicu-devel
Installation
In case of CentOS8, execute as follows:
# dnf -y install libicu-devel
# pip install word-counter
Usage (CLI)
Count words, list results.
$ word-counter --klass 'site-content' https://blogs.cisco.com/developer
{
",": 18,
"2020": 11,
.
.
.
"monitoringStealthwatch": 1,
"1234": 1
}
Count words in multiple URLs, list results.
$ word-counter \
https://blogs.cisco.com/developer/node-red-webinar \
https://blogs.cisco.com/developer/meraki-python-sdk-webinar \
https://blogs.cisco.com/developer/understanding-meraki-apis
{
",": 51,
"the": 36,
.
.
.
"Resources": 1,
"certifications": 1
}
Just count words.
$ word-counter --count-only --klass 'site-content' https://blogs.cisco.com/developer
377
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
word-counter-0.0.2.tar.gz
(4.2 kB
view details)
File details
Details for the file word-counter-0.0.2.tar.gz
.
File metadata
- Download URL: word-counter-0.0.2.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb8edffaf859e83717a701533498bd32e4efbb153d42393413aabe380530f31c |
|
MD5 | c3f6fd6ec2ad686305759cdb5a838897 |
|
BLAKE2b-256 | dfa6ab88823df599becf45e36c3299143d539142c607cc1a7732e58533fc1732 |