See GitHub - dcmoura/spyql: Query data on the command line with SQL-like SELECTs powered by Python expressions