Want to run SQL on a CSV file? by Alex Kessinger on Feb 19 2014 Now you can with q, a Python lib. q allows performing SQL-like statements on tabular text data. It seems this idea isn't restricted to Python either. TextQL is a project written in Go that promises to do roughly the same thing.