├── .coveragerc ├── .editorconfig ├── .github └── workflows │ └── pytest-with-coveralls.yml ├── .gitignore ├── LICENSE ├── MANIFEST.in ├── README.rst ├── dev-requirements.txt ├── pyproject.toml ├── setup.cfg ├── setup.py ├── src └── formpack │ ├── __init__.py │ ├── __main__.py │ ├── b64_attachment.py │ ├── constants.py │ ├── errors.py │ ├── pack.py │ ├── reporting │ ├── __init__.py │ ├── autoreport.py │ └── export.py │ ├── schema │ ├── __init__.py │ ├── datadef.py │ └── fields.py │ ├── submission.py │ ├── utils │ ├── __init__.py │ ├── array_to_xpath.py │ ├── bugfix.py │ ├── exceptions.py │ ├── expand_content.py │ ├── flatten_content.py │ ├── geojson.py │ ├── iterator.py │ ├── json_hash.py │ ├── kobo_locking.py │ ├── ordered_collection.py │ ├── replace_aliases.py │ ├── spreadsheet_content.py │ ├── spss.py │ ├── statistics.py │ ├── string.py │ ├── text.py │ ├── xform_tools.py │ ├── xls_to_ss_structure.py │ └── xlsform_parameters.py │ ├── validators.py │ └── version.py ├── tests ├── __init__.py ├── fixtures │ ├── __init__.py │ ├── all_geo_types │ │ ├── __init__.py │ │ ├── v1.json │ │ └── v2.json │ ├── analysis_form │ │ ├── __init__.py │ │ ├── analysis_form.json │ │ ├── v1.json │ │ └── v2.json │ ├── analysis_form_advanced │ │ ├── __init__.py │ │ ├── analysis_form.json │ │ └── v1.json │ ├── analysis_form_repeat_groups │ │ ├── __init__.py │ │ ├── analysis_form.json │ │ └── v1.json │ ├── auto_report │ │ ├── __init__.py │ │ └── v1.json │ ├── auto_report_extended_fields │ │ ├── __init__.py │ │ └── v1.json │ ├── build_fixture.py │ ├── customer_satisfaction │ │ ├── __init__.py │ │ └── v1.json │ ├── dietary_needs │ │ ├── __init__.py │ │ └── v1.json │ ├── favcolor │ │ ├── __init__.py │ │ └── xml_instances.json │ ├── favorite_coffee │ │ ├── __init__.py │ │ ├── v1.json │ │ └── v2.json │ ├── field_position_with_multiple_versions │ │ ├── __init__.py │ │ ├── v1.json │ │ ├── v2.json │ │ └── v3.json │ ├── fields_for_versions_list_index_out_of_range │ │ ├── __init__.py │ │ ├── v1.json │ │ └── v2.json │ ├── geojson_and_selects │ │ ├── __init__.py │ │ └── v1.json │ ├── grouped_questions │ │ └── __init__.py │ ├── grouped_repeatable │ │ ├── __init__.py │ │ └── v1.json │ ├── grouped_repeatable_alias │ │ ├── __init__.py │ │ └── v1.json │ ├── grouped_translated │ │ ├── __init__.py │ │ └── v1.json │ ├── hxl_grouped_repeatable │ │ ├── __init__.py │ │ └── v1.json │ ├── literacy_test │ │ ├── __init__.py │ │ └── v1.json │ ├── load_fixture_json.py │ ├── long_names │ │ ├── __init__.py │ │ └── v1.json │ ├── long_unicode_labels │ │ ├── __init__.py │ │ ├── long unicode labels to test SPSS export - English - SPSS labels.sps │ │ ├── long unicode labels to test SPSS export - Français - SPSS labels.sps │ │ ├── long unicode labels to test SPSS export - Swahili - SPSS labels.sps │ │ └── v1.json │ ├── media_types │ │ ├── __init__.py │ │ └── v1.json │ ├── nested_grouped_repeatable │ │ ├── __init__.py │ │ ├── v1.json │ │ └── v2.json │ ├── or_other │ │ ├── __init__.py │ │ └── v1.json │ ├── quotes_newlines_and_long_urls │ │ └── __init__.py │ ├── restaurant_photo │ │ ├── __init__.py │ │ ├── images.json │ │ ├── index.html │ │ └── v1.json │ ├── restaurant_profile │ │ ├── __init__.py │ │ ├── v1.json │ │ ├── v2.json │ │ ├── v3.json │ │ └── v4.json │ ├── sanitation_report │ │ ├── __init__.py │ │ └── v1.json │ ├── sanitation_report_external │ │ ├── __init__.py │ │ └── v1.json │ ├── select_one_from_previous_answers │ │ ├── __init__.py │ │ └── v1.json │ ├── select_one_legacy │ │ ├── __init__.py │ │ └── v1.json │ ├── selectone_to_multiple │ │ ├── __init__.py │ │ ├── submissions.json │ │ ├── v1_normal.json │ │ ├── v2_selectone.json │ │ └── v3_selectmultiple.json │ ├── simple_nested_grouped_repeatable │ │ ├── __init__.py │ │ ├── v1.json │ │ └── v2.json │ ├── simplest │ │ ├── __init__.py │ │ └── v1.json │ ├── site_inspection │ │ ├── __init__.py │ │ ├── v1.json │ │ ├── v2.json │ │ ├── v3.json │ │ ├── v4.json │ │ ├── v5.json │ │ └── v6.json │ ├── translations_labels_mismatch │ │ ├── __init__.py │ │ └── v1.json │ └── xlsforms │ │ ├── library-locking-example.xls │ │ └── library-locking-example.xlsx ├── test_additional_field_exports.py ├── test_array_to_xpath.py ├── test_autoreport.py ├── test_big_image_media_handling.py ├── test_bugfix.py ├── test_default_image_max_pixels.py ├── test_expand_content.py ├── test_exports.py ├── test_fixtures_valid.py ├── test_formpack_attachments.py ├── test_formpack_internals.py ├── test_invalid_structures.py ├── test_kobo_locking.py ├── test_replace_aliases.py ├── test_submissions.py ├── test_utils_flatten_content.py ├── test_utils_string.py ├── test_utils_xls_to_ss_structure.py └── test_validators.py └── tox.ini /.coveragerc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/.coveragerc -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/workflows/pytest-with-coveralls.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/.github/workflows/pytest-with-coveralls.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/README.rst -------------------------------------------------------------------------------- /dev-requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/dev-requirements.txt -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/setup.py -------------------------------------------------------------------------------- /src/formpack/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/__init__.py -------------------------------------------------------------------------------- /src/formpack/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/__main__.py -------------------------------------------------------------------------------- /src/formpack/b64_attachment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/b64_attachment.py -------------------------------------------------------------------------------- /src/formpack/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/constants.py -------------------------------------------------------------------------------- /src/formpack/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/errors.py -------------------------------------------------------------------------------- /src/formpack/pack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/pack.py -------------------------------------------------------------------------------- /src/formpack/reporting/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/reporting/__init__.py -------------------------------------------------------------------------------- /src/formpack/reporting/autoreport.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/reporting/autoreport.py -------------------------------------------------------------------------------- /src/formpack/reporting/export.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/reporting/export.py -------------------------------------------------------------------------------- /src/formpack/schema/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/schema/__init__.py -------------------------------------------------------------------------------- /src/formpack/schema/datadef.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/schema/datadef.py -------------------------------------------------------------------------------- /src/formpack/schema/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/schema/fields.py -------------------------------------------------------------------------------- /src/formpack/submission.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/submission.py -------------------------------------------------------------------------------- /src/formpack/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/__init__.py -------------------------------------------------------------------------------- /src/formpack/utils/array_to_xpath.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/array_to_xpath.py -------------------------------------------------------------------------------- /src/formpack/utils/bugfix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/bugfix.py -------------------------------------------------------------------------------- /src/formpack/utils/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/exceptions.py -------------------------------------------------------------------------------- /src/formpack/utils/expand_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/expand_content.py -------------------------------------------------------------------------------- /src/formpack/utils/flatten_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/flatten_content.py -------------------------------------------------------------------------------- /src/formpack/utils/geojson.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/geojson.py -------------------------------------------------------------------------------- /src/formpack/utils/iterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/iterator.py -------------------------------------------------------------------------------- /src/formpack/utils/json_hash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/json_hash.py -------------------------------------------------------------------------------- /src/formpack/utils/kobo_locking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/kobo_locking.py -------------------------------------------------------------------------------- /src/formpack/utils/ordered_collection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/ordered_collection.py -------------------------------------------------------------------------------- /src/formpack/utils/replace_aliases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/replace_aliases.py -------------------------------------------------------------------------------- /src/formpack/utils/spreadsheet_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/spreadsheet_content.py -------------------------------------------------------------------------------- /src/formpack/utils/spss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/spss.py -------------------------------------------------------------------------------- /src/formpack/utils/statistics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/statistics.py -------------------------------------------------------------------------------- /src/formpack/utils/string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/string.py -------------------------------------------------------------------------------- /src/formpack/utils/text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/text.py -------------------------------------------------------------------------------- /src/formpack/utils/xform_tools.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/xform_tools.py -------------------------------------------------------------------------------- /src/formpack/utils/xls_to_ss_structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/xls_to_ss_structure.py -------------------------------------------------------------------------------- /src/formpack/utils/xlsform_parameters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/utils/xlsform_parameters.py -------------------------------------------------------------------------------- /src/formpack/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/validators.py -------------------------------------------------------------------------------- /src/formpack/version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/src/formpack/version.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/all_geo_types/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/all_geo_types/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/all_geo_types/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/all_geo_types/v1.json -------------------------------------------------------------------------------- /tests/fixtures/all_geo_types/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/all_geo_types/v2.json -------------------------------------------------------------------------------- /tests/fixtures/analysis_form/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/analysis_form/analysis_form.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form/analysis_form.json -------------------------------------------------------------------------------- /tests/fixtures/analysis_form/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form/v1.json -------------------------------------------------------------------------------- /tests/fixtures/analysis_form/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form/v2.json -------------------------------------------------------------------------------- /tests/fixtures/analysis_form_advanced/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form_advanced/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/analysis_form_advanced/analysis_form.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form_advanced/analysis_form.json -------------------------------------------------------------------------------- /tests/fixtures/analysis_form_advanced/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form_advanced/v1.json -------------------------------------------------------------------------------- /tests/fixtures/analysis_form_repeat_groups/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form_repeat_groups/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/analysis_form_repeat_groups/analysis_form.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form_repeat_groups/analysis_form.json -------------------------------------------------------------------------------- /tests/fixtures/analysis_form_repeat_groups/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/analysis_form_repeat_groups/v1.json -------------------------------------------------------------------------------- /tests/fixtures/auto_report/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/auto_report/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/auto_report/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/auto_report/v1.json -------------------------------------------------------------------------------- /tests/fixtures/auto_report_extended_fields/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/auto_report_extended_fields/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/auto_report_extended_fields/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/auto_report_extended_fields/v1.json -------------------------------------------------------------------------------- /tests/fixtures/build_fixture.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/build_fixture.py -------------------------------------------------------------------------------- /tests/fixtures/customer_satisfaction/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/customer_satisfaction/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/customer_satisfaction/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/customer_satisfaction/v1.json -------------------------------------------------------------------------------- /tests/fixtures/dietary_needs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/dietary_needs/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/dietary_needs/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/dietary_needs/v1.json -------------------------------------------------------------------------------- /tests/fixtures/favcolor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/favcolor/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/favcolor/xml_instances.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/favcolor/xml_instances.json -------------------------------------------------------------------------------- /tests/fixtures/favorite_coffee/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/favorite_coffee/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/favorite_coffee/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/favorite_coffee/v1.json -------------------------------------------------------------------------------- /tests/fixtures/favorite_coffee/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/favorite_coffee/v2.json -------------------------------------------------------------------------------- /tests/fixtures/field_position_with_multiple_versions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/field_position_with_multiple_versions/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/field_position_with_multiple_versions/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/field_position_with_multiple_versions/v1.json -------------------------------------------------------------------------------- /tests/fixtures/field_position_with_multiple_versions/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/field_position_with_multiple_versions/v2.json -------------------------------------------------------------------------------- /tests/fixtures/field_position_with_multiple_versions/v3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/field_position_with_multiple_versions/v3.json -------------------------------------------------------------------------------- /tests/fixtures/fields_for_versions_list_index_out_of_range/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/fields_for_versions_list_index_out_of_range/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/fields_for_versions_list_index_out_of_range/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/fields_for_versions_list_index_out_of_range/v1.json -------------------------------------------------------------------------------- /tests/fixtures/fields_for_versions_list_index_out_of_range/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/fields_for_versions_list_index_out_of_range/v2.json -------------------------------------------------------------------------------- /tests/fixtures/geojson_and_selects/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/geojson_and_selects/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/geojson_and_selects/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/geojson_and_selects/v1.json -------------------------------------------------------------------------------- /tests/fixtures/grouped_questions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/grouped_questions/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/grouped_repeatable/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/grouped_repeatable/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/grouped_repeatable/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/grouped_repeatable/v1.json -------------------------------------------------------------------------------- /tests/fixtures/grouped_repeatable_alias/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/grouped_repeatable_alias/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/grouped_repeatable_alias/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/grouped_repeatable_alias/v1.json -------------------------------------------------------------------------------- /tests/fixtures/grouped_translated/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/grouped_translated/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/grouped_translated/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/grouped_translated/v1.json -------------------------------------------------------------------------------- /tests/fixtures/hxl_grouped_repeatable/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/hxl_grouped_repeatable/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/hxl_grouped_repeatable/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/hxl_grouped_repeatable/v1.json -------------------------------------------------------------------------------- /tests/fixtures/literacy_test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/literacy_test/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/literacy_test/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/literacy_test/v1.json -------------------------------------------------------------------------------- /tests/fixtures/load_fixture_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/load_fixture_json.py -------------------------------------------------------------------------------- /tests/fixtures/long_names/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/long_names/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/long_names/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/long_names/v1.json -------------------------------------------------------------------------------- /tests/fixtures/long_unicode_labels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/long_unicode_labels/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/long_unicode_labels/long unicode labels to test SPSS export - English - SPSS labels.sps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/long_unicode_labels/long unicode labels to test SPSS export - English - SPSS labels.sps -------------------------------------------------------------------------------- /tests/fixtures/long_unicode_labels/long unicode labels to test SPSS export - Français - SPSS labels.sps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/long_unicode_labels/long unicode labels to test SPSS export - Français - SPSS labels.sps -------------------------------------------------------------------------------- /tests/fixtures/long_unicode_labels/long unicode labels to test SPSS export - Swahili - SPSS labels.sps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/long_unicode_labels/long unicode labels to test SPSS export - Swahili - SPSS labels.sps -------------------------------------------------------------------------------- /tests/fixtures/long_unicode_labels/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/long_unicode_labels/v1.json -------------------------------------------------------------------------------- /tests/fixtures/media_types/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/media_types/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/media_types/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/media_types/v1.json -------------------------------------------------------------------------------- /tests/fixtures/nested_grouped_repeatable/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/nested_grouped_repeatable/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/nested_grouped_repeatable/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/nested_grouped_repeatable/v1.json -------------------------------------------------------------------------------- /tests/fixtures/nested_grouped_repeatable/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/nested_grouped_repeatable/v2.json -------------------------------------------------------------------------------- /tests/fixtures/or_other/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/or_other/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/or_other/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/or_other/v1.json -------------------------------------------------------------------------------- /tests/fixtures/quotes_newlines_and_long_urls/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/quotes_newlines_and_long_urls/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/restaurant_photo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_photo/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/restaurant_photo/images.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_photo/images.json -------------------------------------------------------------------------------- /tests/fixtures/restaurant_photo/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_photo/index.html -------------------------------------------------------------------------------- /tests/fixtures/restaurant_photo/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_photo/v1.json -------------------------------------------------------------------------------- /tests/fixtures/restaurant_profile/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_profile/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/restaurant_profile/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_profile/v1.json -------------------------------------------------------------------------------- /tests/fixtures/restaurant_profile/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_profile/v2.json -------------------------------------------------------------------------------- /tests/fixtures/restaurant_profile/v3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_profile/v3.json -------------------------------------------------------------------------------- /tests/fixtures/restaurant_profile/v4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/restaurant_profile/v4.json -------------------------------------------------------------------------------- /tests/fixtures/sanitation_report/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/sanitation_report/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/sanitation_report/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/sanitation_report/v1.json -------------------------------------------------------------------------------- /tests/fixtures/sanitation_report_external/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/sanitation_report_external/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/sanitation_report_external/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/sanitation_report_external/v1.json -------------------------------------------------------------------------------- /tests/fixtures/select_one_from_previous_answers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/select_one_from_previous_answers/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/select_one_from_previous_answers/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/select_one_from_previous_answers/v1.json -------------------------------------------------------------------------------- /tests/fixtures/select_one_legacy/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/select_one_legacy/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/select_one_legacy/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/select_one_legacy/v1.json -------------------------------------------------------------------------------- /tests/fixtures/selectone_to_multiple/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/selectone_to_multiple/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/selectone_to_multiple/submissions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/selectone_to_multiple/submissions.json -------------------------------------------------------------------------------- /tests/fixtures/selectone_to_multiple/v1_normal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/selectone_to_multiple/v1_normal.json -------------------------------------------------------------------------------- /tests/fixtures/selectone_to_multiple/v2_selectone.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/selectone_to_multiple/v2_selectone.json -------------------------------------------------------------------------------- /tests/fixtures/selectone_to_multiple/v3_selectmultiple.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/selectone_to_multiple/v3_selectmultiple.json -------------------------------------------------------------------------------- /tests/fixtures/simple_nested_grouped_repeatable/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/simple_nested_grouped_repeatable/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/simple_nested_grouped_repeatable/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/simple_nested_grouped_repeatable/v1.json -------------------------------------------------------------------------------- /tests/fixtures/simple_nested_grouped_repeatable/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/simple_nested_grouped_repeatable/v2.json -------------------------------------------------------------------------------- /tests/fixtures/simplest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/simplest/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/simplest/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/simplest/v1.json -------------------------------------------------------------------------------- /tests/fixtures/site_inspection/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/site_inspection/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/site_inspection/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/site_inspection/v1.json -------------------------------------------------------------------------------- /tests/fixtures/site_inspection/v2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/site_inspection/v2.json -------------------------------------------------------------------------------- /tests/fixtures/site_inspection/v3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/site_inspection/v3.json -------------------------------------------------------------------------------- /tests/fixtures/site_inspection/v4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/site_inspection/v4.json -------------------------------------------------------------------------------- /tests/fixtures/site_inspection/v5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/site_inspection/v5.json -------------------------------------------------------------------------------- /tests/fixtures/site_inspection/v6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/site_inspection/v6.json -------------------------------------------------------------------------------- /tests/fixtures/translations_labels_mismatch/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/translations_labels_mismatch/__init__.py -------------------------------------------------------------------------------- /tests/fixtures/translations_labels_mismatch/v1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/translations_labels_mismatch/v1.json -------------------------------------------------------------------------------- /tests/fixtures/xlsforms/library-locking-example.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/xlsforms/library-locking-example.xls -------------------------------------------------------------------------------- /tests/fixtures/xlsforms/library-locking-example.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/fixtures/xlsforms/library-locking-example.xlsx -------------------------------------------------------------------------------- /tests/test_additional_field_exports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_additional_field_exports.py -------------------------------------------------------------------------------- /tests/test_array_to_xpath.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_array_to_xpath.py -------------------------------------------------------------------------------- /tests/test_autoreport.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_autoreport.py -------------------------------------------------------------------------------- /tests/test_big_image_media_handling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_big_image_media_handling.py -------------------------------------------------------------------------------- /tests/test_bugfix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_bugfix.py -------------------------------------------------------------------------------- /tests/test_default_image_max_pixels.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_default_image_max_pixels.py -------------------------------------------------------------------------------- /tests/test_expand_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_expand_content.py -------------------------------------------------------------------------------- /tests/test_exports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_exports.py -------------------------------------------------------------------------------- /tests/test_fixtures_valid.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_fixtures_valid.py -------------------------------------------------------------------------------- /tests/test_formpack_attachments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_formpack_attachments.py -------------------------------------------------------------------------------- /tests/test_formpack_internals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_formpack_internals.py -------------------------------------------------------------------------------- /tests/test_invalid_structures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_invalid_structures.py -------------------------------------------------------------------------------- /tests/test_kobo_locking.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_kobo_locking.py -------------------------------------------------------------------------------- /tests/test_replace_aliases.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_replace_aliases.py -------------------------------------------------------------------------------- /tests/test_submissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_submissions.py -------------------------------------------------------------------------------- /tests/test_utils_flatten_content.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_utils_flatten_content.py -------------------------------------------------------------------------------- /tests/test_utils_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_utils_string.py -------------------------------------------------------------------------------- /tests/test_utils_xls_to_ss_structure.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_utils_xls_to_ss_structure.py -------------------------------------------------------------------------------- /tests/test_validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tests/test_validators.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kobotoolbox/formpack/HEAD/tox.ini --------------------------------------------------------------------------------