PyPDFForm 4.7.2__tar.gz → 4.7.4__tar.gz
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.
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PKG-INFO +3 -3
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/__init__.py +1 -1
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/template.py +1 -3
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm.egg-info/PKG-INFO +3 -3
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm.egg-info/requires.txt +2 -2
- {pypdfform-4.7.2 → pypdfform-4.7.4}/pyproject.toml +3 -3
- {pypdfform-4.7.2 → pypdfform-4.7.4}/LICENSE +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/adapter.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/annotations/__init__.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/annotations/base.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/annotations/link.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/annotations/stamp.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/annotations/text.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/annotations/text_markup.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/assets/__init__.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/assets/bedrock.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/assets/blank.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/constants.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/coordinate.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/deprecation.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/egress.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/filler.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/font.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/hooks.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/image.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/middleware/__init__.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/middleware/base.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/middleware/checkbox.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/middleware/dropdown.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/middleware/image.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/middleware/radio.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/middleware/signature.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/middleware/text.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/patterns.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/raw/__init__.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/raw/circle.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/raw/ellipse.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/raw/image.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/raw/line.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/raw/rect.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/raw/text.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/types.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/utils.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/watermark.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/widgets/__init__.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/widgets/base.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/widgets/checkbox.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/widgets/dropdown.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/widgets/image.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/widgets/radio.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/widgets/signature.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/widgets/text.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm/wrapper.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm.egg-info/SOURCES.txt +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm.egg-info/dependency_links.txt +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/PyPDFForm.egg-info/top_level.txt +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/README.md +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/setup.cfg +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_bulk_create_fields.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_create_widget.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_draw_elements.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_dropdown.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_extract_middleware_attributes.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_fill_max_length_text_field.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_font_widths.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_functional.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_generate_appearance_streams.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_js.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_need_appearances.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_paragraph.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_signature.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_use_full_widget_name.py +0 -0
- {pypdfform-4.7.2 → pypdfform-4.7.4}/tests/test_widget_attr_trigger.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyPDFForm
|
|
3
|
-
Version: 4.7.
|
|
3
|
+
Version: 4.7.4
|
|
4
4
|
Summary: The Python library for PDF forms.
|
|
5
5
|
Author: Jinge Li
|
|
6
6
|
License-Expression: MIT
|
|
@@ -22,9 +22,9 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
Requires-Dist: cryptography<47.0.0,>=46.0.3
|
|
24
24
|
Requires-Dist: fonttools<5.0.0,>=4.60.1
|
|
25
|
-
Requires-Dist: pikepdf<11.0.0,>=10.0
|
|
25
|
+
Requires-Dist: pikepdf<11.0.0,>=10.5.0
|
|
26
26
|
Requires-Dist: pillow<13.0.0,>=12.0.0
|
|
27
|
-
Requires-Dist: pypdf<7.0.0,>=6.
|
|
27
|
+
Requires-Dist: pypdf<7.0.0,>=6.9.0
|
|
28
28
|
Requires-Dist: reportlab<5.0.0,>=4.4.6
|
|
29
29
|
Provides-Extra: dev
|
|
30
30
|
Requires-Dist: black<27.0.0,>=25.11.0; extra == "dev"
|
|
@@ -335,9 +335,7 @@ def create_annotations(
|
|
|
335
335
|
Returns:
|
|
336
336
|
bytes: The updated PDF stream with the added annotations.
|
|
337
337
|
"""
|
|
338
|
-
|
|
339
|
-
writer = PdfWriter(clone_from=reader)
|
|
340
|
-
|
|
338
|
+
writer = PdfWriter(stream_to_io(template))
|
|
341
339
|
annotations_by_page = _group_annotations_by_page(annotations)
|
|
342
340
|
|
|
343
341
|
for i, page in enumerate(writer.pages):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyPDFForm
|
|
3
|
-
Version: 4.7.
|
|
3
|
+
Version: 4.7.4
|
|
4
4
|
Summary: The Python library for PDF forms.
|
|
5
5
|
Author: Jinge Li
|
|
6
6
|
License-Expression: MIT
|
|
@@ -22,9 +22,9 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
Requires-Dist: cryptography<47.0.0,>=46.0.3
|
|
24
24
|
Requires-Dist: fonttools<5.0.0,>=4.60.1
|
|
25
|
-
Requires-Dist: pikepdf<11.0.0,>=10.0
|
|
25
|
+
Requires-Dist: pikepdf<11.0.0,>=10.5.0
|
|
26
26
|
Requires-Dist: pillow<13.0.0,>=12.0.0
|
|
27
|
-
Requires-Dist: pypdf<7.0.0,>=6.
|
|
27
|
+
Requires-Dist: pypdf<7.0.0,>=6.9.0
|
|
28
28
|
Requires-Dist: reportlab<5.0.0,>=4.4.6
|
|
29
29
|
Provides-Extra: dev
|
|
30
30
|
Requires-Dist: black<27.0.0,>=25.11.0; extra == "dev"
|
|
@@ -29,9 +29,9 @@ requires-python = ">=3.10"
|
|
|
29
29
|
dependencies = [
|
|
30
30
|
"cryptography>=46.0.3,<47.0.0",
|
|
31
31
|
"fonttools>=4.60.1,<5.0.0",
|
|
32
|
-
"pikepdf>=10.0
|
|
32
|
+
"pikepdf>=10.5.0,<11.0.0",
|
|
33
33
|
"pillow>=12.0.0,<13.0.0",
|
|
34
|
-
"pypdf>=6.
|
|
34
|
+
"pypdf>=6.9.0,<7.0.0",
|
|
35
35
|
"reportlab>=4.4.6,<5.0.0",
|
|
36
36
|
]
|
|
37
37
|
|
|
@@ -136,5 +136,5 @@ include = ["PyPDFForm*"]
|
|
|
136
136
|
|
|
137
137
|
[tool.pytest.ini_options]
|
|
138
138
|
markers = [
|
|
139
|
-
"posix_only",
|
|
139
|
+
"posix_only", # mainly because of zlib vs zlib-ng
|
|
140
140
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|