Skip to main content

Installation

From PyPI (prebuilt wheels for Linux x86_64/aarch64 and macOS, any Python >= 3.10, no compiler needed). On Windows, use WSL; see ../README.md.

pip install indiflight_log_tools            # add [rerun] for bfl2rerun

From the git repo (compiles the C decoder, so needs gcc/clang):

pip install "git+https://github.com/tudelft/indiflight#subdirectory=support/LogAnalysis/indiflight_log_tools"

From a local checkout (-e for development):

pip install -e support/LogAnalysis/indiflight_log_tools

Test it

cd ~/    # or anywhere else, but not the source folder
python -c "from indiflight_log_tools import IndiflightLog; print(IndiflightLog.LIBRARY_SO)"

Releasing

Bump version in pyproject.toml, then push a tag log-tools-v<version>. .github/workflows/log-tools-wheels.yml builds the wheels and uploads them to PyPI.

Usage

from indiflight_log_tools import IndiflightLog

log = IndiflightLog("/path/to/log.bfl", logId=3)                                  # if multiple logs in the same logfile, use this to select the one you want. default 1
log = IndiflightLog("/path/to/log.bfl", resetTime=False)                          # resetTime maintains the flight controller time as the time basis in the dataframe (default True)
log = IndiflightLog("/path/to/log.bfl", resetTime=False, timeRange=(1000, 3000))  # crop the data to timeRange (given in ms)

log.raw                                                                           # pandas dataframe in raw units
log.data                                                                          # pandas dataframe in SI units
log.modeToText(log.data["flightModeFlags"])                                       # convert flight mode flag(s) into human-readable format
log.flags                                                                         # flight mode changes with timestamp
[(t, log.modeToText(x), log.modeToText(y)) for t, x, y in zip(log.flags["timeUs"], log.flags["enable"], log.flags["disable"])] # flight mode changes in human readable format

log.outputCsv("raw")                                                              # output raw data as csv, comparable to outputting from BB log explorer
log.outputCsv("si")                                                               # output SI data as csv
log.outputCsv("si", path="my/path/for/logOutput/")                                # output SI data into a specific path

log.addToRerun(name="BFL", clockOffsetSeconds=0.)                                 # send data Rerun (does not do init, connect, etc. just adding data)

There are also command line tools you can use after installing the wheel:

$ bfl2csv --help     # shorthand for the log.outputCsv() above
$ bfl2rerun --help   # shorthand for the log.addToRerun() above

Metadata

Release files for indiflight-log-tools 0.3.1

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

Source distribution (sdist)

Source distribution for indiflight-log-tools 0.3.1
File Size Uploaded Provenance Actions
indiflight_log_tools-0.3.1.tar.gz 53.2 kB With provenance Details for indiflight_log_tools-0.3.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for indiflight-log-tools 0.3.1
File Actions
indiflight_log_tools-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for indiflight_log_tools-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
indiflight_log_tools-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for indiflight_log_tools-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
indiflight_log_tools-0.3.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for indiflight_log_tools-0.3.1-py3-none-macosx_11_0_arm64.whl
indiflight_log_tools-0.3.1-py3-none-macosx_10_13_x86_64.whl Python 3 none macOS 10.13+ x86-64 Details for indiflight_log_tools-0.3.1-py3-none-macosx_10_13_x86_64.whl

Total release size: 377.0 kB

Release files / indiflight_log_tools-0.3.1.tar.gz

Download URL indiflight_log_tools-0.3.1.tar.gz
Size 53.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a736fe4767e6925b3b64b8ff53743607c1bfbfd3e22fe6c209e9f529491deea1
BLAKE2b-256 checksum
How to use checksums
9956a07b3d1311b1fe02ebf84fa8c1d322cbe8032bccc7087cc219906d8fde47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / indiflight_log_tools-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl

Download URL indiflight_log_tools-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_28_x86_64.whl
Size 113.7 kB
Tags Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
de6cb3f25d48655eea3a8265a6d3f26c44cf4bce7d90ee1248a04bc7ca4fbf8b
BLAKE2b-256 checksum
How to use checksums
6015bbe3a685f62374dc4c32d2db85147a7f9d61961bd9db2862dcc2adc9f703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / indiflight_log_tools-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl

Download URL indiflight_log_tools-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.manylinux_2_28_aarch64.whl
Size 116.1 kB
Tags Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f169191a5e3384c7ff1cd673b1c0b5c80b3d23ae19354a8b32748f30ddab19f3
BLAKE2b-256 checksum
How to use checksums
0ef4299638952400d0fb967727bdc6087ff43b1f699c0470f000a27a06552e22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / indiflight_log_tools-0.3.1-py3-none-macosx_11_0_arm64.whl

Download URL indiflight_log_tools-0.3.1-py3-none-macosx_11_0_arm64.whl
Size 47.2 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
41083b5ed987d7d253f8ffeee2f93e90fd9553f47ca4a8545895975807399df4
BLAKE2b-256 checksum
How to use checksums
f2a6dfee46a5070d15102a4553501492f7bf2a856feb2f872b85ef06704fe9ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Release files / indiflight_log_tools-0.3.1-py3-none-macosx_10_13_x86_64.whl

Download URL indiflight_log_tools-0.3.1-py3-none-macosx_10_13_x86_64.whl
Size 46.8 kB
Tags Python 3 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
a22d59432b56df5e4532cb56a5d071dfe4d6a6513e7f24d15572ce19ea388f8c
BLAKE2b-256 checksum
How to use checksums
a8e7a1914345f313e681b7db16b8e3924663af53676de80cbd45b1c7d3d6e07f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Security for indiflight-log-tools 0.3.1

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.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for indiflight_log_tools-0.3.1.tar.gz

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 Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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