Metadata-Version: 2.4
Name: gyazo-pdf
Version: 0.1.2
Summary: A Python script to convert PDF pages to images and upload them to Gyazo.
Author-email: yosider <yosider@users.noreply.github.com>
License: MIT
Project-URL: Homepage, https://github.com/yosider/gyazo-pdf
Project-URL: Repository, https://github.com/yosider/gyazo-pdf
Project-URL: Issues, https://github.com/yosider/gyazo-pdf/issues
Keywords: gyazo,pdf
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click
Requires-Dist: Pillow
Requires-Dist: PyMuPDF
Requires-Dist: pyperclip
Requires-Dist: python-dotenv
Requires-Dist: python-gyazo
Requires-Dist: PyYAML
Requires-Dist: tqdm
Dynamic: license-file

# Gyazo PDF
A Python script to convert PDF pages to images and upload them to Gyazo.  
The URLs of the uploaded images are copied to the clipboard.

## Prerequisites
- [Gyazo](https://gyazo.com/) account and API token
- [pipx](https://pipx.pypa.io/) or [uv](https://docs.astral.sh/uv/)

## Installation
```bash
# Using pipx
pipx install gyazo-pdf

# Or using uv
uv tool install gyazo-pdf
```

## Configuration
Create a config file at `~/.config/gyazo-pdf/config.yaml`:
```yaml
GYAZO_API_TOKEN: your_token_here
PDF_DIR: /path/to/pdf/directory
```

## Usage
```bash
# Upload a specific PDF
gp filename  # or filename.pdf

# Upload the latest PDF in the configured directory
gp
```
