Skip to content
Novus Examples
pdf2.5 KB

Airline Boarding Pass (PDF)

An airline boarding pass laid out as a landscape PDF — passenger, flight, gate, seat, PNR, and a decorative barcode strip. A fixture for testing document-layout parsing and field extraction. Synthetic; the barcode is decorative.

Rendered preview of Airline Boarding Pass (PDF)

Rendered preview of the pdf file (2.5 KB). Download above for the original.

Specifications

Pages
1
Size
200x90 mm
Note
decorative barcode (not scannable); synthetic

What is a .pdf file?

PDF (Portable Document Format) is a page-oriented document format that preserves fixed layout, fonts, vector and raster graphics, and text across platforms. It can also embed forms, annotations, attachments, and digital signatures. It is the de facto standard for finished, print-ready documents.

How to use this file

Use an example PDF to test text extraction, rendering, page-count and metadata parsing, form-field handling, and conversion or OCR pipelines.

Code examples

import pdfplumber  # pip install pdfplumber

with pdfplumber.open("boarding-pass.pdf") as pdf:
    print(len(pdf.pages), "pages")
    print(pdf.pages[0].extract_text())

Generated by generation/docs_realworld.py. Free for any use, no attribution required — license.