A modern pure-Python library for reading PDF files

A modern pure-Python library for reading PDF files. The goal is to have a modern interface to handle PDF files which is consistent with itself and typical Python syntax. The library should be Python-only (hence no C-extensions), but allow to change the backend. Similar in concept to matplotlib backends and Keras backends. The default backend could be PyPDF2. Possible other backends could be PyMuPDF (using MuPDF) and PikePDF (using QPDF). WARNING: This library is UNSTABLE at the moment! Expect many […]

Read more

Render LaTeX markup and equations to compact, self-aligning, scalable SVG (Python3 & commandline)

Python wrapper and CLI utility to render LaTeX markup and equations as SVG usingdvisvgm and svgo. Based on the original work by Tino Wagner, this version has enhanced features. The design goals are: Auto vertical alignment without any further styling. by adding a style=”vertical-align:” to the SVG attributes Auto scaling on font size/zoom change. by using em units for width, height and style Unique IDs so multiple SVGs on one page won’t corrupt each other. by generating random 4-character ID […]

Read more

Volume Rendering of Neural Implicit Surfaces

Project Page | Paper | Data This repository contains an implementation for the NeurIPS 2021 paper:Volume Rendering of Neural Implicit Surfaces Lior Yariv1, Jiatao Gu2, Yoni Kasten1, Yaron Lipman1,21Weizmann Institute of Science, 2Facebook AI Research The paper introduce VolSDF: a volume rendering framework for implicit neural surfaces, allowing to learn high fidelity geometry from a sparse set of input images. Setup Installation Requirmenets The code is compatible with python 3.8 and pytorch 1.7. In addition, the following packages are required:numpy, […]

Read more

Renders possibly unsafe PDF files and outputs harmless PDF files

Renders possibly malicious PDF files and outputs harmless PDF files To do this, the PDF files are rendered and converted to images using PyMuPDF.The images are then saved to a new PDF file using img2pdf. This ensures no visual data is lost,but any scripts/external references/flash files are removed. Instalation: git clone https://github.com/lacioffi/PDFSanitizer cd PDFSanitizer pip install -r requirements.txt Usage:

Read more