Metadata-Version: 2.5
Name: pyread-cli
Version: 0.1.0
Summary: A terminal-based reading tool.
Project-URL: Repository, https://github.com/MShafquat/pyread
Project-URL: Issues, https://github.com/MShafquat/pyread/issues
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: click>=8.5.1
Requires-Dist: pyyaml>=6.0.4
Requires-Dist: requests>=2.34.2
Requires-Dist: rich>=15.0.0
Requires-Dist: typer>=0.29.3
Description-Content-Type: text/markdown

# pyread

[![Build](https://github.com/MShafquat/pyread/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/MShafquat/pyread/actions/workflows/build.yml)
[![Tests](https://github.com/MShafquat/pyread/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/MShafquat/pyread/actions/workflows/tests.yml)

A terminal reader for books from Project Gutenberg and the Internet Archive.
Find a book, read an excerpt sized to your time, and pick up where you left off.

## Install

Requires Python 3.11 or later.

```sh
python -m pip install "git+https://github.com/MShafquat/pyread.git"
pyread
```

Use **↑/↓** to move, **Enter** to select, and **q** to quit. First launch opens
Settings, where you can set your reading time and choose suggestion topics.

```sh
pyread search "science fiction"
pyread suggest
pyread next --continue
pyread stats
```

Downloads and reading progress are stored in `~/.pyread/`. Downloaded books
can be read offline. Run `pyread --help` for all commands.

## Development

```sh
uv sync --locked
uv run --locked pytest -q
uv build --no-sources
```

Stable GitHub releases publish to PyPI once you configure [Trusted Publishing](https://docs.pypi.org/trusted-publishers/).
For an existing release, run **Publish to PyPI** from the Actions tab with its
version tag and select **Upload to PyPI**.
