Skip to main content

Tools for extracting, processing, and generating interactive fields for PDFs containing white box fields.

Project description

flyfield

Transform static white box PDF forms into interactive forms for fast automation.


Overview

flyfield automatically analyzes static PDF forms, creates fillable fields, marks field locations for verification, fills and extracts data, and seamlessly converts money values between PDF text and spreadsheet/database numeric formats.


Key Features

  • Generate interactive form fields and marked-up PDFs from PDF white box forms
  • Fill and export form data using CSV files
  • Seamlessly convert money values between PDF text and CSV number formats
  • Simple command-line interface for efficient workflows
  • Open source and flexible for diverse PDF automation needs

Installation

Install with pipx:

pipx install flyfield

Check version:

flyfield --version

Or install via pip:

pip install flyfield

Usage

Run commands on PDF files as needed:

flyfield --input-pdf myfile.pdf --markup

Options:

  • --markup Generate a PDF highlighting white boxes
  • --fields Add interactive form fields
  • --fill Fill form fields using data from a CSV file
  • --capture Export filled form data to CSV
  • --input-csv Load field data from a CSV instead of extracting
  • --debug Show detailed processing logs

Example workflow:

flyfield --input-pdf form.pdf --markup --fields  
flyfield --input-pdf form-fields.pdf --input-csv form.csv --fill form-fill.csv  
flyfield --input-pdf form-filled.pdf --capture  

For Developers

Clone and install development tools:

git clone https://github.com/flywire/flyfield.git  
cd flyfield  
pip install -e .[dev]  

Run tests:

tox  

Modules:

  • extract — box detection
  • layout — analyse, group and filter fields
  • markup_and_fields — generate fields and markings
  • io_utils — data I/O
  • utils — utility functions

For CLI help:

python -m flyfield.cli --help  

License

GNU GPL v3.0 or later. See LICENSE.


Contributing

Contributions welcome via issues and pull requests.


Acknowledgements

  • Powered by PyMuPDF.
  • Uses PyPDFForm.
  • Designed to simplify workflows involving white boxed PDF form fields.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flyfield-2026.4.11.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flyfield-2026.4.11-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file flyfield-2026.4.11.tar.gz.

File metadata

  • Download URL: flyfield-2026.4.11.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for flyfield-2026.4.11.tar.gz
Algorithm Hash digest
SHA256 0ca21404ccbe20c30eadc6d53a39ef9b5efadcf5885e924d3c46391238fd0615
MD5 e49a8ed92f25f6022c4b3e7f6d864841
BLAKE2b-256 a0ae3eb5aab85caa8e129ae13dd99cc0c547be684c2d8465e354e45ffb18b7e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for flyfield-2026.4.11.tar.gz:

Publisher: Create Tag & Publish Package.yml on flywire/flyfield

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flyfield-2026.4.11-py3-none-any.whl.

File metadata

  • Download URL: flyfield-2026.4.11-py3-none-any.whl
  • Upload date:
  • Size: 28.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for flyfield-2026.4.11-py3-none-any.whl
Algorithm Hash digest
SHA256 67c82b202838ecfcca9d2c3d42541381224cfee02b7e334e775467e6b39f3903
MD5 8b8c444970011f88b3593a9b61cf1c9a
BLAKE2b-256 6657c5f909ae54a027525a22401a92701a02f6033a05b92c4a27f6ab0386da93

See more details on using hashes here.

Provenance

The following attestation bundles were made for flyfield-2026.4.11-py3-none-any.whl:

Publisher: Create Tag & Publish Package.yml on flywire/flyfield

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page