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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyreads-0.3.3.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.3.tar.gz
Algorithm Hash digest
SHA256 1011c59f7fb17b60fd97f0682d113a3eb575b352426dfca0dc04ccfee47101ca
MD5 b919ab2eb93c2420403b74de77a8bd62
BLAKE2b-256 481402a953a6d73d210378f6f6d6dbe1ca28fcbf21cef35b0bedd13e0595fc01

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyreads-0.3.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 370833fa94937276e05d7e0c1ca3812329d42da2608f3c2efa5e57a7f9e862e6
MD5 16494b19cf157a114308f4614858ae08
BLAKE2b-256 476a2bb828d0602163b3a2fc6f56b628c95ea41b2929aecb6d8efbf5b26073c9

See more details on using hashes here.

Provenance

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