pdf2sb
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:
Installation
- Install pdf2sb:
pip install pdf2sb
- Get Gyazo access token from here.
- Follow the instructions in this article (in Japanese).
- Set
$GYAZO_ACCESS_TOKEN:
export GYAZO_ACCESS_TOKEN=<access token>
Running via Docker
You can run pdf2sb also via Docker:
FILE=<your pdf file>; docker run --env GYAZO_ACCESS_TOKEN=$GYAZO_ACCESS_TOKEN -v $(readlink -f $FILE):/app/${FILE##*/} reiyw/pdf2sb ${FILE##*/}
# or
docker run --env GYAZO_ACCESS_TOKEN=$GYAZO_ACCESS_TOKEN reiyw/pdf2sb <URL>
Metadata
Release files for pdf2sb 0.3.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pdf2sb-0.3.11.tar.gz | 14.8 MB | Without provenance | Details for pdf2sb-0.3.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pdf2sb-0.3.11-py3-none-any.whl | Python 3 | none | any | Details for pdf2sb-0.3.11-py3-none-any.whl |
Total release size: 14.8 MB
Release files / pdf2sb-0.3.11.tar.gz
| Download URL | pdf2sb-0.3.11.tar.gz |
|---|---|
| Size | 14.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
501067459a2889fba376b726e53ac18409a4c5f163332b1916d5b1c6b5442196
|
|
BLAKE2b-256 checksum How to use checksums |
9f290b5d9eee763215a9adae8d205ec1bf87b5140f0aed7bc853f4f06e6140ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / pdf2sb-0.3.11-py3-none-any.whl
| Download URL | pdf2sb-0.3.11-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1728101689c1e46e541335381d91fd46a42a4ac8a5b74efe644d977148078b13
|
|
BLAKE2b-256 checksum How to use checksums |
7d32a3de987ab0f0eabd7f7093abdb5ef4c28e5f0573040186a7d6f5f8baece5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for pdf2sb 0.3.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.