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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreads-0.3.1.tar.gz
  • Upload date:
  • Size: 11.3 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.1.tar.gz
Algorithm Hash digest
SHA256 d7de216699948470bb327261bf64ef9348d368f581d35145a08b1645c3b3a736
MD5 29d2a3b40128678009b1e7af1c5d2d6c
BLAKE2b-256 01ae1006d74df3251d20d471700d48bca16c527387e551729f080462568e4b18

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on jeremy-kazimer/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.1-py3-none-any.whl.

File metadata

  • Download URL: pyreads-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc0ca35a5a7dede5a481144054e9cbca240fb898d67607d53d2ec948c2eb6fb1
MD5 322978d2b0bec64a29abaeee0764153d
BLAKE2b-256 f1306d192804f9e5d0aff7fc15db6040321392101fc17ea32e5c21a7a6917edb

See more details on using hashes here.

Provenance

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

Publisher: python-publish.yml on jeremy-kazimer/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