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

Available on PyPI for easy installation and updates.

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 or FDF file
  • --capture Export filled form data to CSV
  • --input-csv Load field data from a CSV instead of extracting
  • --fdf Use with --capture for FDF format
  • --debug Show detailed processing logs

Example workflow:

flyfield --input-pdf form.pdf --markup --fields  
flyfield --input-pdf form-fields.pdf --fill form-fill.csv  
flyfield --input-pdf form-filled.pdf --input-csv form.csv --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.13.tar.gz (26.7 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.13-py3-none-any.whl (31.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: flyfield-2026.4.13.tar.gz
  • Upload date:
  • Size: 26.7 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.13.tar.gz
Algorithm Hash digest
SHA256 8cb701ba3d306d57b3efb2460019bec307ec8726bdab226a248168bf8aaa7730
MD5 81ae456bfc2095334f86fd1c95b7f408
BLAKE2b-256 84698cb2a55f6880ef5bf7e5b298c1bdff954e877a78ca100784a11cf02abde0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: flyfield-2026.4.13-py3-none-any.whl
  • Upload date:
  • Size: 31.2 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 6508914842873fb10ddd38b9a220933d24cde4aeddeedc27fe87c239d89fd4d2
MD5 0894422b2a5262f5c9b4d03b4c9fdad9
BLAKE2b-256 f828324e91593f7848b6355a623d89b18324f4de6ba88774af581bc67270396a

See more details on using hashes here.

Provenance

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