実際のところ
$ pip install csvs-to-sqlite
公式を参考に、こんな感じのcsvを用意
$ cat sample.csv county,precinct,office,district,party,candidate,votes Clark,1,President,,REP,John R. Kasich,5 Clark,2,President,,REP,John R. Kasich,0 Clark,3,President,,REP,John R. Kasich,7
これをコマンドの第一引数、ターゲットを第二引数としてやれば、ファイル名のテーブルができます。
$ csvs-to-sqlite sample.csv base.db
GitHub - simonw/csvs-to-sqlite: Convert CSV files into a SQLite database