OS Manuals

/usr/bin/runxlrd.py

User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

From open-webui 0.13.3-r0 (enterprise-packages), captured 2026-11-09 by running runxlrd.py --help (exit 0). permalink

Usage:
runxlrd.py [options] command [input-file-patterns]

Commands:

2rows           Print the contents of first and last row in each sheet
3rows           Print the contents of first, second and last row in each sheet
bench           Same as "show", but doesn't print -- for profiling
biff_count[1]   Print a count of each type of BIFF record in the file
biff_dump[1]    Print a dump (char and hex) of the BIFF records in the file
fonts           hdr + print a dump of all font objects
hdr             Mini-overview of file (no per-sheet information)
hotshot         Do a hotshot profile run e.g. ... -f1 hotshot bench bigfile*.xls
labels          Dump of sheet.col_label_ranges and ...row... for each sheet
name_dump       Dump of each object in book.name_obj_list
names           Print brief information for each NAME record
ov              Overview of file
profile         Like "hotshot", but uses cProfile
show            Print the contents of all rows in each sheet
version[0]      Print versions of xlrd and Python and exit
xfc             Print "XF counts" and cell-type counts -- see code for details

[0] means no file arg
[1] means only one file arg i.e. no glob.glob pattern


Options:
  -h, --help            show this help message and exit
  -l LOGFILENAME, --logfilename=LOGFILENAME
                        contains error messages
  -v VERBOSITY, --verbosity=VERBOSITY
                        level of information and diagnostics provided
  -m MMAP, --mmap=MMAP  1: use mmap; 0: don't use mmap; -1: accept heuristic
  -e ENCODING, --encoding=ENCODING
                        encoding override
  -f FORMATTING, --formatting=FORMATTING
                        0 (default): no fmt info 1: fmt info (all cells)
  -g GC, --gc=GC        0: auto gc enabled; 1: auto gc disabled, manual collect after each file;
                        2: no gc
  -s ONESHEET, --onesheet=ONESHEET
                        restrict output to this sheet (name or index)
  -u, --unnumbered      omit line numbers or offsets in biff_dump
  -d, --on-demand       load sheets on demand instead of all at once
  -t, --suppress-timing
                        don't print timings (diffs are less messy)
  -r, --ragged-rows     open_workbook(..., ragged_rows=True)
Options (12)
OptionDescriptionSource
-h, --helpshow this help message and exithelp
-l, --logfilename LOGFILENAMEcontains error messageshelp
-v, --verbosity VERBOSITYlevel of information and diagnostics providedhelp
-m, --mmap MMAP1: use mmap;help
-e, --encoding ENCODINGencoding overridehelp
-f, --formatting FORMATTING0 (default): no fmt info 1: fmt info (all cells)help
-g, --gc GC0: auto gc enabled;help
-s, --onesheet ONESHEETrestrict output to this sheet (name or index)help
-u, --unnumberedomit line numbers or offsets in biff_dumphelp
-d, --on-demandload sheets on demand instead of all at oncehelp
-t, --suppress-timingdon't print timings (diffs are less messy)help
-r, --ragged-rowsopen_workbook(..., ragged_rows=True)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.