Skip to main content

kakemono for Python

Convert PDF papers and books (a local file or an arXiv id) into clean, readable HTML, from Python. The conversion is done by the kakemono Rust library, bundled in the wheel: no poppler, mupdf or other system dependency.

pip install kakemono
import kakemono

html = kakemono.convert("paper.pdf")                       # friendly mode, one self-contained page
html = kakemono.convert("1706.03762", mode="medium")       # an arXiv id or URL works too
pages = kakemono.convert_all("paper.pdf")                  # {"hard": ..., "hard-95": ..., "medium": ..., "friendly": ...}
doc = kakemono.analyze(open("paper.pdf", "rb").read())     # the structure: blocks in reading order
Mode What you get
hard Each page redrawn as SVG/PNG, with a hidden selectable text layer
hard-95 The same pages, with visible HTML text placed as in the PDF
medium Pages and columns kept, text reflowed
friendly One responsive column with themes, contents, a phone layout and a book view

Options of convert and convert_all: tables, equations ("mathml" or "image"), page_image ("svg", "svg-only", "png"), embed_fonts, scale and jobs. They match the command-line options described in the main README.

The GIL is released during a conversion, so several PDFs can be converted in parallel threads.

MIT license.

Metadata

Release files for kakemono 0.4.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 kakemono 0.4.0
File Size Uploaded Provenance Actions
kakemono-0.4.0.tar.gz 1.8 MB With provenance Details for kakemono-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for kakemono 0.4.0
File Actions
kakemono-0.4.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for kakemono-0.4.0-cp39-abi3-win_amd64.whl
kakemono-0.4.0-cp39-abi3-manylinux_2_28_aarch64.whl CPython 3.9 abi3 Linux glibc 2.28+ ARM64 Details for kakemono-0.4.0-cp39-abi3-manylinux_2_28_aarch64.whl
kakemono-0.4.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details for kakemono-0.4.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
kakemono-0.4.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for kakemono-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
kakemono-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for kakemono-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 40.4 MB

Release files / kakemono-0.4.0.tar.gz

Download URL kakemono-0.4.0.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
036ebb6356fc2668bee45b53521d8ba597f9e338916f3587b804ba15c8cad83f
BLAKE2b-256 checksum
How to use checksums
46d8a7d1eda76688426491ab3c90f784aa3ed61edd34595eb378321c1c9a919f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / kakemono-0.4.0-cp39-abi3-win_amd64.whl

Download URL kakemono-0.4.0-cp39-abi3-win_amd64.whl
Size 7.3 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
4ca11bad89c2d0622a5a1d979019d9189b4128dc5b4250089df4a283fbeac098
BLAKE2b-256 checksum
How to use checksums
e9b7c7c84f9bbd72286069283d6fdfc8d963279afdfa93805a4b7687f0dc396c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / kakemono-0.4.0-cp39-abi3-manylinux_2_28_aarch64.whl

Download URL kakemono-0.4.0-cp39-abi3-manylinux_2_28_aarch64.whl
Size 8.0 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
640c1d7fa5e8e9cdfa6654dde43162cad663baa19c2ae53f22511e1344d0361a
BLAKE2b-256 checksum
How to use checksums
691da187a831b0c9a5bd1a636c197a0dc2ad618fe51362ad8362fc780ead2b9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / kakemono-0.4.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL kakemono-0.4.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 8.2 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
d0963c63fb333df8822e89232c6546b2d92a4e0d14eb4b77af70a9250bad8fcc
BLAKE2b-256 checksum
How to use checksums
d63842cd5351dd8b875cdfd6201683b42d591f369e2db11e810f003578e26064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / kakemono-0.4.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL kakemono-0.4.0-cp39-abi3-macosx_11_0_arm64.whl
Size 7.2 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
26ffc596937d0b63bfebb87e91f5a7c62d09d15b0d422ad18c17a86f97370ee9
BLAKE2b-256 checksum
How to use checksums
45d844b0ca561f347777386d82745f430bd5f34fe7b1a4fb4214fc926cbe22b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / kakemono-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL kakemono-0.4.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 7.8 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c06b173febdac14ae4e398b350a072a6d6564e9395b350e146f5bd882e1ef7e7
BLAKE2b-256 checksum
How to use checksums
a9070a8d2bfca3cf28c21d3884b2f277fb1ccbea94c50ad1ade1a4b9805d9345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for kakemono 0.4.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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for kakemono-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

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.

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