Hostile 98% python Download

pypdf 6.7.3

Legitimate PDF library

Python bitwise XOR expressionPython name: uuid.py or _base.py

Evidence

Declares Markdown package description METADATA · lines 1–13
1Metadata-Version: 2.4
2Name: pypdf
3Version: 6.7.3
4Summary: A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files
5Author-email: Mathieu Fenniak <[email protected]>
6Maintainer: stefan6419846
7Maintainer-email: Martin Thoma <[email protected]>
8Requires-Python: >=3.9
9Description-Content-Type: text/markdown
10License-Expression: BSD-3-Clause
11Classifier: Development Status :: 5 - Production/Stable
12Classifier: Intended Audience :: Developers
13Classifier: Programming Lan …
Declares Python runtime dependencies METADATA · lines 18–28
18:39… thon :: 3.12
19Classifier: Programming Language :: Python :: 3.13
20Classifier: Programming Language :: Python :: 3.14
21Classifier: Operating System :: OS Independent
22Classifier: Topic :: Software Development :: Libraries :: Python Modules
23Classifier: Typing :: Typed
24License-File: LICENSE
25Requires-Dist: typing_extensions >= 4.0; python_version < '3.11'
26Requires-Dist: cryptography ; extra == "crypto"
27Requires-Dist: PyCryptodome ; extra == "cryptodome"
28Requires-Dist: flit ; extra …
Package metadata references Shields badge URLs METADATA · lines 53–55
53:50… vg)](https://badge.fury.io/py/pypdf)
54[![Python Support](https://img.shields.io/pypi/pyversions/pypdf.svg)](https://pypi.org/project/pypdf/)
55[![](https://img.shields.io/badge/-documentation-green)](https://p …
Email address suffix @gmail.com LICENSE · lines 1–29
1Copyright (c) 2006-2008, Mathieu Fenniak
2Some contributions copyright (c) 2007, Ashish Kulkarni <[email protected]>
3Some contributions copyright (c) 2014, Steve Witham <[email protected]>
4
5All rights reserved.
6
7Redistribution and use in source and binary forms, with or without
8modification, are permitted provided that the following conditions are
9met:
10
11* Redistributions of source code must retain the above copyright notice,
12this list of conditions and the following disclaimer.
13* Redistributions in binary form must reproduce the above copyright notice,
14this list of conditions and the following disclaimer in the documentation
15and/or other materials provided with the distribution.
16* The name of the author may not be used to endorse or promote products
17derived from this software without specific prior written permission.
18
19THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
⋯6 lines
Handles a missing-module ImportError __init__.py · lines 1–48
1"""
2pypdf is a free and open-source pure-python PDF library capable of splitting,
3merging, cropping, and transforming the pages of PDF files. It can also add
4custom data, viewing options, and passwords to PDF files. pypdf can retrieve
5text and metadata from PDFs as well.
6
7You can read the full docs at https://pypdf.readthedocs.io/.
8"""
9
10from ._crypt_providers import crypt_provider
11from ._doc_common import DocumentInformation
12from ._encryption import PasswordType
13from ._page import PageObject, Transformation
14from ._reader import PdfReader
15from ._text_extraction import mult
16from ._version import __version__
17from ._writer import ObjectDeletionFlag, PdfWriter
18from .constants import ImageType
19from .pagerange import PageRange, parse_filename_page_ranges
20from .papersizes import PaperSize
21
22try:
23 import PIL
24
25 pil_version = PIL.__version__
26except ImportError:
27 pil_version = "none"
28
⋯20 lines

Showing the top 5 files — 7 more files (100 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.