Skip to content

Klauxion/python-mapping-tools

Repository files navigation

Formulario PDF Python Tools

This repository contains optional Python utilities used to analyze PDF templates and generate field-coordinate mappings.

These scripts are not required to run the main web app. The production app runs with PHP only.

Included tools

  • extract_pdf_fields.py - extracts text and positions from a PDF.
  • analyze_pdf_layout.py - inspects overall layout and spacing.
  • create_pdf_mapping.py - builds coordinate mapping outputs.
  • auto_extract_pdf.py - automated extraction helper.
  • fix_pdf.py and fix_script.py - local utility/fix scripts used during setup.
  • scripts/fill_pdf_template.py - template-filling helper script.

Data files

  • pdf_field_mapping.json
  • pdf_coordinate_mapping.json

Requirements

  • Python 3.10+ recommended
  • Install dependencies:
python -m pip install -r requirements-optional.txt

Typical usage

Run scripts from the repository root:

python .\extract_pdf_fields.py
python .\analyze_pdf_layout.py
python .\create_pdf_mapping.py

Keep this repository as your analysis/calibration workspace for future PDF updates.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages