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.8.tar.gz (23.9 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.8-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flyfield-2026.4.8.tar.gz
  • Upload date:
  • Size: 23.9 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.8.tar.gz
Algorithm Hash digest
SHA256 15a4a25e7b5c92634e30f5ca0e053bd35bb7aacf297e18f38b051cbab0d9ff5e
MD5 b6365844a530009b4e5a7629a26df053
BLAKE2b-256 8130294d0581e50d43f1129bc286bc60c1cf3fbe9f6c93549e773c7a44c9d86e

See more details on using hashes here.

Provenance

The following attestation bundles were made for flyfield-2026.4.8.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.8-py3-none-any.whl.

File metadata

  • Download URL: flyfield-2026.4.8-py3-none-any.whl
  • Upload date:
  • Size: 28.0 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 6e5dc15d7cca878fd37517abb17ae922a9b1b25d787e1c5ffaa343aa8cb894ac
MD5 97afbba2909f94a3b5febe837d9c3f07
BLAKE2b-256 220bcf303020a384dcdd0a0c210e6b32bb7a7cec688fd6592e4647e391d4a332

See more details on using hashes here.

Provenance

The following attestation bundles were made for flyfield-2026.4.8-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