Get a word count for books read in a year
Project description
gryibwc
Goodreads Year In Books Word Count
Get a word count for all books read in a year. :book:
Word count might be more accurate than pages, since the page count depends on formatting and whatnot. However, the word counts are estimated based on the length of the audio book version, which is still comparable across books. In any case, it makes for an interesting comparison of years.
Installation
pip install gryibwc
Usage
$ gryibwc -h
usage: gryibwc [-h] [--version] [--fast] userid year
positional arguments:
userid goodreads user id
year desired year
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--fast skip wait time - risk getting banned
Output e.g.:
Overall word count for year 2019: 4731925
The ID of the Goodreads user can be found in the profile URL.
E.g.: https://www.goodreads.com/user/show/26026244-lorenz
=> ID: 26026244
Also you need to specify an API key in the PUBLIC_KEY
environment
variable. Get your key here.
Dependencies
- Beautiful Soup
- https://github.com/LoLei/goodreads-api-client-python
- Be sure to use my fork since the main API request is not implemented in the original source
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
File details
Details for the file gryibwc-0.9.4.tar.gz
.
File metadata
- Download URL: gryibwc-0.9.4.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 792469cda0fb1f12ef53e52eb7aae5904973764ebcd891dc57887bce533e162d |
|
MD5 | d6eac779e38e52cb2a7525bbb0c4ee21 |
|
BLAKE2b-256 | 8ec4825a14501ac2f58ab40f3fb05a5dba9d67937158847819287361477c2f7c |
File details
Details for the file gryibwc-0.9.4-py3-none-any.whl
.
File metadata
- Download URL: gryibwc-0.9.4-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dbc0925942a7489350f7a2e59ae2184e82de11be59b7310522fdf1bdcb47d49 |
|
MD5 | 577fac8018d6bde0843df339a7906136 |
|
BLAKE2b-256 | 463b05ac227c74b7e5051ea6a307be71fa5cb7213f42eae30bb1ffdfa3258997 |