pylopdf

PDF editing, rendering, extraction, and generation for Python on the Rust engines lopdf, hayro, and krilla: MIT, safe on untrusted input, WebAssembly-ready

A new way for AI to search for data
View on GitHub
2GitHub stars
472commits on main
1forks
v0.16.0latest release, 2026-10-27

Python 57.9%, Rust 41.7%, Shell 0.2%, JavaScript 0.2% · created 2024-08-31 · last push 2026-10-27

What XERJ indexed

Snapshot

282 files · 93.1 MB

The whole repository at commit b22cf63f2e (2026-10-13). main is 201 commits ahead.

Selected work

“Expose glyph positions through rawdict text extraction”. 10 files, 1,020 lines in tests, rust, src/pylopdf.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-15. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

pdfpdf-editingpdf-librarypdf-renderingpymupdf-alternativepyo3pythonrust

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for yhay81/pylopdf on 2026-10-31, and the LICENSE file at commit b22cf63f2e was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Yusuke Hayashi (@yhay81) has 10 selected repositories on the hub.

Their other repository pages: yhay81/GASlacker, yhay81/vastgrid, yhay81/sqrail, yhay81/pyropdf, yhay81/arc-agi-2-solution-atlas, yhay81/markdown-translation-preview.

Using XERJ with pylopdf

The prompt

Paste it into your AI agent. It clones yhay81/pylopdf at the pinned commit and indexes it on your machine.

Search the GitHub repository yhay81/pylopdf with XERJ (https://hub.xerj.org/corpus/yhay81--pylopdf).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/yhay81/pylopdf pylopdf && git -C pylopdf checkout b22cf63f2efb1c392176dad2b0cf0cda8e6fafa2
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./pylopdf --url http://127.0.0.1:9200 --prefix pylopdf --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.