Skip to main content

A Python script to convert PDF pages to images and upload them to Gyazo.

Project description

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

Installation

# 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:

GYAZO_API_TOKEN: your_token_here
PDF_DIR: /path/to/pdf/directory

Usage

# Upload a specific PDF
gp filename  # or filename.pdf

# Upload the latest PDF in the configured directory
gp

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

gyazo_pdf-0.1.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gyazo_pdf-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file gyazo_pdf-0.1.0.tar.gz.

File metadata

  • Download URL: gyazo_pdf-0.1.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for gyazo_pdf-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0bffbb00ba2b2231afd2bc702cb0f1703468c773fe5c54795998d60f99845d42
MD5 eb5745d61228c1de1f6e459f4f732e9c
BLAKE2b-256 89f5540a355780de6fbc875b9f597d1a7c1e5003b035bb4be4a5574f5f2171bb

See more details on using hashes here.

File details

Details for the file gyazo_pdf-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gyazo_pdf-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for gyazo_pdf-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9af2e815c59642e18d68d4706fbb8df6071a9f75c96867fbdbdc9947e925fd1e
MD5 df606b7a82bfd86168ef2d1da0c1ddbb
BLAKE2b-256 6631c64eef0f431ae8ef37037eba63ba8f9bd2a7a591d1ab3510fbf47ea82fb9

See more details on using hashes here.

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