3 ms·
If you use SQL, check out http://github.com/dergachev/csv2sqlite http://github.com/dergachev/csv2sqlite Its a little ruby script that in 1 command takes one or
by dergachev 13y ago
If you use SQL, check out http://github.com/dergachev/csv2sqlite http://github.com/dergachev/csv2sqlite
Its a little ruby script that in 1 command takes one or several CSV files, parses their structure into simplistic sqlite table definitions, and then creates a new sqlite database file populated with structure and data from these CSVs.
- eli 13y agoHey neat. A csv2sqlite script is one of the first things I wrote in Python: https://github.com/elidickinson/csv-tools https://github.com/elidickinson/csv-tools It's a terrible hack, but I actually still use it pretty frequently.