csvql is an easy to use, open source command line tool to work with CSV files
csvql has no requirements or dependencies other than Python 3
- Import one or more CSV files into an SQLite database as tables
- Query and modify the data using SQL
- Export CSV files from the results of SQL queries
- Optionally export data in JSON format
You can install, upgrade, and uninstall csvql.py
with these commands:
$ pip3 install csvql
$ pip3 install --upgrade csvql
$ pip3 uninstall csvql
To get help use:
$ csvql -h
See examples
folder for common and advanced use cases