python-pdffiller 2.0.1__tar.gz → 2.0.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.
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/PKG-INFO +1 -1
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/_version.py +1 -1
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/pdf.py +4 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pyproject.toml +1 -1
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/python_pdffiller.egg-info/PKG-INFO +1 -1
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/cli/test_dump_data_field.py +1 -1
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/unit/test_form_field.py +1 -1
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/AUTHORS.rst +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/CHANGELOG.md +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/COPYING +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/MANIFEST.in +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/README.rst +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/Makefile +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/make.bat +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/_static/rtd_literal_block.css +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/_static/rtd_theme_overrides.css +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/_static/terminal_output.css +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/changelog.md +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/cli-commands.rst +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/cli-usage.rst +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/commands/dump_data_fields.rst +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/commands/fill_form.rst +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/conf.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/contributing.rst +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/index.rst +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/__main__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/args.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/boolean_action.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/cli.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/command.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/commands/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/commands/dump_data_fields.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/commands/fill_form.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/exit_codes.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/formatters.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/once_argument.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/smart_formatter.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/const.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/exceptions.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/io/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/io/colors.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/io/output.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/py.typed.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/typing.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/utils.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/widgets/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/widgets/base.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/widgets/checkbox.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/widgets/radio.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/widgets/text.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/python_pdffiller.egg-info/SOURCES.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/python_pdffiller.egg-info/dependency_links.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/python_pdffiller.egg-info/entry_points.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/python_pdffiller.egg-info/requires.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/python_pdffiller.egg-info/top_level.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/requirements-dev.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/requirements-doc.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/requirements-lint.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/requirements-test.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/requirements.txt +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/setup.cfg +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/setup.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/cli/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/cli/test_fill_form.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/conftest.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/data/empty.pdf +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/data/input.pdf +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/unit/__init__.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/unit/test_formatters.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tests/unit/test_setup.py +0 -0
- {python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/tox.ini +0 -0
|
@@ -121,6 +121,10 @@ class Pdf:
|
|
|
121
121
|
cast(CheckBoxWidget, loaded_widgets[widget.field_name]).choices = (
|
|
122
122
|
new_widget.choices
|
|
123
123
|
)
|
|
124
|
+
if "Off" != widget.field_value:
|
|
125
|
+
cast(CheckBoxWidget, loaded_widgets[widget.field_name]).value = (
|
|
126
|
+
widget.field_value
|
|
127
|
+
)
|
|
124
128
|
|
|
125
129
|
self.widgets = loaded_widgets
|
|
126
130
|
|
|
@@ -17,7 +17,7 @@ def test_valid_pdf(test_data_dir):
|
|
|
17
17
|
assert len(schema[4]["FieldOptions"]) == 4
|
|
18
18
|
assert "Divorced" in schema[4]["FieldOptions"]
|
|
19
19
|
assert "Off" in schema[4]["FieldOptions"]
|
|
20
|
-
assert schema[4]["FieldValue"] == "
|
|
20
|
+
assert schema[4]["FieldValue"] == "Married"
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
def test_invalid_pdf(test_data_dir):
|
|
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
|
{python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/docs/source/_static/rtd_theme_overrides.css
RENAMED
|
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
|
{python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/pdffiller/cli/commands/dump_data_fields.py
RENAMED
|
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
|
{python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/python_pdffiller.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{python_pdffiller-2.0.1 → python_pdffiller-2.0.3}/python_pdffiller.egg-info/entry_points.txt
RENAMED
|
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
|