Skip to main content

PyReads package to process Goodreads site data.

Project description

PyReads

PyReads is a Python package designed to process and analyze data from Goodreads. It allows users to fetch their Goodreads library, parse book details, and work with the data programmatically.

Installation

To install PyReads, use pip:

pip install pyreads

Requirements

  • Python >= 3.10
  • Dependencies:
    • httpx==0.28.1
    • bs4==0.0.2
    • lxml==6.0.0
    • pandas==2.3.1
    • pydantic==2.11.7
    • tqdm==4.67.1

Usage

Fetching Your Goodreads Library

Here’s an example of how to use PyReads to fetch your Goodreads library:

from pyreads import fetch_library

# Replace with your Goodreads user ID
user_id = 110430434

# Fetch the library
library = fetch_library(user_id)

# Print the books in your library
for book in library.books:
    print(book.full_title)

Example Output

Bear and the Three Goldilocks by Horne, Patrick
The Starving Saints by Starling, Caitlin
Straight by Tingle, Chuck
Brave New World by Huxley, Aldous
The Hellbound Heart by Barker, Clive

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

pyreads-0.3.4.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyreads-0.3.4-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file pyreads-0.3.4.tar.gz.

File metadata

  • Download URL: pyreads-0.3.4.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyreads-0.3.4.tar.gz
Algorithm Hash digest
SHA256 7c016e7d088e428a4d5df346bf58db140618edceb6a0514cefdf057df8d70e09
MD5 fa2706fa81ba05ad9565ee79a0f7869a
BLAKE2b-256 4920a048eb695886b08bd18bfff4c6518214f0808d6f00bcdf80a980028db06b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyreads-0.3.4.tar.gz:

Publisher: python-publish.yml on k-z-m-r/PyReads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyreads-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: pyreads-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyreads-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 84f52126cf0cf606ddac93d8e3854bb201de6819b16fabf8da6cd3d26c63a7cb
MD5 d740944a7647e520c0f56fbc04251fe5
BLAKE2b-256 0c71f7e2e9a85c0200b684b5085ecdc24fdd93e80ae421a0009dd6acbd9e64e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyreads-0.3.4-py3-none-any.whl:

Publisher: python-publish.yml on k-z-m-r/PyReads

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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