Skip to main content

Upload PDF file to Gyazo as images then convert Scrapbox format

Project description

pdf2sb

PyPI PyPI - Python Version PyPI - License

Upload PDF file to Gyazo as images then convert Scrapbox format.

Usage

Download slides (e.g. https://speakerdeck.com/reiyw/effective-modern-python-2018). Run:

pdf2sb ~/Downloads/presentation.pdf | pbcopy

Paste copied text to a Scrapbox page:

Image from Gyazo

Installation

  • poppler is required to generate images from a PDF file. Install poppler via Homebrew:
brew install poppler
  • Install pdf2sb:
pip install pdf2sb
  • Get Gyazo access token from here.
  • Set $GYAZO_ACCESS_TOKEN:
export GYAZO_ACCESS_TOKEN=<access token>

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

pdf2sb-0.3.3.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

pdf2sb-0.3.3-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page