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.0.tar.gz (11.4 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.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreads-0.3.0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyreads-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b1b9970655c73b61f01071a257fb08b90d81c516c4b0a26dd0713e6de34ec658
MD5 14155e89d733922b67d4a4292abe4cf6
BLAKE2b-256 5d1c354dc5a6c2722efab2115364215446dd1c21688f7ac461cc3884f6d2bcf8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyreads-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for pyreads-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf250a59ca3b3adbe0c7e0f3b1191c1c3dc51b9b0959b3479cb5bd4eb14c8d7e
MD5 e6c4f54dadaf2722ce0fdf07d8594c49
BLAKE2b-256 35d9fbcbe381b2aa453357860c3df27f85f4d941d2ee7802b7bc6e6f220397e2

See more details on using hashes here.

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