Skip to main content

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.

Metadata

Release files for flyfield 2026.4.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flyfield 2026.4.13
File Size Uploaded
flyfield-2026.4.13.tar.gz 26.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flyfield 2026.4.13
File Interpreter ABI Platform
flyfield-2026.4.13-py3-none-any.whl Python 3 none any Details

Total release size: 57.9 kB

Release files / flyfield-2026.4.13.tar.gz

Download URL flyfield-2026.4.13.tar.gz
Size 26.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8cb701ba3d306d57b3efb2460019bec307ec8726bdab226a248168bf8aaa7730
BLAKE2b-256 checksum
How to use checksums
84698cb2a55f6880ef5bf7e5b298c1bdff954e877a78ca100784a11cf02abde0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release files / flyfield-2026.4.13-py3-none-any.whl

Download URL flyfield-2026.4.13-py3-none-any.whl
Size 31.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6508914842873fb10ddd38b9a220933d24cde4aeddeedc27fe87c239d89fd4d2
BLAKE2b-256 checksum
How to use checksums
f828324e91593f7848b6355a623d89b18324f4de6ba88774af581bc67270396a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Apr 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2026.4.13 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page