reqtable
Offline-Anforderungstabelle und Diff-Berichtsgenerator.
Downloads & Community-Verbreitung
Gesundheits- & Engineering-Analyse (5 Säulen)
1. Governance & Community50 / 200 ▾
2. PEP-Metadaten & Paketierung200 / 200 ▾
3. Sicherheit & Lieferkette150 / 200 ▾
4. Dokumentation, SEO & Ökosystem105 / 200 ▾
5. Engineering, CI & Qualität130 / 200 ▾
Offizielle Dokumentation & Nutzungsleitfaden — reqtable
Vollständige Originaldokumentation anzeigen (Englisches README) ▾
Requirements Table Generator
reqtable turns a requirements CSV (or Excel workbook) into an interactive, self-contained HTML report. It can also compare two CSV snapshots and show line- and word-level changes in unified or side-by-side views. Tables support sorting, per-column filters, column visibility, drag resizing, and divider double-click auto-sizing.
The generator uses only the Python standard library. Generated reports contain all CSS, JavaScript, data, and review comments in one file and work offline.
Install
Python 3.10 or later is required. The HTML report targets current versions of Chrome, Edge, Firefox, and Safari.
Install the reqtable command with uv:
uv tool install git+https://github.com/patrick984/reqtable
Then run reqtable from any folder. Upgrade with uv tool upgrade reqtable.
Or build a single-file program from a checkout:
python build.py
The build writes dist/reqtable.pyz.
The examples here and in docs/ write python reqtable.pyz for short. With the installed command, run reqtable instead (reqtable requirements.csv --id-column ID -o requirements.html). With the single-file build, use dist/reqtable.pyz, or copy it next to your CSV.
Quick start
If you would rather not type commands, start the point-and-click GUI:
python reqtable.pyz --gui
Snapshot report:
python reqtable.pyz requirements.csv --id-column ID -o requirements.html
Editable Develop report:
python reqtable.pyz requirements.csv --id-column ID \
--document-mode develop -o requirements-develop.html
Diff report:
python reqtable.pyz --old requirements-old.csv --new requirements-new.csv \
--id-column ID -o requirements-diff.html
Extract comments from a reviewed report:
python reqtable.pyz --extract-comments requirements-reviewed-PN.html \
--id-column ID -o requirements-reviewed.csv
Use --csv-base union when extracting a diff report if comments on removed requirements must be retained.
Documentation
- Point-and-click GUI: run every task from a browser form instead of the command line.
- Review and Develop modes: the two report modes, saving, handing off for review, and review comments.
- Read from Excel: import workbooks, repair untidy rows, and combine several tables with a saved mapping.
- Configuration: the JSON settings file.
- Keyboard use: shortcuts, editing, selection, and requirement quality checks.
- Use as a Git diff tool: compare reports in
git difftool, or against a git tag or commit. - Traceability:
- Systems and traceability pilot: systems, links, needs and sources.
- Project glossary
- Allowed values
- Tests and verification
- Gates, baselines and sign-off: freeze baselines, check gate readiness, waivers, review packages, sign-off and change control.
- Build and test: for contributors.
- Design and planning: the generator spec, the baselines and traceability proposals, the UAT checklist and the TODO list.