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.2.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.2-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreads-0.3.2.tar.gz
  • Upload date:
  • Size: 11.4 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.2.tar.gz
Algorithm Hash digest
SHA256 e60d745f0bcdcf7ad1c716877acfccf3c2f609b5b5da451bf8eb879bcc409528
MD5 f7ac5a565d2610829b6676e17d2d189e
BLAKE2b-256 cda6d8d8533984afadcc7a833f76ba28e77f99ea6efe832e744541c268b4c99c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyreads-0.3.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: pyreads-0.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f87bd3f92acafbb6989c9d803b247a9e8a29b5a985559b5b1516ab9564e7c54
MD5 b6323574632ce0bb82ccc3b5b7c5581f
BLAKE2b-256 3eea820409e7fc1073cb3ec9da77f4f13efe91c318a7c0e2ad578e31f6ec47f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyreads-0.3.2-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