Skip to content

pydjirecord

Python parser for DJI drone flight log files (.txt binary format).

Supports all log format versions 1 through 14, including XOR encoding (v7–12) and AES-256-CBC encryption (v13–14) with per-feature-point keys fetched from the DJI API.

Quick start

pip install pydjirecord
from pydjirecord import DJILog

log = DJILog.from_bytes(open("flight.txt", "rb").read())
print(log.details.aircraft_name, log.details.total_distance)

See the Installation guide for more options and the Library usage guide for detailed examples.

CLI

djirecord flight.txt --json -o flight.json --api-key YOUR_KEY

See CLI usage for all export formats.