Skip to main content

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gryibwc-0.9.4.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

gryibwc-0.9.4-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page