PyPDFForm 3.7.2__tar.gz → 3.7.3__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.
Files changed (56) hide show
  1. {pypdfform-3.7.2 → pypdfform-3.7.3}/PKG-INFO +2 -2
  2. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/__init__.py +1 -1
  3. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/ap.py +1 -3
  4. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm.egg-info/PKG-INFO +2 -2
  5. {pypdfform-3.7.2 → pypdfform-3.7.3}/README.md +1 -1
  6. {pypdfform-3.7.2 → pypdfform-3.7.3}/LICENSE +0 -0
  7. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/adapter.py +0 -0
  8. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/constants.py +0 -0
  9. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/coordinate.py +0 -0
  10. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/deprecation.py +0 -0
  11. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/filler.py +0 -0
  12. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/font.py +0 -0
  13. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/hooks.py +0 -0
  14. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/image.py +0 -0
  15. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/middleware/__init__.py +0 -0
  16. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/middleware/base.py +0 -0
  17. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/middleware/checkbox.py +0 -0
  18. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/middleware/dropdown.py +0 -0
  19. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/middleware/image.py +0 -0
  20. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/middleware/radio.py +0 -0
  21. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/middleware/signature.py +0 -0
  22. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/middleware/text.py +0 -0
  23. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/patterns.py +0 -0
  24. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/template.py +0 -0
  25. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/utils.py +0 -0
  26. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/watermark.py +0 -0
  27. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/__init__.py +0 -0
  28. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/base.py +0 -0
  29. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/bedrock.py +0 -0
  30. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/checkbox.py +0 -0
  31. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/dropdown.py +0 -0
  32. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/image.py +0 -0
  33. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/radio.py +0 -0
  34. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/signature.py +0 -0
  35. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/widgets/text.py +0 -0
  36. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm/wrapper.py +0 -0
  37. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm.egg-info/SOURCES.txt +0 -0
  38. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm.egg-info/dependency_links.txt +0 -0
  39. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm.egg-info/requires.txt +0 -0
  40. {pypdfform-3.7.2 → pypdfform-3.7.3}/PyPDFForm.egg-info/top_level.txt +0 -0
  41. {pypdfform-3.7.2 → pypdfform-3.7.3}/pyproject.toml +0 -0
  42. {pypdfform-3.7.2 → pypdfform-3.7.3}/setup.cfg +0 -0
  43. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_bulk_create_fields.py +0 -0
  44. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_create_widget.py +0 -0
  45. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_dropdown.py +0 -0
  46. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_extract_values.py +0 -0
  47. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_fill_max_length_text_field.py +0 -0
  48. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_fill_method.py +0 -0
  49. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_font_widths.py +0 -0
  50. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_functional.py +0 -0
  51. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_generate_appearance_streams.py +0 -0
  52. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_need_appearances.py +0 -0
  53. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_paragraph.py +0 -0
  54. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_signature.py +0 -0
  55. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_use_full_widget_name.py +0 -0
  56. {pypdfform-3.7.2 → pypdfform-3.7.3}/tests/test_widget_attr_trigger.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyPDFForm
3
- Version: 3.7.2
3
+ Version: 3.7.3
4
4
  Summary: The Python library for PDF forms.
5
5
  Author: Jinge Li
6
6
  License-Expression: MIT
@@ -79,7 +79,7 @@ A sample PDF form can be found [here](https://chinapandaman.github.io/PyPDFForm/
79
79
  ```python
80
80
  from PyPDFForm import PdfWrapper
81
81
 
82
- filled = PdfWrapper("sample_template.pdf", generate_appearance_streams=True).fill(
82
+ filled = PdfWrapper("sample_template.pdf", need_appearances=True).fill(
83
83
  {
84
84
  "test": "test_1",
85
85
  "check": True,
@@ -20,7 +20,7 @@ The library supports various PDF form features, including:
20
20
  PyPDFForm aims to simplify PDF form manipulation, making it accessible to developers of all skill levels.
21
21
  """
22
22
 
23
- __version__ = "3.7.2"
23
+ __version__ = "3.7.3"
24
24
 
25
25
  from .middleware.text import Text # exposing for setting global font attrs
26
26
  from .widgets import Fields
@@ -101,13 +101,11 @@ def appearance_streams_post_processing(
101
101
  for page in writer.pages:
102
102
  for annot in page.get(Annots, []):
103
103
  key = get_widget_key(annot, use_full_widget_name)
104
- widget = widgets[key]
105
-
106
104
  with suppress(Exception):
107
105
  needs_update = (
108
106
  needs_update
109
107
  or ap_processing_reportlab_text_field_alignment(
110
- annot, widget, available_fonts
108
+ annot, widgets[key], available_fonts
111
109
  )
112
110
  )
113
111
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyPDFForm
3
- Version: 3.7.2
3
+ Version: 3.7.3
4
4
  Summary: The Python library for PDF forms.
5
5
  Author: Jinge Li
6
6
  License-Expression: MIT
@@ -79,7 +79,7 @@ A sample PDF form can be found [here](https://chinapandaman.github.io/PyPDFForm/
79
79
  ```python
80
80
  from PyPDFForm import PdfWrapper
81
81
 
82
- filled = PdfWrapper("sample_template.pdf", generate_appearance_streams=True).fill(
82
+ filled = PdfWrapper("sample_template.pdf", need_appearances=True).fill(
83
83
  {
84
84
  "test": "test_1",
85
85
  "check": True,
@@ -37,7 +37,7 @@ A sample PDF form can be found [here](https://chinapandaman.github.io/PyPDFForm/
37
37
  ```python
38
38
  from PyPDFForm import PdfWrapper
39
39
 
40
- filled = PdfWrapper("sample_template.pdf", generate_appearance_streams=True).fill(
40
+ filled = PdfWrapper("sample_template.pdf", need_appearances=True).fill(
41
41
  {
42
42
  "test": "test_1",
43
43
  "check": True,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes