The .csv.gz format is the simplest and most universal. It's also the smallest on disk. The comparison of saved/reloaded dataframe shows no difference. The ctime_raw column caused serialization problems, so only ctime (in iso-8601 format) is used.
qldbtools
qldbtools is a Python package for working with CodeQL databases
Installation
-
Set up the virtual environment and install tools
cd ~/work-gh/mrva/mrvacommander/client/qldbtools/ python3.11 -m venv venv source venv/bin/activate pip install --upgrade pip # From requirements.txt pip install -r requirements.txt # Or explicitly pip install jupyterlab pandas ipython pip install lckr-jupyterlab-variableinspector -
Run jupyterlab
cd ~/work-gh/mrva/mrvacommander/client source venv/bin/activate jupyter lab &The variable inspector is a right-click on an open console or notebook.
The
jupytercommand produces output includingJupyter Server 2.14.1 is running at: http://127.0.0.1:8888/lab?token=4c91308819786fe00a33b76e60f3321840283486457516a1Use this to connect multiple front ends
-
Local development
cd ~/work-gh/mrva/mrvacommander/client/qldbtools pip install -e . -
Full installation
pip install qldbtools
Usage
import qldbtools as ql