Skip to main content

hayasaka

Hayasaka saves the rendered HTML as an image.

Use cases

  • Save the slides (an HTML file) using reveal.js as an image

⚠️To Run hayasaka, you currently need to have the Firefox browser installed (Google Chrome will be supported in the future).

Installation

$ pip install hayasaka

Usage

📸Generate an image from URL

$ hayasaka-cli https://ftnext.github.io/2022_slides/pyconjp/python_and_star.html python_and_star.png

📸Generate an image from a local HTML file path

$ hayasaka-cli ../2022_slides/build/revealjs/pyconjp/python_and_star.html python_and_star.png

Development environment

$ git clone git@github.com:ftnext/hayasaka.git
$ cd hayasaka

$ python3.11 -m venv venv --upgrade-deps
$ source venv/bin/activate

(venv) $ pip install -e '.[dev]'
(venv) $ task test

Metadata

Release files for hayasaka 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hayasaka 0.2.0
File Size Uploaded Provenance Actions
hayasaka-0.2.0.tar.gz 4.3 kB Without provenance Details for hayasaka-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hayasaka 0.2.0
File Interpreter ABI Platform Actions
hayasaka-0.2.0-py3-none-any.whl Python 3 none any Details for hayasaka-0.2.0-py3-none-any.whl

Total release size: 8.8 kB

Release files / hayasaka-0.2.0.tar.gz

Download URL hayasaka-0.2.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
380738e78debe125a6ee9b43b3840b78b400c94a3ecbd245317a1b0614ce0438
BLAKE2b-256 checksum
How to use checksums
7b30d4538cd00797262258fbd080d6fc7a6f9e62a73dece01602187bd25aba8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / hayasaka-0.2.0-py3-none-any.whl

Download URL hayasaka-0.2.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6d55e04e998f11c6172254c1c75264df70e0f28efb99d5453887b0cb43b5023
BLAKE2b-256 checksum
How to use checksums
cb8f8b3f65affe539d036bab351e042c8acf8b3d989cb0922358b93cb9ff7fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for hayasaka 0.2.0

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page