cvfe package#

Subpackages#

Submodules#

cvfe.main module#

Module contents#

cvfe.adobe_xfa_processor(src_dir)#

Converts a directory of 5257E and 5645E Canada visa forms to python dict

Note

The structure of the src_dir must be:

some/path/
└── src_dir

├── 5257.pdf └── 5645.pdf

Note

For more information about the details of implementation, please see other modules such as:

Note

If you are using the API endpoints, you can find this function on /cvfe/v1/convert/adobe_xfa

Parameters:

src_dir (Path) – The path to the directory containing a set of 5257E and 5645E forms. This forms must be the official forms (Adobe protected). Also, the files must contain 5257 or 5645 in their name to be recognized.

Returns:

A dictionary where keys are the fields on the form and values are the values non-transformed from the fields of the forms.

Return type:

dict[str, Any]