Skip to main content

gaeb-cli

Kommandozeilen-Tool zum Lesen, Anzeigen, Konvertieren und Vergleichen von GAEB-Dateien (AVA – Ausschreibung, Vergabe, Abrechnung im deutschen Bauwesen).

Basiert auf der gaeb-Bibliothek.

Installation

pip install gaeb-cli

# Mit Excel-Export
pip install gaeb-cli "gaeb[excel]"

Befehle

gaeb info – Metadaten anzeigen

gaeb info ausschreibung.d83
gaeb info ausschreibung.x83         # zeigt xml_version
gaeb info ausschreibung.d83 --encoding cp1252

Gibt Dateiname, Format (inkl. DA XML-Version), Phase, LV-Titel, Projekt, Auftraggeber, Anzahl Positionen und Gesamtsumme aus.

gaeb show – Positionen als Tabelle

gaeb show ausschreibung.d83
gaeb show ausschreibung.d83 --langtext      # mit Langtext
gaeb show ausschreibung.d83 --encoding cp850

gaeb struktur – Titelhierarchie

gaeb struktur ausschreibung.d83

Gibt die Gliederung des LV als Baum aus (Titel und Untertitel).

gaeb convert – Konvertieren

# GAEB 90 → GAEB DA XML
gaeb convert ausschreibung.d83 ausschreibung.x83

# GAEB DA XML → GAEB 2000
gaeb convert ausschreibung.x83 ausschreibung.p83

# → Excel
gaeb convert ausschreibung.x83 ausgabe.xlsx

# Phase wechseln
gaeb convert anfrage.d83 angebot.d84

# Phase explizit angeben
gaeb convert ausschreibung.d83 ausgabe.x84 --phase 84

# Encoding angeben (nur GAEB 90 / GAEB 2000)
gaeb convert quelle.d83 ziel.d83 --lese-encoding cp1252 --schreib-encoding cp850

Zielformat wird aus der Dateiendung abgeleitet:

Endung Format
.d8x, .d87–.d89 GAEB 90
.p8x GAEB 2000
.x31, .x50–.x52, .x8x, .x93–.x97 GAEB DA XML
.xlsx Excel

gaeb export – Excel-Export

gaeb export ausschreibung.x83 ausgabe.xlsx
gaeb export ausschreibung.d83 ausgabe.xlsx --langtext
gaeb export ausschreibung.d83 ausgabe.xlsx --encoding cp850

Exportiert ein LV als strukturierte Excel-Datei mit Deckblatt und Positionstabelle. Erfordert pip install gaeb[excel].

gaeb diff – Zwei LVs vergleichen

gaeb diff ausschreibung.x83 angebot.x84
gaeb diff alt.d83 neu.d83 --encoding cp850

Zeigt gelöschte, neue und geänderte Positionen mit Feldvergleich und finanzieller Zusammenfassung.

gaeb validate – XSD-Validierung

gaeb validate ausschreibung.x83
gaeb validate ausschreibung.x83 --phase 83

Validiert eine GAEB-DA-XML-Datei gegen das offizielle XSD-Schema.

Hinweis: Die XSD-Schemas müssen separat heruntergeladen werden. Siehe gaeb/schemas/README.md.

Unterstützte Phasen

Bereich Codes
Mengenermittlung 31
Kostenermittlung 50, 51, 52
Vergabe (Procurement) 80–89, 83Z, 84Z, 86ZR, 86ZE
Handel / Handwerk 93–97

Lizenz

MIT – siehe LICENSE

Release files for gaeb-cli 0.5.4

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

Source distribution (sdist)

Source distribution for gaeb-cli 0.5.4
File Size Uploaded
gaeb_cli-0.5.4.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gaeb-cli 0.5.4
File Interpreter ABI Platform
gaeb_cli-0.5.4-py3-none-any.whl Python 3 none any Details

Total release size: 14.0 kB

Release files / gaeb_cli-0.5.4.tar.gz

Download URL gaeb_cli-0.5.4.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4ced0794ad78f455e6df268f1de66af4f79df2649dabba9ca07705c5cb30ba3e
BLAKE2b-256 checksum
How to use checksums
6814aacdd49fa02c5edaba9c79048cab8e3f90d42b5d386ea8a5372c5bfb0e32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 27, 2026.

Transparency log

Release files / gaeb_cli-0.5.4-py3-none-any.whl

Download URL gaeb_cli-0.5.4-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
96c9f0715b8478fb41b7476856efa4a213b06697a1b2a3c0fab8d075e9c453c4
BLAKE2b-256 checksum
How to use checksums
af4f0ba0fbbef583ce91e70635fc978fa4078db7cb78e75efaec13e1c502d79d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 27, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.4 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