PyPDFForm 2.2.0__py3-none-any.whl → 2.2.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of PyPDFForm might be problematic. Click here for more details.
- PyPDFForm/__init__.py +1 -1
- PyPDFForm/wrapper.py +1 -4
- {pypdfform-2.2.0.dist-info → pypdfform-2.2.2.dist-info}/METADATA +17 -12
- {pypdfform-2.2.0.dist-info → pypdfform-2.2.2.dist-info}/RECORD +7 -7
- {pypdfform-2.2.0.dist-info → pypdfform-2.2.2.dist-info}/WHEEL +1 -1
- {pypdfform-2.2.0.dist-info → pypdfform-2.2.2.dist-info}/licenses/LICENSE +0 -0
- {pypdfform-2.2.0.dist-info → pypdfform-2.2.2.dist-info}/top_level.txt +0 -0
PyPDFForm/__init__.py
CHANGED
PyPDFForm/wrapper.py
CHANGED
|
@@ -497,10 +497,7 @@ class PdfWrapper(FormWrapper):
|
|
|
497
497
|
obj = _class(name=name, page_number=page_number, x=x, y=y, **kwargs)
|
|
498
498
|
watermarks = obj.watermarks(self.read())
|
|
499
499
|
|
|
500
|
-
|
|
501
|
-
self.stream = copy_watermark_widgets(self.read(), watermarks, [name])
|
|
502
|
-
else:
|
|
503
|
-
self.stream = merge_watermarks_with_pdf(self.read(), watermarks)
|
|
500
|
+
self.stream = copy_watermark_widgets(self.read(), watermarks, [name])
|
|
504
501
|
if obj.non_acro_form_params:
|
|
505
502
|
self.stream = handle_non_acro_form_params(
|
|
506
503
|
self.stream, name, obj.non_acro_form_params
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyPDFForm
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: The Python library for PDF forms.
|
|
5
|
-
Home-page: https://github.com/chinapandaman/PyPDFForm
|
|
6
5
|
Author: Jinge Li
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/chinapandaman/PyPDFForm
|
|
8
|
+
Project-URL: Documentation, https://chinapandaman.github.io/PyPDFForm/
|
|
7
9
|
Classifier: Development Status :: 5 - Production/Stable
|
|
8
10
|
Classifier: Intended Audience :: Developers
|
|
9
11
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -14,7 +16,6 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
16
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
17
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
18
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
18
19
|
Classifier: Operating System :: OS Independent
|
|
19
20
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
21
|
Requires-Python: >=3.8
|
|
@@ -24,15 +25,19 @@ Requires-Dist: cryptography
|
|
|
24
25
|
Requires-Dist: pillow
|
|
25
26
|
Requires-Dist: pypdf
|
|
26
27
|
Requires-Dist: reportlab
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
Provides-Extra: dev
|
|
29
|
+
Requires-Dist: black; extra == "dev"
|
|
30
|
+
Requires-Dist: coverage; extra == "dev"
|
|
31
|
+
Requires-Dist: isort; extra == "dev"
|
|
32
|
+
Requires-Dist: jsonschema; extra == "dev"
|
|
33
|
+
Requires-Dist: mkdocs; extra == "dev"
|
|
34
|
+
Requires-Dist: pudb; extra == "dev"
|
|
35
|
+
Requires-Dist: pylint; extra == "dev"
|
|
36
|
+
Requires-Dist: pyright; extra == "dev"
|
|
37
|
+
Requires-Dist: pytest; extra == "dev"
|
|
38
|
+
Requires-Dist: requests; extra == "dev"
|
|
39
|
+
Requires-Dist: ruff; extra == "dev"
|
|
32
40
|
Dynamic: license-file
|
|
33
|
-
Dynamic: requires-dist
|
|
34
|
-
Dynamic: requires-python
|
|
35
|
-
Dynamic: summary
|
|
36
41
|
|
|
37
42
|
<p align="center"><img src="https://github.com/chinapandaman/PyPDFForm/raw/master/docs/img/logo.png"></p>
|
|
38
43
|
<p align="center">
|
|
@@ -73,7 +78,7 @@ pip install PyPDFForm
|
|
|
73
78
|
```
|
|
74
79
|
|
|
75
80
|
## Quick Example
|
|
76
|
-

|
|
81
|
+

|
|
77
82
|
|
|
78
83
|
A sample PDF form can be found [here](https://github.com/chinapandaman/PyPDFForm/raw/master/pdf_samples/sample_template.pdf). Download it and try:
|
|
79
84
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
PyPDFForm/__init__.py,sha256=
|
|
1
|
+
PyPDFForm/__init__.py,sha256=HNulIew3N71YCiwiDKAcAlO6PzDIaF1VrqRgHbnFC6A,328
|
|
2
2
|
PyPDFForm/adapter.py,sha256=_5fP5UR-NzjDDayJmBRO36DgbnbUzNbjZtHZtPvSM14,1909
|
|
3
3
|
PyPDFForm/constants.py,sha256=r4lR-lQ8KjKRLMowjxIv6k3wBPOxvt9-JAMugZwQmZM,2285
|
|
4
4
|
PyPDFForm/coordinate.py,sha256=AgVrBoUo6fLVTVdZrlVRf6tGwD-AX54ICMLfbvhYfRs,14879
|
|
@@ -9,7 +9,7 @@ PyPDFForm/patterns.py,sha256=iChwqR-aZUKhEdnbQ8OEwnES2-NaMhBUy4dUrnuDPpA,9243
|
|
|
9
9
|
PyPDFForm/template.py,sha256=v1ZM52xHCzO8Xm7EXinbTepm2G7MU7StUgCFtuUdcbI,18899
|
|
10
10
|
PyPDFForm/utils.py,sha256=ubqTaItrs6pEYcza-12bxLUiFYe_sl-0SdeowD_BSG0,8444
|
|
11
11
|
PyPDFForm/watermark.py,sha256=9ydcqy8wNrea_1BvywyUsbcD4TzxQuEAdo0izOZKYyU,11101
|
|
12
|
-
PyPDFForm/wrapper.py,sha256=
|
|
12
|
+
PyPDFForm/wrapper.py,sha256=4owXTiSyvx2DSA2XGnssIjH-ygL2pznmRjpPOuWwaWw,24625
|
|
13
13
|
PyPDFForm/middleware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
PyPDFForm/middleware/base.py,sha256=d4z7M7pm80176cC4H85m3ZRWzAu_Fm1HkwQkmSSi-WE,2832
|
|
15
15
|
PyPDFForm/middleware/checkbox.py,sha256=gRGhFySPoIpKBseoiOTS3WggoBBik12dXbZ-LJKzIwM,2611
|
|
@@ -27,8 +27,8 @@ PyPDFForm/widgets/image.py,sha256=6y8Ysmk49USr_qWOXD6KGL6cch516cUIlrxoj0pJy9Q,79
|
|
|
27
27
|
PyPDFForm/widgets/radio.py,sha256=ipadJyHbgftDUvjGk15kapzgHPN3HjdF_iB_7amXR6o,2737
|
|
28
28
|
PyPDFForm/widgets/signature.py,sha256=RII_fgjPRbM5_72ih4L6ohaWCBOyjgIoY6odkd15VY8,5107
|
|
29
29
|
PyPDFForm/widgets/text.py,sha256=HP2cPEUAzK5QL3kDfMz7gQcC3svCpmYuyFItBjlrBpI,1233
|
|
30
|
-
pypdfform-2.2.
|
|
31
|
-
pypdfform-2.2.
|
|
32
|
-
pypdfform-2.2.
|
|
33
|
-
pypdfform-2.2.
|
|
34
|
-
pypdfform-2.2.
|
|
30
|
+
pypdfform-2.2.2.dist-info/licenses/LICENSE,sha256=43awmYkI6opyTpg19me731iO1WfXZwViqb67oWtCsFY,1065
|
|
31
|
+
pypdfform-2.2.2.dist-info/METADATA,sha256=uConsIdDy3O6gtKYxjRAROunBPR5ghd4_gNAoedhQ3A,5605
|
|
32
|
+
pypdfform-2.2.2.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
|
33
|
+
pypdfform-2.2.2.dist-info/top_level.txt,sha256=GQQKuWqPUjT9YZqwK95NlAQzxjwoQrsxQ8ureM8lWOY,10
|
|
34
|
+
pypdfform-2.2.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|