See the project README for what flowlens does.
import flowlens
result = flowlens.extract("capture.pcap")
result.features # (n_flows, 56) float64, NumPy adopted the C++ buffer
result.to_torch() # same memory again, no copy
result.to_pandas() # identity columns joined on (this one does copy)cmake -S .. -B ../build-py -DFLOWLENS_BUILD_PYTHON=ON -DCMAKE_BUILD_TYPE=Release
cmake --build ../build-py
pip install -e .
pytestThe extension lands in flowlens/ during the CMake build, so it must be built
before installing.