π
gist.github.com/mara004 || PEP opinions β
616, 690, 701, 703, 706, 3136.A | π‘ 572 | β 634-636
Pinned Loading
-
-
pypdfium2-team/ctypesgen
pypdfium2-team/ctypesgen PublicForked from ctypesgen/ctypesgen
Wrapper generator for Python ctypes
-
PDF rendering with PDFBox, from Python
PDF rendering with PDFBox, from Python 1# SPDX-FileCopyrightText: 2023 geisserml <[email protected]>
2# SPDX-License-Identifier: Apache-2.0
34# Assuming you have an Apache PDFBox 3 jar in the same directory
5 -
PDF rendering with pdf.js, from Python
PDF rendering with pdf.js, from Python 1# SPDX-FileCopyrightText: 2024 geisserml <[email protected]>
2# SPDX-License-Identifier: Apache-2.0
34# This is an experimental pdf.js interface using shared memory.
5# Unfortunately, shm-typed-array does not support Windows, so this is not exactly portable.
-
JPEG to PDF N-up with pypdfium2
JPEG to PDF N-up with pypdfium2 1# SPDX-FileCopyrightText: 2024 geisserml <[email protected]>
2# SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
34import argparse
5from pathlib import Path
-
Page number spec parser [Draft]
Page number spec parser [Draft] 1# SPDX-FileCopyrightText: 2024 geisserml <[email protected]>
2# SPDX-License-Identifier: MPL-2.0
34# Sophisticated parser for a page number spec mini-language
5# Technically, this might be a use case for some parser generator like pyparsing or PLY, but this is a manual implementation based on common string operations.
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.